80399/how-to-clear-a-database-from-the-cli-with-manage-py-in-django
Hello @kartik,
To drop the database and run syncdb again. Or you can run:
For Django >= 1.5
python manage.py flush
For Django < 1.5
python manage.py reset appname
Hope this help!!
Thank You!!
Hey, Web scraping is a technique to automatically ...READ MORE
Hello @kartik, There's an easy way, just override ...READ MORE
i have textfile now i want to ...READ MORE
Hi @Mike. First, read both the csv ...READ MORE
Hi, there is only that way and ...READ MORE
Hi all, with regard to the above ...READ MORE
Hello @kartik, To turn off foreign key constraint ...READ MORE
Hello @kartik, Let's say you have this important ...READ MORE
Hello @kartik, Python you can write your own ...READ MORE
Hello @kartik, Use linebreaks or linebreaksbr filter: {{ text|linebreaks }} Or surround the text ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.