[TASK] Add bootstrap as git submodule.
This commit is contained in:
parent
2ede0fe160
commit
0f0d3f7154
|
@ -1,3 +1,4 @@
|
|||
.settings
|
||||
.project
|
||||
.pydevproject
|
||||
*.pyc
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "public/static/contrib/bootstrap"]
|
||||
path = public/static/contrib/bootstrap
|
||||
url = https://github.com/twbs/bootstrap.git
|
|
@ -0,0 +1 @@
|
|||
# -*- coding: utf-8 -*-
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
Django settings for citavi_mapper project.
|
||||
|
||||
|
@ -36,6 +38,7 @@ INSTALLED_APPS = (
|
|||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'crispy_forms',
|
||||
'hello',
|
||||
)
|
||||
|
||||
|
@ -53,6 +56,8 @@ ROOT_URLCONF = 'citavi_mapper.urls'
|
|||
WSGI_APPLICATION = 'citavi_mapper.wsgi.application'
|
||||
|
||||
|
||||
CRISPY_TEMPLATE_PACK = 'bootstrap3'
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.conf.urls import patterns, include, url
|
||||
|
||||
from django.contrib import admin
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
WSGI config for citavi_mapper project.
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
|
|
|
@ -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')
|
||||
)
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2c4641855dd0505608566489392ed35aaa6cf2e3
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>{% block title %}Citavi Mapper{% endblock %}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{% block headline %}{% endblock %}</h1>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
|
@ -1,2 +1,3 @@
|
|||
django
|
||||
psycopg2
|
||||
django
|
||||
django-crispy-forms
|
||||
|
|
Loading…
Reference in New Issue