fixed a lotta shit
This commit is contained in:
parent
f224f1e35b
commit
acbc7dd336
BIN
db.sqlite3
Normal file → Executable file
BIN
db.sqlite3
Normal file → Executable file
Binary file not shown.
0
houtmarkt/__init__.py
Normal file → Executable file
0
houtmarkt/__init__.py
Normal file → Executable file
0
houtmarkt/__pycache__/__init__.cpython-36.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/__init__.cpython-36.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/__init__.cpython-38.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/__init__.cpython-38.pyc
Normal file → Executable file
Binary file not shown.
0
houtmarkt/__pycache__/settings.cpython-38.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/settings.cpython-38.pyc
Normal file → Executable file
Binary file not shown.
0
houtmarkt/__pycache__/urls.cpython-38.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/urls.cpython-38.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/wsgi.cpython-36.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/wsgi.cpython-36.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/wsgi.cpython-38.pyc
Normal file → Executable file
0
houtmarkt/__pycache__/wsgi.cpython-38.pyc
Normal file → Executable file
0
houtmarkt/asgi.py
Normal file → Executable file
0
houtmarkt/asgi.py
Normal file → Executable file
6
houtmarkt/settings.py
Normal file → Executable file
6
houtmarkt/settings.py
Normal file → Executable file
@ -25,7 +25,7 @@ SECRET_KEY = 'n2h_6t5qnp8zvke(%a%ph)xj4h8w+kgg46pld0r2^ndcme3el6'
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
|
||||
ALLOWED_HOSTS = ["10.10.0.217", "localhost"]
|
||||
ALLOWED_HOSTS = ["10.10.0.217", "localhost", "10.10.0.203","houtmarkt.phi.aperturect.com"]
|
||||
|
||||
|
||||
# Application definition
|
||||
@ -118,6 +118,6 @@ USE_TZ = True
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/3.0/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = "/static/"
|
||||
STATIC_URL = '/static'
|
||||
STATIC_ROOT = "/usr/share/nginx/html/"
|
||||
|
||||
|
6
houtmarkt/urls.py
Normal file → Executable file
6
houtmarkt/urls.py
Normal file → Executable file
@ -21,17 +21,17 @@ from django.urls import include
|
||||
|
||||
urlpatterns = [
|
||||
path('markt/', include('markt.urls')),
|
||||
path('admin/', admin.site.urls),
|
||||
path('houtmarkt/admin/', admin.site.urls),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
|
||||
from django.views.generic import RedirectView
|
||||
urlpatterns += [
|
||||
path('', RedirectView.as_view(url='markt/', permanent=True)),
|
||||
path('', RedirectView.as_view(url='/houtmarkt/admin/', permanent=True)),
|
||||
]
|
||||
|
||||
# Use static() to add url mapping to serve static files during development (only)
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
|
||||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
0
houtmarkt/wsgi.py
Normal file → Executable file
0
houtmarkt/wsgi.py
Normal file → Executable file
0
markt/__init__.py
Normal file → Executable file
0
markt/__init__.py
Normal file → Executable file
0
markt/__pycache__/__init__.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/__init__.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/__init__.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/__init__.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/admin.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/admin.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/admin.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/admin.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/models.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/models.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/models.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/models.cpython-38.pyc
Normal file → Executable file
Binary file not shown.
0
markt/__pycache__/urls.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/urls.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/views.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/views.cpython-36.pyc
Normal file → Executable file
0
markt/__pycache__/views.cpython-38.pyc
Normal file → Executable file
0
markt/__pycache__/views.cpython-38.pyc
Normal file → Executable file
0
markt/admin.py
Normal file → Executable file
0
markt/admin.py
Normal file → Executable file
0
markt/apps.py
Normal file → Executable file
0
markt/apps.py
Normal file → Executable file
0
markt/migrations/0001_initial.py
Normal file → Executable file
0
markt/migrations/0001_initial.py
Normal file → Executable file
0
markt/migrations/0002_auto_20200524_1448.py
Normal file → Executable file
0
markt/migrations/0002_auto_20200524_1448.py
Normal file → Executable file
0
markt/migrations/0003_factuur_orders.py
Normal file → Executable file
0
markt/migrations/0003_factuur_orders.py
Normal file → Executable file
0
markt/migrations/0004_auto_20200524_1506.py
Normal file → Executable file
0
markt/migrations/0004_auto_20200524_1506.py
Normal file → Executable file
0
markt/migrations/0005_remove_order_factuur_id.py
Normal file → Executable file
0
markt/migrations/0005_remove_order_factuur_id.py
Normal file → Executable file
0
markt/migrations/0006_order_factuur_id.py
Normal file → Executable file
0
markt/migrations/0006_order_factuur_id.py
Normal file → Executable file
0
markt/migrations/0007_remove_order_factuur_id.py
Normal file → Executable file
0
markt/migrations/0007_remove_order_factuur_id.py
Normal file → Executable file
0
markt/migrations/0008_auto_20200524_1522.py
Normal file → Executable file
0
markt/migrations/0008_auto_20200524_1522.py
Normal file → Executable file
0
markt/migrations/0009_remove_factuur_orders.py
Normal file → Executable file
0
markt/migrations/0009_remove_factuur_orders.py
Normal file → Executable file
0
markt/migrations/0010_auto_20200524_1530.py
Normal file → Executable file
0
markt/migrations/0010_auto_20200524_1530.py
Normal file → Executable file
0
markt/migrations/0011_auto_20200524_1559.py
Normal file → Executable file
0
markt/migrations/0011_auto_20200524_1559.py
Normal file → Executable file
0
markt/migrations/0012_auto_20200525_0113.py
Normal file → Executable file
0
markt/migrations/0012_auto_20200525_0113.py
Normal file → Executable file
0
markt/migrations/0013_factuur_date.py
Normal file → Executable file
0
markt/migrations/0013_factuur_date.py
Normal file → Executable file
0
markt/migrations/0014_auto_20200526_1037.py
Normal file → Executable file
0
markt/migrations/0014_auto_20200526_1037.py
Normal file → Executable file
0
markt/migrations/__init__.py
Normal file → Executable file
0
markt/migrations/__init__.py
Normal file → Executable file
0
markt/migrations/__pycache__/0001_initial.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0001_initial.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0001_initial.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0001_initial.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0002_auto_20200524_1251.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0002_auto_20200524_1251.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0002_auto_20200524_1448.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0002_auto_20200524_1448.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0002_auto_20200524_1448.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0002_auto_20200524_1448.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0003_auto_20200524_1304.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0003_auto_20200524_1304.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0003_factuur_orders.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0003_factuur_orders.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0003_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0003_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0004_auto_20200524_1307.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0004_auto_20200524_1307.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0004_auto_20200524_1506.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0004_auto_20200524_1506.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0004_auto_20200524_1506.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0004_auto_20200524_1506.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0005_auto_20200524_1354.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0005_auto_20200524_1354.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0005_remove_order_factuur_id.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0005_remove_order_factuur_id.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0005_remove_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0005_remove_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0006_auto_20200524_1403.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0006_auto_20200524_1403.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0006_order_factuur_id.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0006_order_factuur_id.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0006_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0006_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0007_auto_20200524_1405.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0007_auto_20200524_1405.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0007_remove_order_factuur_id.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0007_remove_order_factuur_id.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0007_remove_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0007_remove_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0008_auto_20200524_1522.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0008_auto_20200524_1522.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0008_auto_20200524_1522.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0008_auto_20200524_1522.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0008_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0008_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0009_remove_factuur_orders.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0009_remove_factuur_orders.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0009_remove_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0009_remove_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0010_auto_20200524_1530.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0010_auto_20200524_1530.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0010_auto_20200524_1530.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0010_auto_20200524_1530.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0010_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0010_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0011_auto_20200524_1559.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0011_auto_20200524_1559.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0011_auto_20200524_1559.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0011_auto_20200524_1559.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0011_remove_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0011_remove_factuur_orders.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0012_auto_20200525_0113.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0012_auto_20200525_0113.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0012_auto_20200525_0113.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0012_auto_20200525_0113.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0012_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0012_order_factuur_id.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0013_auto_20200524_1434.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0013_auto_20200524_1434.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0013_factuur_date.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0013_factuur_date.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0013_factuur_date.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0013_factuur_date.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0014_auto_20200526_1037.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0014_auto_20200526_1037.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0014_auto_20200526_1037.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/0014_auto_20200526_1037.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/__init__.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/__init__.cpython-36.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/__init__.cpython-38.pyc
Normal file → Executable file
0
markt/migrations/__pycache__/__init__.cpython-38.pyc
Normal file → Executable file
0
markt/models.py
Normal file → Executable file
0
markt/models.py
Normal file → Executable file
0
markt/static/css/styles.css
Normal file → Executable file
0
markt/static/css/styles.css
Normal file → Executable file
6
markt/templates/base_generic.html
Normal file → Executable file
6
markt/templates/base_generic.html
Normal file → Executable file
@ -8,7 +8,7 @@
|
||||
<!-- Add additional CSS in static file -->
|
||||
{% load static %}
|
||||
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
|
||||
<style>
|
||||
<!-- <style>
|
||||
table,
|
||||
th,
|
||||
td {
|
||||
@ -22,7 +22,7 @@ td:nth-child(3),
|
||||
td:nth-child(2) {
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
</style> -->
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
@ -33,4 +33,4 @@ td:nth-child(2) {
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
4
markt/templates/markt/factuur_detail.html
Normal file → Executable file
4
markt/templates/markt/factuur_detail.html
Normal file → Executable file
@ -4,7 +4,7 @@
|
||||
{% block content %}
|
||||
{% load static %}
|
||||
{% load l10n %}
|
||||
<h1>FACTUUR HOUTMARKTNAAM</h1>
|
||||
<h1>FACTUUR</h1>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Klant</th>
|
||||
@ -56,4 +56,4 @@
|
||||
</table>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
0
markt/tests.py
Normal file → Executable file
0
markt/tests.py
Normal file → Executable file
4
markt/urls.py
Normal file → Executable file
4
markt/urls.py
Normal file → Executable file
@ -1,7 +1,9 @@
|
||||
from django.urls import path
|
||||
from . import views
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
urlpatterns = [
|
||||
path('factuur/<int:pk>', views.FactuurDetailView.as_view(), name='factuur-detail'),
|
||||
|
||||
]
|
||||
|
||||
]
|
||||
|
0
markt/views.py
Normal file → Executable file
0
markt/views.py
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user