So by default, Django creates apps inside the root project dir. But I moved it inside "apps".
py manage.py schemamigration ./apps/chat --initial
This doesn't work.
Instead of "chat", I put "chat" Inside another directory.
So by default, Django creates apps inside the root project dir. But I moved it inside "apps".
py manage.py schemamigration ./apps/chat --initial
This doesn't work.
Instead of "chat", I put "chat" Inside another directory.
is apps python module or just directory?
if apps python modue, add apps.chat to installed apps in settings.py
and run
if apps is just directory, so you need to add this directory to your PYTHONPATH. add these lines at near top of your manage.py
add chat to your settings.
now run
and don't forget to add south to installed apps for both.