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.4b3.tar.gz (14.4 kB view hashes)

Uploaded Source

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