django fields easy store webcam snaphot
Project description
django fields easy store webcam snaphot ( ie Facebook Profile )
Can store in database or filesystem
Support gif/jpeg/png
Manage multiple fields in the same page
Works in the admin as any other field
Examples
models.py:
from django.db import models from webcam.fields import DBCameraField, FSCameraField from webcam.storage import CameraFileSystemStorage class Person(models.Model): picture1 = DBCameraField() # store in the database picture2 = FSCameraField(format='gif') # by default storen on settings.MEDIA_ROOT picture3 = FSCameraField(format='png', storage=CameraFileSystemStorage('/absolute/path/to/'), null=True, blank=True) # store on filesystem
Links
Project home page: https://github.com/saxix/django-webcam
Issue tracker: https://github.com/saxix/django-webcam/issues?sort
Project details
Release history Release notifications | RSS feed
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.4.2.tar.gz
(106.8 kB
view details)
File details
Details for the file django-webcam-0.4.2.tar.gz
.
File metadata
- Download URL: django-webcam-0.4.2.tar.gz
- Upload date:
- Size: 106.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 467fa216c8cc502e153a3d7f9535534e8c381692b47b0383f015d19d8a856d31 |
|
MD5 | 0f20c56c7337df9cb47e637371041e3f |
|
BLAKE2b-256 | 8602371141051bc66a6da38689cbc52a71c846677ef0329a58f3ad69e7f83edb |