Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 670 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 670 Bytes

init

virtualenv2 lameform
cd lameform
source bin/activate
pip install django
git clone git@bitbucket.org:isfahanlug/lameform.git
cd lameform
python2 manage.py syncdb --noinput
python2 manage.py importdb <export.json>

run

source bin/activate
cd lameform
python2 manage.py runserver
firefox http://127.0.0.1:8000
# user/pass = admin

mergedb

# copy db1 in db location
python2 manage.py dumpdata --indent=4 lameform > export.json
# replace db2 with db1 (you don't need db1 any more)
python2 manage.py mergedb export.json
# now db1 times are in db2

tested with Python 2.7.5 and Django 1.5.4