Skip to main content

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

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

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

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

![Menu](/images_readme/menu_admin2.png)

## Файл 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’]

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)

Source distribution for monocle_menu 0.1.0.7
File Size Uploaded
monocle_menu-0.1.0.7.tar.gz 3.3 kB Details

Built distribution (wheel)

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

Total release size: 9.6 kB

Release files / monocle_menu-0.1.0.7.tar.gz

Download URL monocle_menu-0.1.0.7.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
988e9c71cf4739a1a646a927fe7a540636e6108e282a9632284fcb8bf92960b9
BLAKE2b-256 checksum
How to use checksums
868fe51cb03ba70bf56eac90eb1d596ae94ae845dc0d3dcfebcf27c1deec9033
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / monocle_menu-0.1.0.7-py3-none-any.whl

Download URL monocle_menu-0.1.0.7-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fea78eb1f2a02806e4c633ee1155b8e29b2c0adf1a557660d6aa6875d6cdad5
BLAKE2b-256 checksum
How to use checksums
b3c109057e61d7c2d47857338ac6af1a7daab0f53095b925903b1e83d8bb6d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0.7 This release

2 release files

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