File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1414
1515 {% block styles %}
1616 < link rel ="stylesheet " href ="{% static 'commons/css/bulma.min.css' %} ">
17- {% endblock styles %}
17+ {% endblock styles %}
1818
1919</ head >
2020< body class ="{% block body_class %}{% endblock %} has-navbar-fixed-top ">
Original file line number Diff line number Diff line change 11# /bin/bash
22
3- pg_dump --username pythoncanarias_user --dbname pythoncanarias_web --password > pythoncanarias.db
3+ # pg_dump --username pythoncanarias_user --dbname pythoncanarias_web --password > pythoncanarias.db
44
55./manage.py dumpdata about --indent 4 > exported/about.json
66./manage.py dumpdata certificates --indent 4 > exported/certificates.json
@@ -10,7 +10,7 @@ pg_dump --username pythoncanarias_user --dbname pythoncanarias_web --password >
1010./manage.py dumpdata jobs --indent 4 > exported/jobs.json
1111./manage.py dumpdata learn --indent 4 > exported/learn.json
1212./manage.py dumpdata locations --indent 4 > exported/locations.json
13- ./manage.py dumpdata members --indent 4 > exported/members.json
13+ ./manage.py dumpdata members.member members.membership --indent 4 > exported/members.json
1414./manage.py dumpdata notices --indent 4 > exported/notices.json
1515./manage.py dumpdata organizations --indent 4 > exported/organizations.json
1616./manage.py dumpdata quotes --indent 4 > exported/quotes.json
Original file line number Diff line number Diff line change 5454 python3 -V
5555 python3 -c " import django; print(django.__version__)"
5656 uptime
57+
58+ # Acceso al DBShell
59+ dbshell * args = ' default':
60+ python3 manage.py dbshell --database {{ args }}
61+
62+ # Show migrations
63+ showmigrations $ APP = ' ' * args = ' ':
64+ python3 ./ manage.py showmigrations {{ APP}} {{ args }}
65+
66+ alias sm := showmigrations
67+
68+ # Make migrations
69+ makemigrations $ APP = ' ' * args = ' ':
70+ python3 ./ manage.py makemigrations {{ APP}} {{ args }}
71+
72+ alias mm := makemigrations
73+
You can’t perform that action at this time.
0 commit comments