Este sitio web funciona mejor con JavaScript.
Inicio
Ayuda
Iniciar sesión
christian
/
SaS
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
add startpage
master
erichhasl
hace 8 años
padre
c083d76fdc
commit
2fd2d663ad
Se han
modificado 9 ficheros
con
30 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+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
Ver fichero
@@ -12,3 +12,5 @@ test.pdf
my.cnf
venv
*/*/*/migrations/*
+ 1
- 0
web_dev/sas_web/sas_web/urls.py
Ver fichero
@@ -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
Ver fichero
+ 3
- 0
web_dev/sas_web/startpage/admin.py
Ver fichero
@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.
+ 5
- 0
web_dev/sas_web/startpage/apps.py
Ver fichero
@@ -0,0 +1,5 @@
from django.apps import AppConfig
class StartpageConfig(AppConfig):
name = 'startpage'
+ 3
- 0
web_dev/sas_web/startpage/models.py
Ver fichero
@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.
+ 3
- 0
web_dev/sas_web/startpage/tests.py
Ver fichero
@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.
+ 7
- 0
web_dev/sas_web/startpage/urls.py
Ver fichero
@@ -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
Ver fichero
@@ -0,0 +1,6 @@
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Hey!")
Escribir
Vista previa
Cargando…
Cancelar
Guardar