Implementing a SOA in Django using celery

A message queue (such as rabbitmq brokered by celery) is a perfectly fine way to handle communication between SOA components. Additionally, if you need real-time communication without sharing databases between services, REST is basically made for this. There are several options for implementing REST services on top of Django, with Tastypie and Django-Rest-Framework being popular … Read more

Django – “no module named django.core.management”

It sounds like you do not have django installed. You should check the directory produced by this command: To see if you have the django packages in there. If there’s no django folder inside of site-packages, then you do not have django installed (at least for that version of python). It is possible you have … Read more

Django: no such table: django_session

It could be that the server uses a different working directory than the manage.py command. Since you provide a relative path to the sqlite database, it is created in the working directory. Try it with an absolute path, e.g.: Remember that you have to either run ./manage.py syncdb again or copy your current database with the existing tables to /tmp. … Read more

Django – no such table exception

I solved the same problem with these steps : Delete your database (db.sqlite3 in my case) in your project directory Remove everything from __pycache__ folder under your project subdirectory For the application you are trying to fix, go to the folder and clear migrations and __pycache__ directories When you are sure you have cleared all the above files, run: I hope this … Read more