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.
Asked
Active
Viewed 5.5k times
4 Answers
36
Deleting the project folder is sufficient and make changes in your apache server too[if you have one].

Vivek S
- 5,384
- 8
- 51
- 72
-
6I would'nt delete it. I normally create a folder called "backup" or "old" and move the old project there. Just to be on the save side. – Jens Jul 09 '12 at 08:45
-
10Ideally you are using a revision control :) – Pierre Lacave Jul 09 '12 at 09:13
6
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.

Kunal Kumar
- 1,139
- 14
- 13
0
As @Neverbackdown said deleting folder would be sufficient, but along with that you would also want to delete database or tables.

Mukesh Yadav
- 2,256
- 2
- 33
- 51
0
Yes. Just Delete the folder. If the project is installed in your settings.py, remove it.

Samyak Singh
- 11
- 1