Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
portal
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
11
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
570094fc
authored
Apr 09, 2019
by
Belákovics Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added djoser
parent
d2bb1997
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
78 additions
and
5 deletions
+78
-5
Pipfile
+2
-0
Pipfile.lock
+68
-2
README.md
+1
-1
recircle/recircle/settings.py
+4
-1
recircle/recircle/urls.py
+3
-1
No files found.
Pipfile
View file @
570094fc
...
...
@@ -4,11 +4,13 @@ url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
httpie = "*"
[packages]
django = "*"
django-rest-framework = "*"
djangorestframework = "*"
djoser = "*"
[requires]
python_version = "3.6"
Pipfile.lock
View file @
570094fc
{
"_meta": {
"hash": {
"sha256": "
399c1ec4a42646cf3dc5fbc740bf87ef769275684d2a23790208f3689e5c2c3f
"
"sha256": "
d21a5665a08be3d0e1ec2b632ac10c1603ef068be1b7d09c9c65c460b78dc2e4
"
},
"pipfile-spec": 6,
"requires": {
...
...
@@ -31,6 +31,13 @@
"index": "pypi",
"version": "==0.1.0"
},
"django-templated-mail": {
"hashes": [
"sha256:8db807effebb42a532622e2d142dfd453dafcd0d7794c4c3332acb90656315f9",
"sha256:f7127e1e31d7cad4e6c4b4801d25814d4b8782627ead76f4a75b3b7650687556"
],
"version": "==1.1.1"
},
"djangorestframework": {
"hashes": [
"sha256:8a435df9007c8b7d8e69a21ef06650e3c0cbe0d4b09e55dd1bd74c89a75a9fcd",
...
...
@@ -39,6 +46,14 @@
"index": "pypi",
"version": "==3.9.2"
},
"djoser": {
"hashes": [
"sha256:a9eaf1b172c40f14be82fd145bfc02de7b3470b085b53169755c2c08fb7bd0a2",
"sha256:f311248eda5f14dcfe839b9481721a701aa9b67195b4e7606c234d476cb24cdf"
],
"index": "pypi",
"version": "==1.5.1"
},
"pytz": {
"hashes": [
"sha256:32b0891edff07e28efe91284ed9c31e123d84bea3fd98e1f72be2508f43ef8d9",
...
...
@@ -54,5 +69,56 @@
"version": "==0.3.0"
}
},
"develop": {}
"develop": {
"certifi": {
"hashes": [
"sha256:59b7658e26ca9c7339e00f8f4636cdfe59d34fa37b9b04f6f9e9926b3cece1a5",
"sha256:b26104d6835d1f5e49452a26eb2ff87fe7090b89dfcaee5ea2212697e1e1d7ae"
],
"version": "==2019.3.9"
},
"chardet": {
"hashes": [
"sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae",
"sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"
],
"version": "==3.0.4"
},
"httpie": {
"hashes": [
"sha256:449c07947be10ee1482fd7ac00b7fe0af499e0e85213fca4e97b6b69a95d61f5",
"sha256:fc676c85febdf3d80abc1ef6fa71ec3764d8b838806a7ae4e55e5e5aa014a2ab"
],
"index": "pypi",
"version": "==1.0.2"
},
"idna": {
"hashes": [
"sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407",
"sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c"
],
"version": "==2.8"
},
"pygments": {
"hashes": [
"sha256:5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a",
"sha256:e8218dd399a61674745138520d0d4cf2621d7e032439341bc3f647bff125818d"
],
"version": "==2.3.1"
},
"requests": {
"hashes": [
"sha256:502a824f31acdacb3a35b6690b5fbf0bc41d63a24a45c4004352b0242707598e",
"sha256:7bf2a778576d825600030a110f3c0e3e8edc51dfaafe1c146e39a2027784957b"
],
"version": "==2.21.0"
},
"urllib3": {
"hashes": [
"sha256:61bf29cada3fc2fbefad4fdf059ea4bd1b4a86d2b6d15e1c7c0b582b9752fe39",
"sha256:de9529817c93f27c8ccbfead6985011db27bd0ddfcdb2d86f3f663385c6a9c22"
],
"version": "==1.24.1"
}
}
}
README.md
View file @
570094fc
...
...
@@ -49,4 +49,4 @@ A fejlesztés elkezdéséhez egy Django szerverrel fogunk dolgozni, mely az open
|Client| <--> |Django| <------------> |Interface| <-----> |DevStack|
|------| |------| |---------| |--------|
```
### Devenv Setup
recircle/recircle/settings.py
View file @
570094fc
...
...
@@ -27,6 +27,7 @@ DEBUG = True
ALLOWED_HOSTS
=
[
'vm.niif.cloud.bme.hu'
,
'localhost'
,
]
...
...
@@ -40,6 +41,7 @@ INSTALLED_APPS = [
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'rest_framework'
,
'djoser'
,
]
MIDDLEWARE
=
[
...
...
@@ -120,4 +122,4 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL
=
'/static/'
STATIC_URL
=
'/static/'
\ No newline at end of file
recircle/recircle/urls.py
View file @
570094fc
...
...
@@ -18,5 +18,6 @@ from django.urls import path, re_path, include
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
re_path
(
r'^api-auth/'
,
include
(
'rest_framework.urls'
))
re_path
(
r'^auth/'
,
include
(
'djoser.urls'
)),
re_path
(
r'^auth/'
,
include
(
'djoser.urls.authtoken'
))
]
\ No newline at end of file
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