Skip to main content

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

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)

Uploaded Source

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

Hashes for django-webcam-0.4.2.tar.gz
Algorithm Hash digest
SHA256 467fa216c8cc502e153a3d7f9535534e8c381692b47b0383f015d19d8a856d31
MD5 0f20c56c7337df9cb47e637371041e3f
BLAKE2b-256 8602371141051bc66a6da38689cbc52a71c846677ef0329a58f3ad69e7f83edb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.2 This release

1 file

0.4

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page