update project layout
This commit is contained in:
parent
3bed4f03c1
commit
1f59ffa489
26 changed files with 11 additions and 30 deletions
|
@ -2,7 +2,7 @@
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "symposion.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "symposion_project.settings")
|
||||||
|
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
__about__ = """
|
|
||||||
This project takes the zero_project and adds basic account management
|
|
||||||
functionality such as sign up, log in, password change/reset and email
|
|
||||||
confirmation. It is a foundation suitable for most sites that have user
|
|
||||||
accounts.
|
|
||||||
"""
|
|
|
@ -1,3 +0,0 @@
|
||||||
from django.db import models
|
|
||||||
|
|
||||||
# Create your models here.
|
|
|
@ -1,11 +0,0 @@
|
||||||
from django.conf.urls.defaults import *
|
|
||||||
from django.views.generic.simple import direct_to_template
|
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = patterns("",
|
|
||||||
url(r"^$", direct_to_template, {"template": "about/about.html"}, name="about"),
|
|
||||||
url(r"^terms/$", direct_to_template, {"template": "about/terms.html"}, name="terms"),
|
|
||||||
url(r"^privacy/$", direct_to_template, {"template": "about/privacy.html"}, name="privacy"),
|
|
||||||
url(r"^dmca/$", direct_to_template, {"template": "about/dmca.html"}, name="dmca"),
|
|
||||||
url(r"^what_next/$", direct_to_template, {"template": "about/what_next.html"}, name="what_next"),
|
|
||||||
)
|
|
|
@ -1 +0,0 @@
|
||||||
# Create your views here.
|
|
8
symposion_project/__init__.py
Normal file
8
symposion_project/__init__.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
__about__ = """
|
||||||
|
This project takes the zero_project and adds basic account management
|
||||||
|
functionality such as sign up, log in, password change/reset and email
|
||||||
|
confirmation. It is a foundation suitable for most sites that have user
|
||||||
|
accounts.
|
||||||
|
"""
|
|
@ -111,7 +111,7 @@ MIDDLEWARE_CLASSES = [
|
||||||
"debug_toolbar.middleware.DebugToolbarMiddleware",
|
"debug_toolbar.middleware.DebugToolbarMiddleware",
|
||||||
]
|
]
|
||||||
|
|
||||||
ROOT_URLCONF = "symposion.urls"
|
ROOT_URLCONF = "symposion_project.urls"
|
||||||
|
|
||||||
TEMPLATE_DIRS = [
|
TEMPLATE_DIRS = [
|
||||||
os.path.join(PROJECT_ROOT, "templates"),
|
os.path.join(PROJECT_ROOT, "templates"),
|
||||||
|
@ -159,12 +159,9 @@ INSTALLED_APPS = [
|
||||||
"reversion",
|
"reversion",
|
||||||
"easy_thumbnails",
|
"easy_thumbnails",
|
||||||
"sitetree",
|
"sitetree",
|
||||||
|
|
||||||
# Pinax
|
|
||||||
"account",
|
"account",
|
||||||
|
|
||||||
# project
|
# symposion
|
||||||
"symposion.about",
|
|
||||||
"symposion.sponsorship",
|
"symposion.sponsorship",
|
||||||
"symposion.conference",
|
"symposion.conference",
|
||||||
"symposion.cms",
|
"symposion.cms",
|
|
@ -16,7 +16,6 @@ urlpatterns = patterns("",
|
||||||
"template": "homepage.html",
|
"template": "homepage.html",
|
||||||
}, name="home"),
|
}, name="home"),
|
||||||
url(r"^admin/", include(admin.site.urls)),
|
url(r"^admin/", include(admin.site.urls)),
|
||||||
url(r"^about/", include("symposion.about.urls")),
|
|
||||||
url(r"^account/", include("account.urls")),
|
url(r"^account/", include("account.urls")),
|
||||||
# url(r"^openid/", include(PinaxConsumer().urls)),
|
# url(r"^openid/", include(PinaxConsumer().urls)),
|
||||||
|
|
Loading…
Reference in a new issue