Skip to content

Commit

Permalink
After release fixes
Browse files Browse the repository at this point in the history
* 'rest_framework.renderers.AdminRenderer' changet to 'rest_framework.renderers.BrowsableAPIRenderer'
* fix tags test (rpm release)
  • Loading branch information
onegreyonewhite committed Jul 14, 2017
1 parent 859eedc commit 0feb212
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ release_deb:
stage: release
only:
- tags
image: onegreyonewhite/tox:ubuntu
script:
- make deb
allow_failure: false
Expand Down
4 changes: 2 additions & 2 deletions polemarch/main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@
),
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
'rest_framework.renderers.AdminRenderer',
# 'rest_framework.renderers.BrowsableAPIRenderer',
# 'rest_framework.renderers.AdminRenderer',
'rest_framework.renderers.BrowsableAPIRenderer',
),
"DEFAULT_PERMISSION_CLASSES": (
"polemarch.api.permissions.ModelPermission",
Expand Down

0 comments on commit 0feb212

Please sign in to comment.