Create questhelper

This commit is contained in:
henriquenakashima 2021-03-27 22:04:57 -04:00
parent 5c0b083255
commit 6c88218391
23 changed files with 277 additions and 0 deletions

View file

3
questhelper/map/admin.py Normal file
View file

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
questhelper/map/apps.py Normal file
View file

@ -0,0 +1,5 @@
from django.apps import AppConfig
class MapConfig(AppConfig):
name = 'map'

View file

View file

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

View file

@ -0,0 +1,4 @@
<head></head>
<body>
<h1>Map</h1>
</body>

3
questhelper/map/tests.py Normal file
View file

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

7
questhelper/map/urls.py Normal file
View 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
View 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))