Skip to main content

Menu app for django-monocle project

Project description

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

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

monocle_menu-0.1.0.7.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

monocle_menu-0.1.0.7-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file monocle_menu-0.1.0.7.tar.gz.

File metadata

File hashes

Hashes for monocle_menu-0.1.0.7.tar.gz
Algorithm Hash digest
SHA256 988e9c71cf4739a1a646a927fe7a540636e6108e282a9632284fcb8bf92960b9
MD5 f2bd336ce9b3ed64882c45e079e1f896
BLAKE2b-256 868fe51cb03ba70bf56eac90eb1d596ae94ae845dc0d3dcfebcf27c1deec9033

See more details on using hashes here.

File details

Details for the file monocle_menu-0.1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for monocle_menu-0.1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2fea78eb1f2a02806e4c633ee1155b8e29b2c0adf1a557660d6aa6875d6cdad5
MD5 302d5305d01e34ee2680831ceab28e5e
BLAKE2b-256 b3c109057e61d7c2d47857338ac6af1a7daab0f53095b925903b1e83d8bb6d44

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page