UNKNOWN
Project description
django fields and templetags to store easier webcam snaphot in ImageField ( ie Facebook Profile )
Examples
models.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 %}
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.1.4b2.tar.gz
(14.3 kB
view details)
File details
Details for the file django-webcam-0.1.4b2.tar.gz
.
File metadata
- Download URL: django-webcam-0.1.4b2.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bfe007337c284658f5df8524fa2b4e679b88f10eac4bdb6683720a33f35bfda |
|
MD5 | 1a71a6b2be6af7835894f11b1a8c6982 |
|
BLAKE2b-256 | a3e39fe0c47db7f8fc4cca1b154f9bb39eb23027dc9d54d95fc6834a141f3a43 |