Skip to main content

UNKNOWN

Project description

django fields and templetags to store easier webcam snaphot in ImageField ( ie Facebook Profile )

Examples

models.py:

class Person(models.Model):
    picture = CameraField(upload_to='photos', blank=True)

urls.py:

sec('/picture/(?P<pk>\d+)/$'),
    CameraView.as_view(target='registration.Person.picture'), name='picture-mgm')

your template:

{% load webcam %}

{% url "picture-mgm" object.pk as picmgm %}
{% url "camera" object.picture as default_image %}
{% camera  picmgm default_image %}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-webcam-0.1.4b2.tar.gz (14.3 kB view details)

Uploaded Source

File details

Details for the file django-webcam-0.1.4b2.tar.gz.

File metadata

File hashes

Hashes for django-webcam-0.1.4b2.tar.gz
Algorithm Hash digest
SHA256 4bfe007337c284658f5df8524fa2b4e679b88f10eac4bdb6683720a33f35bfda
MD5 1a71a6b2be6af7835894f11b1a8c6982
BLAKE2b-256 a3e39fe0c47db7f8fc4cca1b154f9bb39eb23027dc9d54d95fc6834a141f3a43

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page