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
Metadata
Release files for django-webcam 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-webcam-0.4.2.tar.gz | 106.8 kB | Details |
Release files / django-webcam-0.4.2.tar.gz
| Download URL | django-webcam-0.4.2.tar.gz |
|---|---|
| Size | 106.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
467fa216c8cc502e153a3d7f9535534e8c381692b47b0383f015d19d8a856d31
|
|
BLAKE2b-256 checksum How to use checksums |
8602371141051bc66a6da38689cbc52a71c846677ef0329a58f3ad69e7f83edb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |