Re: Recovering from a server problem
Kenneth Gonsalves wrote: > On 29-Aug-06, at 6:58 AM, keukaman wrote: > > > Is there a way simple way to reestablish all of the relationships > > between apps, etc, after a server outage? > > is it possible that your .pyc files have got out of sync? Maybe you > could rm -rf the whole django tree and reinstall it? could help. Or > remove all your .pyc files - both from django and the project. > > -- > > regards > kg > http://lawgon.livejournal.com > http://nrcfosshelpline.in/web/ I removed the .pyc files and it didn't help. I'll see if I can reinstall Django. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Recovering from a server problem
On 29-Aug-06, at 6:58 AM, keukaman wrote: > Is there a way simple way to reestablish all of the relationships > between apps, etc, after a server outage? is it possible that your .pyc files have got out of sync? Maybe you could rm -rf the whole django tree and reinstall it? could help. Or remove all your .pyc files - both from django and the project. -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Recovering from a server problem
My shared hosting plan had a server problem that I'm having problems recovering from. Prior to server issues, my homepage was displaying flatpage content. Following recovery from the server problem, my homepage returns the following: ImproperlyConfigured: Error importing middleware django.contrib.flatpages.middleware: "cannot import name FlatPage" I commented out the flatpage information in settings.py and was able to get to a subdirectory called "/blog". However, after putting those lines back in, and rerunning 'syncdb', the errors returned. Finally, I commented out the flatpage info in settings.py and deleted the tables from my database. Then I added the flatpage info back. I expected the database tables to be reinserted after running syncdb, but nothing happened. One other thing - my "admin" site won't run anymore either. Is there a way simple way to reestablish all of the relationships between apps, etc, after a server outage? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---