Splitting some of the stuff out of settings.py into settings_common.py (new file) to hold directives that need to be versioned. It sucks having to tell people to re-build their settings.py file from settings.py.dist when changes are made.
This commit is contained in:
parent
3fe644ef17
commit
813c50652e
2 changed files with 7 additions and 48 deletions
|
|
@ -1,4 +1,3 @@
|
|||
from django.conf import settings
|
||||
import gameconf
|
||||
|
||||
def general_context(request):
|
||||
|
|
@ -7,5 +6,4 @@ def general_context(request):
|
|||
"""
|
||||
return {
|
||||
'game_name': gameconf.get_configvalue('site_name'),
|
||||
'media_url': settings.MEDIA_URL,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue