Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
JoinTheCity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafal
JoinTheCity
Commits
b61e566e
Commit
b61e566e
authored
Dec 29, 2015
by
Rafal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Init Django
parents
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
119 additions
and
0 deletions
+119
-0
__init__.py
JoinTheCityREST/JoinTheCityREST/__init__.py
+0
-0
settings.py
JoinTheCityREST/JoinTheCityREST/settings.py
+83
-0
urls.py
JoinTheCityREST/JoinTheCityREST/urls.py
+10
-0
wsgi.py
JoinTheCityREST/JoinTheCityREST/wsgi.py
+14
-0
__init__.py
JoinTheCityREST/__init__.py
+1
-0
manage.py
JoinTheCityREST/manage.py
+10
-0
__init__.py
__init__.py
+1
-0
No files found.
JoinTheCityREST/JoinTheCityREST/__init__.py
0 → 100644
View file @
b61e566e
JoinTheCityREST/JoinTheCityREST/settings.py
0 → 100644
View file @
b61e566e
"""
Django settings for JoinTheCityREST project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import
os
BASE_DIR
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
__file__
))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'q_*t*k$7f(yukuma3rkii$its1n=g&@_*&
%8
x0_$wimk07#kh
%
'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
TEMPLATE_DEBUG
=
True
ALLOWED_HOSTS
=
[]
# Application definition
INSTALLED_APPS
=
(
'django.contrib.admin'
,
'django.contrib.auth'
,
'django.contrib.contenttypes'
,
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
)
MIDDLEWARE_CLASSES
=
(
'django.contrib.sessions.middleware.SessionMiddleware'
,
'django.middleware.common.CommonMiddleware'
,
'django.middleware.csrf.CsrfViewMiddleware'
,
'django.contrib.auth.middleware.AuthenticationMiddleware'
,
'django.contrib.auth.middleware.SessionAuthenticationMiddleware'
,
'django.contrib.messages.middleware.MessageMiddleware'
,
'django.middleware.clickjacking.XFrameOptionsMiddleware'
,
)
ROOT_URLCONF
=
'JoinTheCityREST.urls'
WSGI_APPLICATION
=
'JoinTheCityREST.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.sqlite3'
,
'NAME'
:
os
.
path
.
join
(
BASE_DIR
,
'db.sqlite3'
),
}
}
# Internationalization
# https://docs.djangoproject.com/en/1.7/topics/i18n/
LANGUAGE_CODE
=
'en-us'
TIME_ZONE
=
'UTC'
USE_I18N
=
True
USE_L10N
=
True
USE_TZ
=
True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/
STATIC_URL
=
'/static/'
JoinTheCityREST/JoinTheCityREST/urls.py
0 → 100644
View file @
b61e566e
from
django.conf.urls
import
patterns
,
include
,
url
from
django.contrib
import
admin
urlpatterns
=
patterns
(
''
,
# Examples:
# url(r'^$', 'JoinTheCityREST.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url
(
r'^admin/'
,
include
(
admin
.
site
.
urls
)),
)
JoinTheCityREST/JoinTheCityREST/wsgi.py
0 → 100644
View file @
b61e566e
"""
WSGI config for JoinTheCityREST project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import
os
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"JoinTheCityREST.settings"
)
from
django.core.wsgi
import
get_wsgi_application
application
=
get_wsgi_application
()
JoinTheCityREST/__init__.py
0 → 100644
View file @
b61e566e
__author__
=
'Rafal'
JoinTheCityREST/manage.py
0 → 100644
View file @
b61e566e
#!/usr/bin/env python
import
os
import
sys
if
__name__
==
"__main__"
:
os
.
environ
.
setdefault
(
"DJANGO_SETTINGS_MODULE"
,
"JoinTheCityREST.settings"
)
from
django.core.management
import
execute_from_command_line
execute_from_command_line
(
sys
.
argv
)
__init__.py
0 → 100644
View file @
b61e566e
__author__
=
'Rafal'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment