Django for Designers/Whats next: Difference between revisions
Content added Content deleted
imported>Paulproteus |
imported>Paulproteus |
||
Line 375: | Line 375: | ||
</source> |
</source> |
||
==== |
==== Filter by user ==== |
||
Our API lets us filter by any of the fields it returns. So, for example, you can filter the results by user by visiting: |
|||
http://localhost:8000/api/bookmark/?user__username=yourself |
|||
* Update Python code to export data via Tastypie |
|||
Doing this requires no changes to your code. Cool, huh? |
|||
* Demo that it works, in a browser |
|||
* git commit |
|||
==== Further directions ==== |
==== Further directions ==== |