---
layout: page
title: "Testing"
category: doc
date: 2016-12-09 17:14:34
order: 3
---
If you want to test, run

~~~
$ python3 manage.py loaddata fixtures/demo.json
$ python3 manage.py runserver
~~~

You can log in with the follow users

| Username | Password    |
| -------- | ----------- |
| admin    | 123admin456 |
| arrow    | arrarrarr   |
| captain  | capcapcap   |
| hulk     | hulhulhul   |
| iron     | iroiroiro   |
| widow    | widwidwid   |

To export your changes on the database, run

~~~
$ python3 manage.py dumpdata --indent 4 fat > fixtures/demo.json
~~~

To share your changes on the database, run

~~~
$ git commit -am 'Update database'
$ git push origin master
~~~

and create a pull request.
---
layout: page
title: "Testing"
category: doc
date: 2016-12-09 17:14:34
order: 3
---
If you want to test, run

~~~
$ python3 manage.py loaddata fixtures/demo.json
$ python3 manage.py runserver
~~~

You can log in with the follow users

| Username | Password    |
| -------- | ----------- |
| admin    | 123admin456 |
| arrow    | arrarrarr   |
| captain  | capcapcap   |
| hulk     | hulhulhul   |
| iron     | iroiroiro   |
| widow    | widwidwid   |

To export your changes on the database, run

~~~
$ python3 manage.py dumpdata -e sessions -e admin -e contenttypes -e auth.Permission --indent 4 > fixtures/demo.json
~~~

To share your changes on the database, run

~~~
$ git commit -am 'Update database'
$ git push origin master
~~~

and create a pull request.

Improve docs for backup fixtures
Improve docs for backup fixtures
