This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Welcome
=======

Welcome to django-yafotki github page. Django-yafotki provides access to Yandex.Fotki picture storage from Django.
This repository cloned from https://bitbucket.org/redsnow/django-yafotki Author - Serge A Makarov.

Installation
------------

Get source code from github

git clone git://github.com/glader/django_yafotki.git

or install using pip

pip install -e git+https://github.com/glader/django_yafotki.git#egg=yafotki

Add the django-yafotki/yafotki folder to your PYTHONPATH or install with setup.py

Add your Yandex account info into settings.py

YAFOTKI_STORAGE_OPTIONS = {
'username': 'your_yandex_account_name',
'token': 'your_token'
}

You can obtain token by following instructions at page http://api.yandex.ru/oauth/doc/dg/tasks/get-oauth-token.xml

Add Yandex.Fotki field to your model

...
from yafotki.fields import YFField
...
class MyModel(models.Model):
...
yandex_fotki_image = YFField(upload_to='album_name')
...

Using in views and templates
----------------------------

Use MyModel.yandex_fotki_image.src attribute for access to image source.

...
<img src="{{ img.yandex_fotki_image.src }}"/>
...

If you can access to different image sizes use MyModel.yandex_fotki_image.src_100, for access 100px width image, and MyModel.yandex_fotki_image.src for original image size

...
<img src="{{ img.yandex_fotki_image.src_100 }}" width="100"/>
...
<img src="{{ img.yandex_fotki_image.src_300 }}" width="300"/>
...
<img src="{{ img.yandex_fotki_image.src }}"/>
Release History

Release History

0.7.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.7.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.7.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.7.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_yafotki-0.7.3.zip (8.2 kB) Copy SHA256 Checksum SHA256 Source Jun 2, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting