Tuesday, November 30, 2010

Re: Weird problem after schema change

Nope, haven't defined anything interesting for admin. The field name
matches, as far as I know.

Frankly, though, given the length of time it takes for the server to
reply (owing to the huge number of entries for the m2m field), I guess
this really isn't worth fixing if it's more involved than a simple
check. Ah well.

Thanks,
Chris

On Nov 25, 7:07 pm, Venkatraman S <venka...@gmail.com> wrote:
> On Fri, Nov 26, 2010 at 6:30 AM, Chris Tandiono <chris.tandi...@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