3
$python manage.py reset 
Unknown command: 'reset'
Type 'manage.py help' for usage.

In django 1.6 whether to cancel this command parameters yet?

1

2 Answers 2

1

This one worked for me:

./manage.py sqlclear AppName | ./manage.py dbshell

Found here.

Sign up to request clarification or add additional context in comments.

Comments

0

I'm working with Django 1.6 and the previous answer didn't work for me. I've been seeking for a way to easily update my database tables, and the best way I've found 'till now is to use migrations of South.

1- Install south via pip pip install south. 2- Add south to your INSTALLED_APPS. 3- Then run python manage.py convert_to_south Appname. 4- And finally run python manage.py migrate Appname.

You'll do the three first steps only once, then all you have to do ti update your changes is step 4.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.