Skip to content
This repository

This app allow you to create your own custom django project structure, and then use it as you please

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 dist
Octocat-spinner-32 django_structurer
Octocat-spinner-32 docs
Octocat-spinner-32 etc
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 README.rst

Django Structurer


The purpose of this app is to enable some custom script for and for that creates a different folder structure for Django. This structure what I thought of a good one for projects that I'm working, and that possibly you are working too.


For now you can use the command that lets you create a new project using the default structure or your own custom structure. You can run the command to create a new project: proj projectName custom_structure

And this will create the basic project layout.

You can also run the file created with the last command to make a new app with the custom structure:

System Message: ERROR/3 (<string>, line 25)

Unexpected indentation.
python myNewApp

And this will create the basic app layout.

You can make your own custom project structure using the default structure file as a base. Since its a simple yaml file, it will be very easy for you to do it.

Env Vars:

To get the maximum usage from this app, you should set this vars in your system: export DJSTRUCT_HOME=/some/where/my_djstruct export DJSTRUCT_DEFAULT=/some/where/my_djstruct/most_used_struct.yaml

If the DJSTRUCT_HOME is set you can have custom settings like new snippets and custom structures. And if you use the same custom structure over and over, you can just set the DJSTRUCT_DEFAULT to this file so it will use it as the default.


pip install django_structurer


This software is distributed using MIT license, see LICENSE file for more details.


You can read the docs for this app here: Documentation

Something went wrong with that request. Please try again.