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
10c85abf
Commit
10c85abf
authored
4 years ago
by
Frank Poetzsch-Heffter
Browse files
Options
Downloads
Patches
Plain Diff
Reformat code
parent
185642c4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
aleksis/apps/mensa/forms.py
+1
-0
1 addition, 0 deletions
aleksis/apps/mensa/forms.py
aleksis/apps/mensa/views.py
+8
-6
8 additions, 6 deletions
aleksis/apps/mensa/views.py
with
9 additions
and
6 deletions
aleksis/apps/mensa/forms.py
+
1
−
0
View file @
10c85abf
from
django
import
forms
from
django.core.validators
import
FileExtensionValidator
from
django.utils
import
timezone
from
material
import
Layout
,
Row
from
.models
import
Menu
...
...
This diff is collapsed.
Click to expand it.
aleksis/apps/mensa/views.py
+
8
−
6
View file @
10c85abf
import
os
from
calendarweek
import
CalendarWeek
from
constance
import
config
from
django.conf
import
settings
from
django.contrib.auth.decorators
import
login_required
,
permission_required
from
django.http
import
FileResponse
from
django.shortcuts
import
render
,
redirect
,
get_object_or_404
from
django.shortcuts
import
get_object_or_404
,
redirect
,
render
from
django.utils
import
timezone
from
django.utils.translation
import
gettext_lazy
as
_
from
django.conf
import
settings
from
calendarweek
import
CalendarWeek
from
constance
import
config
from
aleksis.core.util
import
messages
from
.forms
import
MenuUploadForm
from
.models
import
Menu
from
.settings
import
BASE_DIR
from
.forms
import
MenuUploadForm
from
aleksis.core.util
import
messages
@login_required
...
...
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