Skip to content

Commit 8abeeb6

Browse files
committedDec 11, 2019
first commit
0 parents  commit 8abeeb6

23 files changed

+309
-0
lines changed
 

‎codeara/__init__.py

Whitespace-only changes.
142 Bytes
Binary file not shown.
2.22 KB
Binary file not shown.
932 Bytes
Binary file not shown.
546 Bytes
Binary file not shown.

‎codeara/settings.py

+122
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
"""
2+
Django settings for codeara project.
3+
4+
Generated by 'django-admin startproject' using Django 1.11.17.
5+
6+
For more information on this file, see
7+
https://docs.djangoproject.com/en/1.11/topics/settings/
8+
9+
For the full list of settings and their values, see
10+
https://docs.djangoproject.com/en/1.11/ref/settings/
11+
"""
12+
13+
import os
14+
15+
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
16+
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
17+
18+
19+
# Quick-start development settings - unsuitable for production
20+
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
21+
22+
# SECURITY WARNING: keep the secret key used in production secret!
23+
SECRET_KEY = '1h-i%#^zbzltr&!$j6lji8e#ar0v&8g=kjrmqqkdsh^*mafjb#'
24+
25+
# SECURITY WARNING: don't run with debug turned on in production!
26+
DEBUG = True
27+
28+
ALLOWED_HOSTS = []
29+
30+
31+
# Application definition
32+
33+
INSTALLED_APPS = [
34+
'django.contrib.admin',
35+
'django.contrib.auth',
36+
'django.contrib.contenttypes',
37+
'django.contrib.sessions',
38+
'django.contrib.messages',
39+
'django.contrib.staticfiles',
40+
'codeara',
41+
'core',
42+
]
43+
44+
MIDDLEWARE = [
45+
'django.middleware.security.SecurityMiddleware',
46+
'django.contrib.sessions.middleware.SessionMiddleware',
47+
'django.middleware.common.CommonMiddleware',
48+
'django.middleware.csrf.CsrfViewMiddleware',
49+
'django.contrib.auth.middleware.AuthenticationMiddleware',
50+
'django.contrib.messages.middleware.MessageMiddleware',
51+
'django.middleware.clickjacking.XFrameOptionsMiddleware',
52+
]
53+
54+
ROOT_URLCONF = 'codeara.urls'
55+
56+
TEMPLATES = [
57+
{
58+
'BACKEND': 'django.template.backends.django.DjangoTemplates',
59+
'DIRS': [],
60+
'APP_DIRS': True,
61+
'OPTIONS': {
62+
'context_processors': [
63+
'django.template.context_processors.debug',
64+
'django.template.context_processors.request',
65+
'django.contrib.auth.context_processors.auth',
66+
'django.contrib.messages.context_processors.messages',
67+
],
68+
},
69+
},
70+
]
71+
72+
WSGI_APPLICATION = 'codeara.wsgi.application'
73+
74+
75+
# Database
76+
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
77+
78+
DATABASES = {
79+
'default': {
80+
'ENGINE': 'django.db.backends.sqlite3',
81+
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
82+
}
83+
}
84+
85+
86+
# Password validation
87+
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
88+
89+
AUTH_PASSWORD_VALIDATORS = [
90+
{
91+
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
92+
},
93+
{
94+
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
95+
},
96+
{
97+
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
98+
},
99+
{
100+
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
101+
},
102+
]
103+
104+
105+
# Internationalization
106+
# https://docs.djangoproject.com/en/1.11/topics/i18n/
107+
108+
LANGUAGE_CODE = 'en-us'
109+
110+
TIME_ZONE = 'UTC'
111+
112+
USE_I18N = True
113+
114+
USE_L10N = True
115+
116+
USE_TZ = True
117+
118+
119+
# Static files (CSS, JavaScript, Images)
120+
# https://docs.djangoproject.com/en/1.11/howto/static-files/
121+
122+
STATIC_URL = '/static/'

‎codeara/urls.py

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
"""codeara URL Configuration
2+
3+
The `urlpatterns` list routes URLs to views. For more information please see:
4+
https://docs.djangoproject.com/en/1.11/topics/http/urls/
5+
Examples:
6+
Function views
7+
1. Add an import: from my_app import views
8+
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
9+
Class-based views
10+
1. Add an import: from other_app.views import Home
11+
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
12+
Including another URLconf
13+
1. Import the include() function: from django.conf.urls import url, include
14+
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
15+
"""
16+
from django.conf.urls import url
17+
from django.contrib import admin
18+
19+
urlpatterns = [
20+
url(r'^admin/', admin.site.urls),
21+
]

‎codeara/wsgi.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
WSGI config for codeara project.
3+
4+
It exposes the WSGI callable as a module-level variable named ``application``.
5+
6+
For more information on this file, see
7+
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
8+
"""
9+
10+
import os
11+
12+
from django.core.wsgi import get_wsgi_application
13+
14+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "codeara.settings")
15+
16+
application = get_wsgi_application()

‎core/__init__.py

Whitespace-only changes.
139 Bytes
Binary file not shown.

‎core/__pycache__/admin.cpython-37.pyc

180 Bytes
Binary file not shown.
177 Bytes
Binary file not shown.

‎core/admin.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

‎core/apps.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from django.apps import AppConfig
2+
3+
4+
class CoreConfig(AppConfig):
5+
name = 'core'

‎core/migrations/__init__.py

Whitespace-only changes.
150 Bytes
Binary file not shown.

‎core/models.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

‎core/tests.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

‎core/views.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

‎db.sqlite3

128 KB
Binary file not shown.

‎manage.py

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env python
2+
import os
3+
import sys
4+
5+
if __name__ == "__main__":
6+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "codeara.settings")
7+
try:
8+
from django.core.management import execute_from_command_line
9+
except ImportError:
10+
# The above import may fail for some other reason. Ensure that the
11+
# issue is really that Django is missing to avoid masking other
12+
# exceptions on Python 2.
13+
try:
14+
import django
15+
except ImportError:
16+
raise ImportError(
17+
"Couldn't import Django. Are you sure it's installed and "
18+
"available on your PYTHONPATH environment variable? Did you "
19+
"forget to activate a virtual environment?"
20+
)
21+
raise
22+
execute_from_command_line(sys.argv)

‎readme.md

Whitespace-only changes.

‎requirements.txt

+111
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
apturl==0.5.2
2+
asn1crypto==0.24.0
3+
bcrypt==3.1.6
4+
blinker==1.4
5+
Brlapi==0.6.7
6+
cachetools==3.1.1
7+
certifi==2018.8.24
8+
chardet==3.0.4
9+
command-not-found==0.3
10+
cryptography==2.6.1
11+
cupshelpers==1.0
12+
dbus-python==1.2.12
13+
defer==1.0.6
14+
defusedxml==0.5.0
15+
diff-match-patch==20121119
16+
distro==1.3.0
17+
distro-info===0.21ubuntu4
18+
Django==1.11.17
19+
django-allauth==0.39.1
20+
django-bootstrap-datepicker-plus==3.0.5
21+
django-cors-headers==3.0.2
22+
django-extensions==2.0.7
23+
django-import-export==1.0.1
24+
django-model-utils==3.1.2
25+
django-widget-tweaks==1.4.2
26+
djangorestframework==3.8.2
27+
duplicity==0.8.4
28+
entrypoints==0.3
29+
et-xmlfile==1.0.1
30+
fasteners==0.12.0
31+
future==0.16.0
32+
google-api-python-client==1.7.11
33+
google-auth==1.6.3
34+
google-auth-httplib2==0.0.3
35+
google-oauth==1.0.1
36+
httplib2==0.11.3
37+
idna==2.7
38+
jdcal==1.4
39+
kazam==1.4.5
40+
keyring==18.0.1
41+
keyrings.alt==3.1.1
42+
language-selector==0.1
43+
launchpadlib==1.10.7
44+
lazr.restfulclient==0.14.2
45+
lazr.uri==1.0.3
46+
lockfile==0.12.2
47+
louis==3.10.0
48+
macaroonbakery==1.2.3
49+
Mako==1.0.7
50+
MarkupSafe==1.1.0
51+
monotonic==1.5
52+
mysqlclient==1.3.10
53+
netifaces==0.10.4
54+
oauth==1.0.1
55+
oauthlib==2.1.0
56+
odfpy==1.3.6
57+
olefile==0.46
58+
openpyxl==2.5.6
59+
paramiko==2.6.0
60+
pexpect==4.6.0
61+
Pillow==5.2.0
62+
protobuf==3.6.1
63+
pyasn1==0.4.6
64+
pyasn1-modules==0.2.6
65+
pycairo==1.16.2
66+
pycrypto==2.6.1
67+
pycups==1.9.73
68+
PyGObject==3.34.0
69+
PyJWT==1.6.4
70+
pymacaroons==0.13.0
71+
PyNaCl==1.3.0
72+
pyOpenSSL==19.0.0
73+
pyRFC3339==1.1
74+
python-apt==1.9.0+ubuntu1
75+
python-dateutil==2.7.3
76+
python-debian==0.1.36
77+
python-decouple==3.1
78+
python-social-auth==0.3.6
79+
python3-openid==3.1.0
80+
pytz==2018.5
81+
pyxdg==0.25
82+
PyYAML==5.1.2
83+
reportlab==3.5.23
84+
requests==2.19.1
85+
requests-oauthlib==1.0.0
86+
requests-unixsocket==0.1.5
87+
rsa==4.0
88+
SecretStorage==2.3.1
89+
simplejson==3.16.0
90+
six==1.11.0
91+
social-auth-app-django==2.1.0
92+
social-auth-core==1.7.0
93+
sqlparse==0.3.0
94+
system-service==0.3
95+
systemd-python==234
96+
tablib==0.12.1
97+
ubuntu-advantage-tools==19.5
98+
ubuntu-drivers-common==0.0.0
99+
ufw==0.36
100+
unattended-upgrades==0.1
101+
unicodecsv==0.14.1
102+
uritemplate==3.0.0
103+
urllib3==1.23
104+
usb-creator==0.3.7
105+
vboxapi==1.0
106+
virtualenv==15.1.0
107+
wadllib==1.3.3
108+
xkit==0.0.0
109+
xlrd==1.1.0
110+
xlwt==1.3.0
111+
zope.interface==4.3.2

0 commit comments

Comments
 (0)
Please sign in to comment.