Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Social buttons for landings

Project Description

— ### Модуль: monocle_social_buttons

Модуль для отображения на странице ссылок на социальные сети.

## Пример отображения на сайте: ![Social](/images_readme/social.png)

## Пример отображения в панели администрирования: ![Social](/images_readme/social_admin1.png)

![Social](/images_readme/social_admin2.png)

## Файл models.py:

from django.db import models

class SocialButton(models.Model):

name = models.CharField(max_length=255, verbose_name= ‘Название социальной сети’) icon = models.ImageField(upload_to=’models/%Y/%m/%d’, verbose_name= ‘Иконка соцсети’) url = models.URLField() position = models.PositiveIntegerField(default=0, verbose_name=’Порядок’)

def __str__(self):
return self.name
class Meta:
verbose_name_plural = u’Социальные кнопки’ verbose_name = u’Социальная кнопка’ ordering = [‘position’]
Release History

Release History

This version
History Node

0.2.0.3

History Node

0.2.0.2

History Node

0.2.0.1

History Node

0.2.0.0

History Node

0.1.0.9

History Node

0.1.0.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
monocle_social_buttons-0.2.0.3-py3-none-any.whl (131.8 kB) Copy SHA256 Checksum SHA256 3.4 Wheel May 24, 2015
monocle_social_buttons-0.2.0.3.tar.gz (117.9 kB) Copy SHA256 Checksum SHA256 Source May 24, 2015

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