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
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -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",
|
||||
]
|
||||
|
||||
ROOT_URLCONF = "symposion.urls"
|
||||
ROOT_URLCONF = "symposion_project.urls"
|
||||
|
||||
TEMPLATE_DIRS = [
|
||||
os.path.join(PROJECT_ROOT, "templates"),
|
||||
|
@ -159,12 +159,9 @@ INSTALLED_APPS = [
|
|||
"reversion",
|
||||
"easy_thumbnails",
|
||||
"sitetree",
|
||||
|
||||
# Pinax
|
||||
"account",
|
||||
|
||||
# project
|
||||
"symposion.about",
|
||||
# symposion
|
||||
"symposion.sponsorship",
|
||||
"symposion.conference",
|
||||
"symposion.cms",
|
|
@ -16,7 +16,6 @@ urlpatterns = patterns("",
|
|||
"template": "homepage.html",
|
||||
}, name="home"),
|
||||
url(r"^admin/", include(admin.site.urls)),
|
||||
url(r"^about/", include("symposion.about.urls")),
|
||||
url(r"^account/", include("account.urls")),
|
||||
# url(r"^openid/", include(PinaxConsumer().urls)),
|
||||
|
Loading…
Reference in a new issue