syncdb will not remake tables that are already made.  For that you will
have to pipe the output of:

$ python manage.py resetsql

through your database backend.  Then try restarting the server and looking
at your admin.


On Sat, Jan 28, 2012 at 10:15 PM, Alec Taylor <alec.tayl...@gmail.com>wrote:

> Going through the tutorial using the latest trunk in a virtualenv.
>
> I am getting stuck in this section:
>
> https://docs.djangoproject.com/en/dev/intro/tutorial02/#s-customize-the-admin-form
>
> No matter how I rearrange the fields (even when I remove the
> "question" field), I cannot notice any difference in the poll admin
> screens. I have tried syncdb, and restarting the server.
>
> I've looked at the index screen
> (http://localhost:9400/admin/polls/poll/), the view screen
> (http://localhost:9400/admin/polls/poll/1/) and the add screen
> (http://localhost:9400/admin/polls/poll/add/). There are no
> differences in field order/display on any of these pages.
>
> I have followed the tutorial exactly, but the fields aren't being
> rearranged.
>
> Is there a different way of rearranging admin fields in Django 1.4?
>
> Thanks for helping me get this working,
>
> Alec Taylor
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to