dzango init+

This commit is contained in:
makram89 2022-01-11 16:24:53 +01:00
parent 798a3d3558
commit f0946c1887
11 changed files with 22 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/Serwer_django/.idea/*

View File

View File

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

View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class OpenrefineauthConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'OpenRefineAuth'

View File

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

View File

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

View File

@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

View File

@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-t52#vo-k9ty*$@u9bf75hrkd#^o_)gadrz9$7w%xnkb-0#y!bi
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ["localhost", "127.0.0.1"]
# Application definition
@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'OpenRefineAuth.apps.OpenrefineauthConfig'
]
MIDDLEWARE = [

View File

@ -15,6 +15,7 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path
from OpenRefineAuth import views
urlpatterns = [
path('admin/', admin.site.urls),

Binary file not shown.