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
098d687a
Commit
098d687a
authored
Dec 30, 2015
by
Rafal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refractor structure
parent
4a3460a7
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
298 additions
and
0 deletions
+298
-0
__init__.py
JoinTheCityREST/app/API/__init__.py
+0
-0
admin.py
JoinTheCityREST/app/API/admin.py
+3
-0
0001_initial.py
JoinTheCityREST/app/API/migrations/0001_initial.py
+22
-0
__init__.py
JoinTheCityREST/app/API/migrations/__init__.py
+0
-0
models.py
JoinTheCityREST/app/API/models.py
+7
-0
serializers.py
JoinTheCityREST/app/API/serializers.py
+9
-0
tests.py
JoinTheCityREST/app/API/tests.py
+3
-0
views.py
JoinTheCityREST/app/API/views.py
+13
-0
__init__.py
JoinTheCityREST/app/Discussion/__init__.py
+0
-0
admin.py
JoinTheCityREST/app/Discussion/admin.py
+3
-0
0001_initial.py
JoinTheCityREST/app/Discussion/migrations/0001_initial.py
+31
-0
__init__.py
JoinTheCityREST/app/Discussion/migrations/__init__.py
+0
-0
models.py
JoinTheCityREST/app/Discussion/models.py
+11
-0
tests.py
JoinTheCityREST/app/Discussion/tests.py
+3
-0
views.py
JoinTheCityREST/app/Discussion/views.py
+3
-0
__init__.py
JoinTheCityREST/app/Event/__init__.py
+0
-0
admin.py
JoinTheCityREST/app/Event/admin.py
+3
-0
0001_initial.py
JoinTheCityREST/app/Event/migrations/0001_initial.py
+22
-0
__init__.py
JoinTheCityREST/app/Event/migrations/__init__.py
+0
-0
models.py
JoinTheCityREST/app/Event/models.py
+7
-0
tests.py
JoinTheCityREST/app/Event/tests.py
+3
-0
views.py
JoinTheCityREST/app/Event/views.py
+3
-0
__init__.py
JoinTheCityREST/app/Friendship/__init__.py
+0
-0
admin.py
JoinTheCityREST/app/Friendship/admin.py
+3
-0
0001_initial.py
JoinTheCityREST/app/Friendship/migrations/0001_initial.py
+31
-0
__init__.py
JoinTheCityREST/app/Friendship/migrations/__init__.py
+0
-0
models.py
JoinTheCityREST/app/Friendship/models.py
+10
-0
tests.py
JoinTheCityREST/app/Friendship/tests.py
+3
-0
views.py
JoinTheCityREST/app/Friendship/views.py
+3
-0
__init__.py
JoinTheCityREST/app/Localization/__init__.py
+0
-0
admin.py
JoinTheCityREST/app/Localization/admin.py
+3
-0
0001_initial.py
JoinTheCityREST/app/Localization/migrations/0001_initial.py
+22
-0
__init__.py
JoinTheCityREST/app/Localization/migrations/__init__.py
+0
-0
models.py
JoinTheCityREST/app/Localization/models.py
+7
-0
tests.py
JoinTheCityREST/app/Localization/tests.py
+3
-0
views.py
JoinTheCityREST/app/Localization/views.py
+3
-0
__init__.py
JoinTheCityREST/app/Tag/__init__.py
+0
-0
admin.py
JoinTheCityREST/app/Tag/admin.py
+3
-0
0001_initial.py
JoinTheCityREST/app/Tag/migrations/0001_initial.py
+22
-0
__init__.py
JoinTheCityREST/app/Tag/migrations/__init__.py
+0
-0
models.py
JoinTheCityREST/app/Tag/models.py
+9
-0
tests.py
JoinTheCityREST/app/Tag/tests.py
+3
-0
views.py
JoinTheCityREST/app/Tag/views.py
+3
-0
__init__.py
JoinTheCityREST/app/User/__init__.py
+0
-0
admin.py
JoinTheCityREST/app/User/admin.py
+3
-0
__init__.py
JoinTheCityREST/app/User/migrations/__init__.py
+0
-0
models.py
JoinTheCityREST/app/User/models.py
+15
-0
tests.py
JoinTheCityREST/app/User/tests.py
+3
-0
views.py
JoinTheCityREST/app/User/views.py
+3
-0
No files found.
JoinTheCityREST/app/API/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/API/admin.py
0 → 100644
View file @
098d687a
from
django.contrib
import
admin
# Register your models here.
JoinTheCityREST/app/API/migrations/0001_initial.py
0 → 100644
View file @
098d687a
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'API'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
]
JoinTheCityREST/app/API/migrations/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/API/models.py
0 → 100644
View file @
098d687a
from
django.db
import
models
# Create your models here.
class
API
(
models
.
Model
):
pass
JoinTheCityREST/app/API/serializers.py
0 → 100644
View file @
098d687a
from
rest_framework
import
serializers
from
app.API.models
import
API
class
APISerializer
(
serializers
.
HyperlinkedModelSerializer
):
class
Meta
:
model
=
API
fields
=
()
\ No newline at end of file
JoinTheCityREST/app/API/tests.py
0 → 100644
View file @
098d687a
from
django.test
import
TestCase
# Create your tests here.
JoinTheCityREST/app/API/views.py
0 → 100644
View file @
098d687a
# Create your views here.
from
rest_framework
import
viewsets
,
permissions
from
app.API.models
import
API
from
app.API.serializers
import
APISerializer
class
APIViewSet
(
viewsets
.
ModelViewSet
):
"""
API for articles
"""
queryset
=
API
.
objects
.
all
()
serializer_class
=
APISerializer
permission_classes
=
(
permissions
.
IsAuthenticatedOrReadOnly
,)
\ No newline at end of file
JoinTheCityREST/app/Discussion/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Discussion/admin.py
0 → 100644
View file @
098d687a
from
django.contrib
import
admin
# Register your models here.
JoinTheCityREST/app/Discussion/migrations/0001_initial.py
0 → 100644
View file @
098d687a
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Discussion'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'Message'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
]
JoinTheCityREST/app/Discussion/migrations/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Discussion/models.py
0 → 100644
View file @
098d687a
from
django.db
import
models
# Create your models here.
class
Discussion
(
models
.
Model
):
pass
class
Message
(
models
.
Model
):
pass
JoinTheCityREST/app/Discussion/tests.py
0 → 100644
View file @
098d687a
from
django.test
import
TestCase
# Create your tests here.
JoinTheCityREST/app/Discussion/views.py
0 → 100644
View file @
098d687a
from
django.shortcuts
import
render
# Create your views here.
JoinTheCityREST/app/Event/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Event/admin.py
0 → 100644
View file @
098d687a
from
django.contrib
import
admin
# Register your models here.
JoinTheCityREST/app/Event/migrations/0001_initial.py
0 → 100644
View file @
098d687a
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Event'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
]
JoinTheCityREST/app/Event/migrations/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Event/models.py
0 → 100644
View file @
098d687a
from
django.db
import
models
# Create your models here.
class
Event
(
models
.
Model
):
pass
JoinTheCityREST/app/Event/tests.py
0 → 100644
View file @
098d687a
from
django.test
import
TestCase
# Create your tests here.
JoinTheCityREST/app/Event/views.py
0 → 100644
View file @
098d687a
from
django.shortcuts
import
render
# Create your views here.
JoinTheCityREST/app/Friendship/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Friendship/admin.py
0 → 100644
View file @
098d687a
from
django.contrib
import
admin
# Register your models here.
JoinTheCityREST/app/Friendship/migrations/0001_initial.py
0 → 100644
View file @
098d687a
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Friendship'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
migrations
.
CreateModel
(
name
=
'FriendshipRequest'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
]
JoinTheCityREST/app/Friendship/migrations/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Friendship/models.py
0 → 100644
View file @
098d687a
from
django.db
import
models
# Create your models here.
class
Friendship
(
models
.
Model
):
pass
class
FriendshipRequest
(
models
.
Model
):
pass
JoinTheCityREST/app/Friendship/tests.py
0 → 100644
View file @
098d687a
from
django.test
import
TestCase
# Create your tests here.
JoinTheCityREST/app/Friendship/views.py
0 → 100644
View file @
098d687a
from
django.shortcuts
import
render
# Create your views here.
JoinTheCityREST/app/Localization/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Localization/admin.py
0 → 100644
View file @
098d687a
from
django.contrib
import
admin
# Register your models here.
JoinTheCityREST/app/Localization/migrations/0001_initial.py
0 → 100644
View file @
098d687a
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Localization'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
]
JoinTheCityREST/app/Localization/migrations/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Localization/models.py
0 → 100644
View file @
098d687a
from
django.db
import
models
# Create your models here.
class
Localization
(
models
.
Model
):
pass
JoinTheCityREST/app/Localization/tests.py
0 → 100644
View file @
098d687a
from
django.test
import
TestCase
# Create your tests here.
JoinTheCityREST/app/Localization/views.py
0 → 100644
View file @
098d687a
from
django.shortcuts
import
render
# Create your views here.
JoinTheCityREST/app/Tag/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Tag/admin.py
0 → 100644
View file @
098d687a
from
django.contrib
import
admin
# Register your models here.
JoinTheCityREST/app/Tag/migrations/0001_initial.py
0 → 100644
View file @
098d687a
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Tag'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
],
options
=
{
},
bases
=
(
models
.
Model
,),
),
]
JoinTheCityREST/app/Tag/migrations/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/Tag/models.py
0 → 100644
View file @
098d687a
from
django.db
import
models
# Create your models here.
class
Tag
(
models
.
Model
):
pass
JoinTheCityREST/app/Tag/tests.py
0 → 100644
View file @
098d687a
from
django.test
import
TestCase
# Create your tests here.
JoinTheCityREST/app/Tag/views.py
0 → 100644
View file @
098d687a
from
django.shortcuts
import
render
# Create your views here.
JoinTheCityREST/app/User/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/User/admin.py
0 → 100644
View file @
098d687a
from
django.contrib
import
admin
# Register your models here.
JoinTheCityREST/app/User/migrations/__init__.py
0 → 100644
View file @
098d687a
JoinTheCityREST/app/User/models.py
0 → 100644
View file @
098d687a
from
django.contrib.auth.models
import
AbstractUser
from
django.db
import
models
# Create your models here.
class
UserFriendship
(
models
.
Model
):
pass
class
UserFriendshipRequest
(
models
.
Model
):
pass
class
UserAPI
(
models
.
Model
):
pass
class
UserEvent
(
models
.
Model
):
pass
JoinTheCityREST/app/User/tests.py
0 → 100644
View file @
098d687a
from
django.test
import
TestCase
# Create your tests here.
JoinTheCityREST/app/User/views.py
0 → 100644
View file @
098d687a
from
django.shortcuts
import
render
# Create your views here.
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