Problem statement
The current 'MakeFile' uses unix-specific commands like-
reset-db:
rm -f db.sqlite3
python ./manage.py createcachetable
python ./manage.py migrate
python ./manage.py load_initial_data
- Make is not present by default in Windows.
- rm is a unix-specific command.
Proposed solution
The solution could include moving the actual setup and reset code to Django Management commands like-
- python manage.py dev_setup
- python manage.py dev_reset
And then updating MakeFile.
Alternative solutions
No response
Additional context
No response
Working on this
Contribute to the discussion to help this move forward. Explain your use cases, discuss possible solutions, research how to adapt existing code, or compatibility concerns.
Once others agree with the proposed changes, anyone can contribute to this. View our contributing guidelines. Add a comment to the issue to explain what approach you are taking.
Problem statement
The current 'MakeFile' uses unix-specific commands like-
reset-db:
rm -f db.sqlite3
python ./manage.py createcachetable
python ./manage.py migrate
python ./manage.py load_initial_data
Proposed solution
The solution could include moving the actual setup and reset code to Django Management commands like-
And then updating MakeFile.
Alternative solutions
No response
Additional context
No response
Working on this
Contribute to the discussion to help this move forward. Explain your use cases, discuss possible solutions, research how to adapt existing code, or compatibility concerns.
Once others agree with the proposed changes, anyone can contribute to this. View our contributing guidelines. Add a comment to the issue to explain what approach you are taking.