readthedocs.bookmarks

readthedocs.bookmarks.admin

Django admin interface for Bookmark.

readthedocs.bookmarks.models

class readthedocs.bookmarks.models.Bookmark(id, user, project, version, page, date, url)

readthedocs.bookmarks.views

class readthedocs.bookmarks.views.BookmarkAddView(**kwargs)

Adds bookmarks in response to POST requests

post(request, *args, **kwargs)

Add a new bookmark for the current user to point at project, version, page, and url.

class readthedocs.bookmarks.views.BookmarkListView(**kwargs)

Displays all of a logged-in user’s bookmarks

model

alias of Bookmark

class readthedocs.bookmarks.views.BookmarkRemoveView(**kwargs)

Deletes a user’s bookmark in response to a POST request. Renders a delete? confirmation page in response to a GET request.

post(request, *args, **kwargs)

Will delete bookmark with a primary key from the url or using json data in request.