projets
/
auf_recipe_django.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4edf55b
)
Générer des fichiers PEP8
author
Eric Mc Sween
<eric.mcsween@auf.org>
Wed, 25 Apr 2012 19:24:04 +0000
(15:24 -0400)
committer
Eric Mc Sween
<eric.mcsween@auf.org>
Wed, 25 Apr 2012 19:24:04 +0000
(15:24 -0400)
auf/recipe/django/boilerplate.py
patch
|
blob
|
blame
|
history
diff --git
a/auf/recipe/django/boilerplate.py
b/auf/recipe/django/boilerplate.py
index
14f4f10
..
230a8c7
100644
(file)
--- a/
auf/recipe/django/boilerplate.py
+++ b/
auf/recipe/django/boilerplate.py
@@
-50,11
+50,10
@@
DATABASES = {
'NAME': 'db.sqlite',
'USER': '',
'PASSWORD': '',
'NAME': 'db.sqlite',
'USER': '',
'PASSWORD': '',
- 'HOST' : '',
- 'PORT' : '',
+ 'HOST': '',
+ 'PORT': '',
}
}
}
}
-
'''
dashboard_file ='''# -*- encoding: utf-8 -*
'''
dashboard_file ='''# -*- encoding: utf-8 -*
@@
-123,7
+122,8
@@
auf_settings_template = '''# -*- encoding: utf-8 -*-
import os
import socket
import os
import socket
-from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as DEFAULT_TEMPLATE_CONTEXT_PROCESSORS
+from django.conf.global_settings import \\
+ TEMPLATE_CONTEXT_PROCESSORS as DEFAULT_TEMPLATE_CONTEXT_PROCESSORS
# Rapports d'erreurs
SERVER_EMAIL = 'ne-pas-repondre@auf.org'
# Rapports d'erreurs
SERVER_EMAIL = 'ne-pas-repondre@auf.org'
@@
-169,7
+169,6
@@
TEMPLATE_CONTEXT_PROCESSORS = DEFAULT_TEMPLATE_CONTEXT_PROCESSORS + (
'auf.django.skin.context_processors.auf',
)
'auf.django.skin.context_processors.auf',
)
-
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), "templates"),
)
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__), "templates"),
)