django-webcamDjango fields and templetags to store easier webcam snaphot in ImageField | |
Download |
django-webcam Ranking & Summary
Advertisement
django-webcam Tags
django-webcam Description
django-webcam is a Django app that provides Django fields and template tags to store easier webcam snaphot in ImageField (ie Facebook Profile ).Examplesmodels.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 %}Product's homepage
django-webcam Related Software