Hi,

class CategoryAdmin(admin.ModelAdmin):
        prepopulated_fields = {'slug' : ('title', )}

Why does the format require a comma after "title'. It is still a valid tuple
without a comma, right ? Without that, I keep getting errors.

Sorry, If this was a dumb question. I am parallely doing python and django.
Atleast creating a dictionary in python did not require a comma for the
tuple

-mohan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to