Reputation: 652
How can i create Django sqlite3 dump file (*.sql) using terminal?
There is a fabric fabfile.py
with certain dump scripts, but when i try to use fab
command next massage shows up:
The program 'fab' is currently not installed. To run fab please ask your administrator to install the package 'fabric'
.
But there are fabric files in /python2.7/site-packages/fabric/
.
I'm not good at Django and Python at all. The guy, who was responsible for our Django project, just left without any explanations.
In general i need to know how to create Django sqlite3 dump file (*.sql) via terminal. Help? :)
Upvotes: 0
Views: 1410
Reputation: 2474
You could also use fixtures. And generate fixtures for your app. Dependes on what you're planing to do with them.
You'll just make a loaddata after that.
Upvotes: 0