[Sorry if this should be on django-developer instead]

r2714 of the magic-removal branch

I have models/* and not a models.py in my app directory.

#myapp/models/__init__.py
from adventure import Story
class Foo(models.Model):
    pass

'manage.py sql' produces output for Foo model but not Story model.  If I
copy Story to __init__.py or move everything to models.py output is
produced correctly.

Is this intended?


btw my version, 5.0, of MySQL doesn't grok the update core database
tables to magic_removal sql found here
http://code.djangoproject.com/wiki/RemovingTheMagic#Newfunctionalityyoucanstartusing

  ALTER TABLE django_content_type rename package to app_label;
  ALTER TABLE django_content_type rename python_module_name to model;

change to something like:

  ALTER TABLE django_content_type change package app_label varchar(100)
not null;
  ALTER TABLE django_content_type change python_module_name model
varchar(100) not null;

-- 
norm
Happy Prickle-Prickle, 3172 Discord 36

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