File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ Managing the trailing slash
147147
148148By default Django expects a trailing slash on urls and will 301 redirect any
149149requests lacking a trailing slash. You can change the server side by
150- instantiating the Django REST Framework's router like so:
150+ instantiating the Django REST Framework's router like so:::
151151
152152 router = routers.SimpleRouter(trailing_slash=False)
153153
@@ -156,7 +156,7 @@ in Django's settings.py file and modify url pattern regex to match routes
156156without a trailing slash.
157157
158158If you prefer to make the change on the client side then add an
159- application adapter to your Ember app and override the buildURL method:
159+ application adapter to your Ember app and override the buildURL method:::
160160
161161 App.ApplicationAdapter = DS.RESTAdapter.extend({
162162 buildURL: function() {
You can’t perform that action at this time.
0 commit comments