#coding:utf-8
"""modeOa URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
import os
from django.conf.urls import url
from django.contrib import admin
from oa import views as oa_views

STATIC_URL = '/static/'
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

STATIC_ROOT= os.path.join(BASE_DIR,'collected_static')

STATICFILES_DIRS= (
   os.path.join(BASE_DIR,"common_static")
)
# 这个是默认设置，Django 默认会在 STATICFILES_DIRS中的文件夹 和 各app下的static文件夹中找文件
# 注意有先后顺序，找到了就不再继续找了
STATICFILES_FINDERS = (
    "django.contrib.staticfiles.finders.FileSystemFinder",
	"django.contrib.staticfiles.finders.AppDirectoriesFinder"
)

urlpatterns = [
	url(r'^$',oa_views.home,name='home'),
    url(r'^admin/', admin.site.urls),
    url(r'^addnew',oa_views.addnew,name='form'),
    url(r'^finish', oa_views.finish, name='finish'),
    url(r'^home', oa_views.home, name='home'),
    url(r'^login',oa_views.login,name='login'),
]

b99ed7b2b77743b92297e88fdef534260dcccf82
<mask token>

<mask token>
STATIC_URL = '/static/'
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
STATIC_ROOT = os.path.join(BASE_DIR, 'collected_static')
STATICFILES_DIRS = os.path.join(BASE_DIR, 'common_static')
STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder')
urlpatterns = [url('^$', oa_views.home, name='home'), url('^admin/', admin.
    site.urls), url('^addnew', oa_views.addnew, name='form'), url('^finish',
    oa_views.finish, name='finish'), url('^home', oa_views.home, name=
    'home'), url('^login', oa_views.login, name='login')]

<mask token>
import os
from django.conf.urls import url
from django.contrib import admin
from oa import views as oa_views
STATIC_URL = '/static/'
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
STATIC_ROOT = os.path.join(BASE_DIR, 'collected_static')
STATICFILES_DIRS = os.path.join(BASE_DIR, 'common_static')
STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder')
urlpatterns = [url('^$', oa_views.home, name='home'), url('^admin/', admin.
    site.urls), url('^addnew', oa_views.addnew, name='form'), url('^finish',
    oa_views.finish, name='finish'), url('^home', oa_views.home, name=
    'home'), url('^login', oa_views.login, name='login')]

#coding:utf-8
"""modeOa URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
import os
from django.conf.urls import url
from django.contrib import admin
from oa import views as oa_views

STATIC_URL = '/static/'
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

STATIC_ROOT= os.path.join(BASE_DIR,'collected_static')

STATICFILES_DIRS= (
   os.path.join(BASE_DIR,"common_static")
)
# 这个是默认设置，Django 默认会在 STATICFILES_DIRS中的文件夹 和 各app下的static文件夹中找文件
# 注意有先后顺序，找到了就不再继续找了
STATICFILES_FINDERS = (
    "django.contrib.staticfiles.finders.FileSystemFinder",
	"django.contrib.staticfiles.finders.AppDirectoriesFinder"
)

urlpatterns = [
	url(r'^$',oa_views.home,name='home'),
    url(r'^admin/', admin.site.urls),
    url(r'^addnew',oa_views.addnew,name='form'),
    url(r'^finish', oa_views.finish, name='finish'),
    url(r'^home', oa_views.home, name='home'),
    url(r'^login',oa_views.login,name='login'),
]
