Anonymous user
Django for Designers/Whats next: Difference between revisions
→Add the ability to filter by user
imported>Paulproteus |
imported>Paulproteus |
||
Line 375:
</source>
====
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
Doing this requires no changes to your code. Cool, huh?
==== Further directions ====
|