Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Resint
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Official
AlekSIS-App-Resint
Commits
195322db
Commit
195322db
authored
4 years ago
by
Frank Poetzsch-Heffter
Browse files
Options
Downloads
Patches
Plain Diff
Migrations and bug fixing
parent
73d61791
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Only rename app title, data model is unchanged
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
aleksis/apps/resint/menus.py
+5
-5
5 additions, 5 deletions
aleksis/apps/resint/menus.py
aleksis/apps/resint/migrations/0001_initial.py
+0
-30
0 additions, 30 deletions
aleksis/apps/resint/migrations/0001_initial.py
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
6 additions
and
36 deletions
aleksis/apps/resint/menus.py
+
5
−
5
View file @
195322db
from
django.utils.translation
import
ugettext_lazy
as
_
POSTER
S
=
{
"
NAV_
POSTER
_CORE
"
:
[
MENU
S
=
{
"
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
"
],
},
],
}
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/resint/migrations/0001_initial.py
deleted
100644 → 0
+
0
−
30
View file @
73d61791
# 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
'
)},
},
),
]
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
195322db
[tool.poetry]
name
=
"AlekSIS-App-Resint"
version
=
"2.0
2
a"
version
=
"2.0a
1
"
packages
=
[
{
include
=
"aleksis"
}
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment