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.

Files for monocle_menu, version 0.1.0.7
Filename, size File type Python version Upload date Hashes
Filename, size monocle_menu-0.1.0.7-py3-none-any.whl (6.3 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size monocle_menu-0.1.0.7.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page