File tree 3 files changed +5
-5
lines changed
forms_builder/example_project
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
python :
3
- - " 2.5"
4
3
- " 2.6"
5
4
- " 2.7"
6
5
install : pip install . --use-mirrors
Original file line number Diff line number Diff line change 1
1
2
2
3
- import os
3
+ import os , sys
4
4
5
5
DEBUG = True
6
6
SITE_ID = 1
13
13
ADMIN_MEDIA_PREFIX = STATIC_URL + "admin/"
14
14
ROOT_URLCONF = "%s.urls" % PROJECT_DIRNAME
15
15
TEMPLATE_DIRS = (os .path .join (PROJECT_ROOT , "templates" ),)
16
- SECRET_KEY = ""
16
+ SECRET_KEY = "asdfa4wtW#$Gse4aGdfs "
17
17
ADMINS = ()
18
18
MANAGERS = ADMINS
19
- LOGIN_URL = "/admin/"
19
+ if "test" not in sys .argv :
20
+ LOGIN_URL = "/admin/"
20
21
21
22
DATABASES = {
22
23
'default' : {
Original file line number Diff line number Diff line change 1
1
2
- from django .conf .urls . defaults import patterns , include , url
2
+ from django .conf .urls import patterns , include , url
3
3
from django .contrib import admin
4
4
from django .shortcuts import render
5
5
You can’t perform that action at this time.
0 commit comments