django-cookie-consent
  • Quickstart
  • Main concepts
  • Usage
  • Javascript integration
  • Settings
  • Example app
  • API Reference
    • Models
      • BaseQueryset
        • BaseQueryset.delete()
        • BaseQueryset.update()
      • Cookie
        • Cookie.DoesNotExist
        • Cookie.MultipleObjectsReturned
        • Cookie.save()
      • CookieGroup
        • CookieGroup.DoesNotExist
        • CookieGroup.MultipleObjectsReturned
        • CookieGroup.save()
      • CookieGroupDict
      • LogItem
        • LogItem.DoesNotExist
        • LogItem.MultipleObjectsReturned
    • Views
    • Util
    • Template tags
    • Middleware
  • Contributing
  • Migrating to 1.0
  • Changelog
django-cookie-consent
  • API Reference
  • Models
  • View page source

Models

class cookie_consent.models.BaseQueryset(model=None, query=None, using=None, hints=None)
delete(**kwargs: ~typing.~P)

Delete the records in the current QuerySet.

update(**kwargs: ~typing.~P)

Update all elements in the current QuerySet, setting all the given fields to the appropriate values.

class cookie_consent.models.Cookie(id, cookiegroup, name, description, path, domain, created)
exception DoesNotExist
exception MultipleObjectsReturned
save(**kwargs: ~typing.~P)

Save the current instance. Override this in a subclass if you want to control the saving process.

The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

class cookie_consent.models.CookieGroup(id, varname, name, description, is_required, is_deletable, ordering, created)
exception DoesNotExist
exception MultipleObjectsReturned
save(**kwargs: ~typing.~P)

Save the current instance. Override this in a subclass if you want to control the saving process.

The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.

class cookie_consent.models.CookieGroupDict
class cookie_consent.models.LogItem(id, action, cookiegroup, version, created)
exception DoesNotExist
exception MultipleObjectsReturned
Previous Next

© Copyright 2013, Bojan Mihelac.

Built with Sphinx using a theme provided by Read the Docs.