Benedict Verheyen wrote:
<snip>
> When i do python manage.py syncdb i don't see anything written to the
> db. The permission is also not visible from within the users part of the
> admin site.

I found out that the syncdb command didn't work. I deleted a table and
after i did the syncdb, the table wasn't created.

It's because i've put the models.py file in a subdirectory. Because it
doesn't live in the applications main directory, it's not detected.
When i move the models.py file out of that subdirectory, the table is
created again and the permissions are added.

Now i need to find out how i can make the syndb command aware of the
models in that subdirectory. Can i trigger this from the __init__.py
file that lives in the main application directory?

Regards,
Benedict




--~--~---------~--~----~------------~-------~--~----~
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