-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from wq.db.rest import app | ||
from wq.db import rest | ||
from wq.db.patterns import rest as patterns | ||
from .models import Example | ||
|
||
|
||
app.router.register_model( | ||
rest.router.register_model( | ||
Example, | ||
serializer=patterns.IdentifiedModelSerializer | ||
) | ||
app.router.add_page('index', {'url': ''}) | ||
rest.router.add_page('index', {'url': ''}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<input type="hidden" name="csrfmiddlewaretoken" value="{% templatetag openvariable %}csrftoken{% templatetag closevariable %}"> | ||
<input type="hidden" name="csrfmiddlewaretoken" value="{% templatetag openvariable %}csrf_token{% templatetag closevariable %}"> |