Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 868 Bytes

README.rst

File metadata and controls

33 lines (22 loc) · 868 Bytes

django-webcam

django fields to get and store webcam snaphot

  • fully compatible with Django FileField protocol
  • Supports gif/jpeg/png
  • Manage multiple fields in the same page
  • Works in the admin as any other field ( need import webcam.admin to configure FORMFIELD_FOR_DBFIELD_DEFAULTS)

Note

based on jquery.webcam plugin from Robert Eisele ([email protected])

Examples

models.py:

import webcam.admin # needed to show the right widget in the admin
from django.db import models
from webcam.fields import CameraField

class Person(models.Model):
    picture = CameraField()

Links