I am trying to organize my Django project's structure as the number of apps is growing. So I am attempting to move an app in the sub-folder that contains its model definitions. The app used to be named `<sub_folder_name>.foo` and now it will be just named `foo` in the `LOCAL_APPS` setting.
It seems straightforward to do this with the following two steps:
- Change the reference from `<sub_folder_name>.foo` to `foo` in the whole project.
- Do `mv foo ..` inside the sub-folder.
Thanks!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ac5eea7-f620-4d11-9796-3439231939f3n%40googlegroups.com.
No comments:
Post a Comment