basxbread.contrib.publicurls package
Submodules
basxbread.contrib.publicurls.models module
- class basxbread.contrib.publicurls.models.PublicURL(id, name, url, salt, created, valid_for, has_form, create_new_entry_from_response, thankyou_text)
Bases:
Model
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- absolute_publicurl(request)
- create_new_entry_from_response
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- get_next_by_created(*, field=<django.db.models.fields.DateTimeField: created>, is_next=True, **kwargs)
- get_previous_by_created(*, field=<django.db.models.fields.DateTimeField: created>, is_next=False, **kwargs)
- has_form
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- publicurl()
- salt
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- save(*args, **kwargs)
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.
- thankyou_text
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- url
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- valid_for
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- basxbread.contrib.publicurls.models.validate_regex(value)
- basxbread.contrib.publicurls.models.validate_url(value)
basxbread.contrib.publicurls.urls module
- basxbread.contrib.publicurls.urls.publicurlview(request, token)