On Monday 02 Feb 2009 2:36:49 pm Kenneth Gonsalves wrote: > there is a directory called myapp.web.models, but that only held an > __init__.py file which was empty. In those days django required for models > in an app called web, to have a directory like > web/models/web.py and /web/views/web.py. Apparently some years back I had > changed this to the current directory structure as web/views.py and > web/models.py. But I could not understand how the site was working until I > saw on the production server a file called ~/models/web.pyc. The site had > been using this all these years which is why my new model was not noticed. > I restored the old directory structure - the site load fine now. But - in > admin, the only things that show up are are auth and core - no sign of > 'web'.
i can access the changelists etc by directly entering the url: /web/admin/web/matches/ for example. But on clicking the 'home' link, the screen for web is not shown -- regards KG http://lawgon.livejournal.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 -~----------~----~----~----~------~----~------~--~---