Skip to content

Commit 0cc80a6

Browse files
author
Andres Vargas
committed
update parcel version
1 parent a3948d1 commit 0cc80a6

File tree

10 files changed

+17
-10
lines changed

10 files changed

+17
-10
lines changed

app/settings.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# SECURITY WARNING: don't run with debug turned on in production!
2626
DEBUG = True
2727

28-
ALLOWED_HOSTS = ['*']
28+
ALLOWED_HOSTS = ['localhost', '127.0.0.1', 'pingcrm.fly.dev']
2929

3030

3131
# Application definition
@@ -108,6 +108,8 @@
108108
]
109109

110110

111+
112+
111113
# Internationalization
112114
# https://docs.djangoproject.com/en/3.0/topics/i18n/
113115

@@ -131,3 +133,7 @@
131133
JS_ROUTES_INCLUSION_LIST = [
132134
'demo',
133135
]
136+
137+
CSRF_HEADER_NAME="HTTP_X_CSRFTOKEN"
138+
139+
VERSION=2

demo/static/dist/buttons.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/static/dist/buttons.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/static/dist/form.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/static/dist/form.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/static/dist/nprogress.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/static/dist/nprogress.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/static/dist/reset.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/static/dist/reset.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/templates/base.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99

1010
</head>
1111
<body class="font-sans leading-none text-gray-700 antialiased">
12+
{% csrf_token %}
1213
{{ page|json_script:"page" }}
1314
<div id="app">
1415
</div>
1516
</body>
16-
</html>
17+
</html>

0 commit comments

Comments
 (0)