I think I got it.
Basically, my old file structure looked like this:

wiki (directory)
  __init.py__
  views.py
  models (directory)
    __init__.py
    wiki.py

What I did was move wiki.py into the wiki folder and rename it
models.py.  Then I deleted the models folder.  So the final result
looked like this:
wiki (directory)
  __init__.py
  models.py
  views.py

Then I made sure my setttings were ok...
INSTALLED_APPS = (
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.sites',
        'django.contrib.admin',
        '<project>.wiki',
)

Now at least, syncdb and sql work.  Inital data still refuses to be
generated the good old fashioned way.  My advice, delete all tables in
sql starting with auth_ or django_, then run syncdb.  This will clear
out all your users, but will give you a fresh new start.  (While
debugging this, I found the ALTER table sql code in the Removing the
Magic page is not complete.. there are a few fields left over and some
field lengths that are not changed when you run the ALTER table
commands).


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

Reply via email to