Create questhelper
This commit is contained in:
parent
5c0b083255
commit
6c88218391
23 changed files with 277 additions and 0 deletions
0
questhelper/map/__init__.py
Normal file
0
questhelper/map/__init__.py
Normal file
3
questhelper/map/admin.py
Normal file
3
questhelper/map/admin.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
5
questhelper/map/apps.py
Normal file
5
questhelper/map/apps.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class MapConfig(AppConfig):
|
||||
name = 'map'
|
||||
0
questhelper/map/migrations/__init__.py
Normal file
0
questhelper/map/migrations/__init__.py
Normal file
3
questhelper/map/models.py
Normal file
3
questhelper/map/models.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
4
questhelper/map/templates/map/index.html
Normal file
4
questhelper/map/templates/map/index.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<head></head>
|
||||
<body>
|
||||
<h1>Map</h1>
|
||||
</body>
|
||||
3
questhelper/map/tests.py
Normal file
3
questhelper/map/tests.py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
7
questhelper/map/urls.py
Normal file
7
questhelper/map/urls.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.index, name='index'),
|
||||
]
|
||||
8
questhelper/map/views.py
Normal file
8
questhelper/map/views.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from django.http import HttpResponse
|
||||
from django.template import loader
|
||||
|
||||
|
||||
def index(request):
|
||||
template = loader.get_template('map/index.html')
|
||||
context = {}
|
||||
return HttpResponse(template.render(context, request))
|
||||
Loading…
Add table
Add a link
Reference in a new issue