issuetracker -> ponytracker
This commit is contained in:
parent
153a40ca54
commit
2f9a29d3a0
8 changed files with 8 additions and 12 deletions
|
@ -1 +0,0 @@
|
||||||
from issuetracker.settings import *
|
|
|
@ -3,7 +3,7 @@ import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "issuetracker.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ponytracker.settings")
|
||||||
|
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
|
|
||||||
|
|
1
ponytracker/local_settings.py
Normal file
1
ponytracker/local_settings.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
from ponytracker.settings import *
|
|
@ -1,5 +1,5 @@
|
||||||
"""
|
"""
|
||||||
Django settings for issuetracker project.
|
Django settings for ponytracker project.
|
||||||
|
|
||||||
For more information on this file, see
|
For more information on this file, see
|
||||||
https://docs.djangoproject.com/en/dev/topics/settings/
|
https://docs.djangoproject.com/en/dev/topics/settings/
|
||||||
|
@ -58,9 +58,9 @@ MIDDLEWARE_CLASSES = (
|
||||||
'stronghold.middleware.LoginRequiredMiddleware',
|
'stronghold.middleware.LoginRequiredMiddleware',
|
||||||
)
|
)
|
||||||
|
|
||||||
ROOT_URLCONF = 'issuetracker.urls'
|
ROOT_URLCONF = 'ponytracker.urls'
|
||||||
|
|
||||||
WSGI_APPLICATION = 'issuetracker.wsgi.application'
|
WSGI_APPLICATION = 'ponytracker.wsgi.application'
|
||||||
|
|
||||||
|
|
||||||
# Database
|
# Database
|
|
@ -2,10 +2,6 @@ from django.conf.urls import patterns, include, url
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
# Examples:
|
|
||||||
# url(r'^$', 'issuetracker.views.home', name='home'),
|
|
||||||
# url(r'^blog/', include('blog.urls')),
|
|
||||||
|
|
||||||
url(r'^admin/', include(admin.site.urls)),
|
url(r'^admin/', include(admin.site.urls)),
|
||||||
url(r'^markdown/', include( 'django_markdown.urls')),
|
url(r'^markdown/', include( 'django_markdown.urls')),
|
||||||
url(r'^', include('issue.urls')),
|
url(r'^', include('issue.urls')),
|
|
@ -1,5 +1,5 @@
|
||||||
"""
|
"""
|
||||||
WSGI config for issuetracker project.
|
WSGI config for ponytracker project.
|
||||||
|
|
||||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "issuetracker.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ponytracker.settings")
|
||||||
|
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
application = get_wsgi_application()
|
application = get_wsgi_application()
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
. env/bin/activate
|
. env/bin/activate
|
||||||
|
|
||||||
python manage.py runserver 0.0.0.0:8000 --settings issuetracker.local_settings
|
python manage.py runserver 0.0.0.0:8000 --settings ponytracker.local_settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue