Thursday, November 25, 2010

Re: Weird problem after schema change



On Fri, Nov 26, 2010 at 6:30 AM, Chris Tandiono <chris.tandiono@gmail.com> wrote:
How can I get the date field to show up in the admin interface?

Couple of checks:
- have you defined any custom forms for admin?
- Do the field names match properly?

A good practice generally is : do a 'sqlall' before you make the change in your models.py and then again do the same after mod'ing your models.py file. Do a diff between the two output sqlall files.

$python manage.py sqlall > before.txt
$vim ...models.py
$python manage.py sqlall > after.txt

-V-

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

No comments:

Post a Comment