[TASK] Add bootstrap as git submodule.
This commit is contained in:
1 parent
2ede0fe160
commit
0f0d3f7154
16 files changed
+50
-6
No files matched your search
@@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
@@ -1,3 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
Whitespace-only changes.
@@ -1,3 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
+4
-1
@@ -1,7 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.conf.urls import patterns, url
|
||||
|
||||
from hello import views
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^$', views.index, name='index')
|
||||
url(r'^$', views.Hello.as_view(), name='hello'),
|
||||
url(r'^formtest/$', views.FormTest.as_view(), name='formtest')
|
||||
)
|
||||
+10
-4
@@ -1,5 +1,11 @@
|
||||
from django.http import HttpResponse
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Create your views here.
|
||||
def index(request):
|
||||
return HttpResponse('Hello World!')
|
||||
from django.http import HttpResponse
|
||||
from django.views.generic import TemplateView
|
||||
from django.views.generic import FormView
|
||||
|
||||
class Hello(TemplateView):
|
||||
template_name = "hello.html"
|
||||
|
||||
class FormTest(FormView):
|
||||
pass
|
||||
Reference in new issue
Block a user