skip to navigation
skip to content

Not Logged In

django-webcam 0.1.4b3

Latest Version: 0.1b1

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

Note

It use the jquery.webcam plugin from Robert Eisele (robert@xarg.org)

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 %}
 
File Type Py Version Uploaded on Size
django-webcam-0.1.4b3.tar.gz (md5) Source 2012-07-01 14KB
  • Downloads (All Versions):
  • 22 downloads in the last day
  • 91 downloads in the last week
  • 758 downloads in the last month