Reputation: 1428
Initially, I had a single project in Django now I want to delete the last project and start a fresh new project with the same name as the last one. How should I do so? Can deleting the project folders be sufficient.
Upvotes: 21
Views: 63469
Reputation: 1149
To delete the project you can delete the project folder. But this method is good only if you use SQLite as a database.
If you use any other database like Postgresql with Django, you need to delete the database manually.
If you are on VPS. Simply go to the folder where your project folder resides and put command rm -r projectfoldername
This should delete the folder and it's contents.
Upvotes: 6
Reputation: 11
Yes. Just Delete the folder. If the project is installed in your settings.py, remove it.
Upvotes: 0
Reputation: 2396
As @Neverbackdown said deleting folder would be sufficient, but along with that you would also want to delete database or tables.
Upvotes: 0
Reputation: 5550
Deleting the project folder is sufficient and make changes in your apache server too[if you have one].
Upvotes: 37