Migrations and bug fixing

parent 73d61791
from django.utils.translation import ugettext_lazy as _
POSTERS = {
"NAV_POSTER_CORE": [
MENUS = {
"NAV_MENU_CORE": [
{
"name": _("Poster"),
"url": "#",
......@@ -12,16 +12,16 @@ POSTERS = {
],
"submenu": [
{
"name": _("Current menu"),
"name": _("Current poster"),
"url": "poster_show_current",
"icon": "picture_as_pdf",
"validators": ["poster_generator.validators.is_authenticated"],
"validators": ["menu_generator.validators.is_authenticated"],
},
{
"name": _("Upload poster"),
"url": "poster_index",
"icon": "file_upload",
"validators": ["poster_generator.validators.is_authenticated"],
"validators": ["menu_generator.validators.is_authenticated"],
},
],
}
......
# Generated by Django 3.0.2 on 2020-01-18 13:05
from django.db import migrations, models
import aleksis.apps.resint.models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Poster',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('calendar_week', models.IntegerField(verbose_name='CW')),
('year', models.IntegerField(verbose_name='Year')),
('pdf', models.FileField(upload_to=aleksis.apps.resint.models.path_and_rename_poster, verbose_name='PDF')),
],
options={
'verbose_name': 'Poster',
'verbose_name_plural': 'Posters',
'unique_together': {('calendar_week', 'year')},
},
),
]
[tool.poetry]
name = "AlekSIS-App-Resint"
version = "2.02a"
version = "2.0a1"
packages = [
{ include = "aleksis" }
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment