— ### Модуль: monocle_menu —
Меню для навигации по сайту. Переходы между блоками анимированы.
## Пример отображения на сайте: 
## Пример отображения в панели администрирования: 

## Файл models.py:
from django.db import models
- class Menu(models.Model):
name = models.CharField(max_length=255, verbose_name=’Название пункта меню’) anchor = models.CharField(max_length=255, verbose_name=’ID блока’) 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_menu 0.1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| monocle_menu-0.1.0.7.tar.gz | 3.3 kB | Without provenance | Details for monocle_menu-0.1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| monocle_menu-0.1.0.7-py3-none-any.whl | Python 3 | none | any | Details for monocle_menu-0.1.0.7-py3-none-any.whl |
Total release size: 9.6 kB
Security for monocle_menu 0.1.0.7
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.