On 04/23/06 00:15, Richie Hindle wrote: > Hi, > > I'm porting my app from the trunk to Magic Removal. I've carried out all > the steps at http://code.djangoproject.com/wiki/RemovingTheMagic but I'm > having various problems - I imagine they're all linked to some mistake > I've made somewhere along the line: > > o When I run "manage.py runserver" I get this: > > admin.logentry: 'user' has relation with uninstalled model User > admin.logentry: 'content_type' has relation with uninstalled model > ContentType > > o When I log in as my superuser to the admin site, I get "You don't have > permission to edit anything". > > o When I run "manage.py sqlinitialdata myapp" I get the following output: > > BEGIN; > COMMIT; > > Any ideas? >
In MR 'sqlinitialdata' only fetches and prints the content of the optional per app .sql files. e.g. myproject/myapp/myapp.sql I believe "manage.py syncdb" is what you want. This will automatically install all apps you have configured in INSTALLED_APPS. Mine looks like this: INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'custom.app1', 'custom.app2', ) hth --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---