Try: python manage.py syncdb if you already put 'django.contrib.admin' in
your INSTALLED_APPS (settings.py file).


[]'s

Lucas Magnum.


2013/5/27 Shashwat Srivastava <[email protected]>

> The "python manage.py startapp polls" command doesnt create a admin.py
> file inside polls. I tried creating a admin.py file and running it but i
> get this error when I try to use it.
>
> DatabaseError at /admin/polls/poll/1/
>
>
> no such table: django_admin_log
>
>
>
> I think the autogenerated code wasnt generated and this is causing some 
> problems. How do I fix it?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


Reply via email to