S JavaScriptem funguje tato webová stránka lépe.
Domů
Nápověda
Přihlásit se
christian
/
SaS
Sledovat
1
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Požadavky na natažení
0
Vydání
0
Wiki
Aktivita
Procházet zdrojové kódy
add startpage
master
erichhasl
před 8 roky
rodič
c083d76fdc
revize
2fd2d663ad
9 změnil soubory
, kde provedl
30 přidání
a
0 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Download Patch File
Stáhněte rozdílový soubor
+2
-0
.gitignore
+1
-0
web_dev/sas_web/sas_web/urls.py
+0
-0
web_dev/sas_web/startpage/__init__.py
+3
-0
web_dev/sas_web/startpage/admin.py
+5
-0
web_dev/sas_web/startpage/apps.py
+3
-0
web_dev/sas_web/startpage/models.py
+3
-0
web_dev/sas_web/startpage/tests.py
+7
-0
web_dev/sas_web/startpage/urls.py
+6
-0
web_dev/sas_web/startpage/views.py
+ 2
- 0
.gitignore
Zobrazit soubor
@@ -12,3 +12,5 @@ test.pdf
my.cnf
venv
*/*/*/migrations/*
+ 1
- 0
web_dev/sas_web/sas_web/urls.py
Zobrazit soubor
@@ -17,5 +17,6 @@ from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
url(r'^$', include('startpage.urls')),
url(r'^admin/', include(admin.site.urls)),
]
+ 0
- 0
web_dev/sas_web/startpage/__init__.py
Zobrazit soubor
+ 3
- 0
web_dev/sas_web/startpage/admin.py
Zobrazit soubor
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+ 5
- 0
web_dev/sas_web/startpage/apps.py
Zobrazit soubor
@@ -0,0 +1,5 @@
from django.apps import AppConfig
class StartpageConfig(AppConfig):
name = 'startpage'
+ 3
- 0
web_dev/sas_web/startpage/models.py
Zobrazit soubor
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+ 3
- 0
web_dev/sas_web/startpage/tests.py
Zobrazit soubor
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+ 7
- 0
web_dev/sas_web/startpage/urls.py
Zobrazit soubor
@@ -0,0 +1,7 @@
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.index, name='index')
]
+ 6
- 0
web_dev/sas_web/startpage/views.py
Zobrazit soubor
@@ -0,0 +1,6 @@
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Hey!")
Zapsat
Náhled
Načítá se…
Zrušit
Uložit