Envio do estado atual do projeto
Projeto ainda em desenvolvimento. Enviado para o repositório para manter estado atual.
This commit is contained in:
1 parent
e539e83c79
commit
24650484f1
94 files changed
+3575
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
@@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class ReportConfig(AppConfig):
|
||||
name = 'report'
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
@@ -0,0 +1,13 @@
|
||||
from django.urls import path
|
||||
from django.http import HttpResponse
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
app_name = 'report'
|
||||
|
||||
@login_required(login_url='/user/login/')
|
||||
def home(request):
|
||||
return HttpResponse("Home app page")
|
||||
|
||||
urlpatterns = [
|
||||
path('', home),
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Reference in new issue
Block a user