Thanks Amyth, but that doesn't work. I delete the sqlite file that gets created with syncdb and i still get the same error. The new db file gets created with some tables in it, but no auth tables. On Sep 20, 2012 5:44 PM, "Amyth Arora" <aroras.offic...@gmail.com> wrote:
> You've changed the models after the tables were initially created. Delete > the current database and create a new one. Then ->> syncdb. > > On Thu, Sep 20, 2012 at 1:01 PM, Mario Gudelj <mario.gud...@gmail.com>wrote: > >> Hi Djangoers, >> >> I'm sure I'm missing something simple but for the life of me I can not >> figure this out. >> >> I'm trying to syncdb and I'm getting this error: >> >> File >> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", >> line 337, in execute >> return Database.Cursor.execute(self, query, params) >> django.db.utils.DatabaseError: no such table: auth_permission >> >> My installed apps in settings file: >> >> INSTALLED_APPS = ( >> 'django.contrib.auth', >> 'django.contrib.contenttypes', >> 'django.contrib.admin', >> 'django.contrib.sessions', >> 'django.contrib.sites', >> 'django.contrib.staticfiles', >> 'forms', >> ) >> >> I've tried changing the order since the docs say that permissions depend >> on contenttypes but that didn't work. >> >> Tried migration using south and it creates some migrations but then it >> gives me the same error. >> >> I'm using sqlite3. >> >> I can see that some of the tables do get created, but no auth tables. >> >> Googled for an hour and can't find anything. >> >> Any help would be greatly appreciated! >> >> -m >> >> -- >> 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. >> > > > > -- > Thanks & Regards > ---------------------------- > > Amyth [Admin - Techstricks] > Email - aroras.offic...@gmail.com, ad...@techstricks.com > Twitter - @mytharora > http://techstricks.com/ > > -- > 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.