I am trying to follow best practices which I often find in GitHub repositories: I would like to have a /src and a /test folder at the top level in a project. (random example https://github.com/bitcoin/bitcoin). I am not sure how to configure Django to accept that though.
In particular, Django is expecting tests to be inside the project folder, but ideally, these tests should be outside of /src/django_project and inside /test.
Any suggestions are greatly appreciated. Thank you so much!
project_root
|-- src
| |-- project_name
| |-- app_name
| | |-- views.py
| | |-- serializers.py
| | |-- etc...
| |-- manage.py
|-- test
|-- project_name
|-- test_feature1.py
|-- test_feature2.py
Aucun commentaire:
Enregistrer un commentaire