Social buttons for landings
Project description
— ### Модуль: monocle_social_buttons
Модуль для отображения на странице ссылок на социальные сети.
—
## Пример отображения на сайте: 
## Пример отображения в панели администрирования: 

## Файл 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’]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters