Menu app for django-monocle project
Project description
— ### Модуль: 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’]
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters