Compare commits
3 Commits
master
...
dev/api-do
Author | SHA1 | Date |
---|---|---|
Santiago L | 2f1d854a5e | |
Santiago L | 144344ebf9 | |
Santiago L | 3650c6077b |
|
@ -67,6 +67,7 @@ INSTALLED_APPS = [
|
|||
'rest_framework.authtoken',
|
||||
'passlib.ext.django',
|
||||
'django_countries',
|
||||
'rest_framework_swagger',
|
||||
# 'debug_toolbar',
|
||||
|
||||
# Django.contrib
|
||||
|
@ -228,7 +229,8 @@ REST_FRAMEWORK = {
|
|||
'rest_framework.authentication.TokenAuthentication',
|
||||
),
|
||||
'DEFAULT_FILTER_BACKENDS': (
|
||||
('rest_framework.filters.DjangoFilterBackend',)
|
||||
# TODO(@slamora): commented to be able to run rest swagger
|
||||
#('rest_framework.filters.DjangoFilterBackend',)
|
||||
),
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
from django.conf.urls import include, url
|
||||
from rest_framework_swagger.views import get_swagger_view
|
||||
|
||||
|
||||
schema_view = get_swagger_view(title='Orchestra API')
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^swagger/$', schema_view),
|
||||
url(r'', include('orchestra.urls')),
|
||||
]
|
||||
|
|
|
@ -43,3 +43,4 @@ class PaymentSourceSerializer(AccountSerializerMixin, serializers.HyperlinkedMod
|
|||
class TransactionSerializer(AccountSerializerMixin, serializers.HyperlinkedModelSerializer):
|
||||
class Meta:
|
||||
model = Transaction
|
||||
fields = '__all__'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Django==1.10.5
|
||||
Django==1.11.6
|
||||
django-fluent-dashboard==0.6.1
|
||||
django-admin-tools==0.8.0
|
||||
django-extensions==1.7.4
|
||||
|
@ -7,13 +7,13 @@ celery==3.1.23
|
|||
kombu==3.0.35
|
||||
billiard==3.3.0.23
|
||||
Markdown==2.4
|
||||
djangorestframework==3.4.7
|
||||
djangorestframework==3.9.4
|
||||
ecdsa==0.11
|
||||
Pygments==1.6
|
||||
django-filter==0.15.2
|
||||
django-filter==1.0.2 #0.15.2
|
||||
jsonfield==0.9.22
|
||||
python-dateutil==2.2
|
||||
https://github.com/glic3rinu/passlib/archive/master.zip
|
||||
passlib==1.7.0
|
||||
django-iban==0.3.0
|
||||
requests
|
||||
phonenumbers
|
||||
|
@ -22,3 +22,4 @@ django-localflavor
|
|||
amqp
|
||||
anyjson
|
||||
pytz
|
||||
django-rest-swagger==2.2.0
|
||||
|
|
Loading…
Reference in New Issue