Skip to main content

— ### Модуль: 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’]

Metadata

Release files for monocle_social_buttons 0.2.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monocle_social_buttons 0.2.0.3
File Size Uploaded Provenance Actions
monocle_social_buttons-0.2.0.3.tar.gz 117.9 kB Without provenance Details for monocle_social_buttons-0.2.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for monocle_social_buttons 0.2.0.3
File Interpreter ABI Platform Actions
monocle_social_buttons-0.2.0.3-py3-none-any.whl Python 3 none any Details for monocle_social_buttons-0.2.0.3-py3-none-any.whl

Total release size: 249.7 kB

Release files / monocle_social_buttons-0.2.0.3.tar.gz

Download URL monocle_social_buttons-0.2.0.3.tar.gz
Size 117.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a2c3508259a65884e1e5408f0bed0911420df2844303dfa44777b0c50ff47acb
BLAKE2b-256 checksum
How to use checksums
c5bbec9aba6d6c00d53537892bcaee01ee6f75871ff1365165b0d83b7e4c981b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / monocle_social_buttons-0.2.0.3-py3-none-any.whl

Download URL monocle_social_buttons-0.2.0.3-py3-none-any.whl
Size 131.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
637f8ce2c6d2843988724c990f266f64fe430590e546e1a525f173fefad42a77
BLAKE2b-256 checksum
How to use checksums
bb6162ee73b382c4c91fc69c26d73182681660b75d7921d39268f8c6e60fc13a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for monocle_social_buttons 0.2.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page