View refactoring #490
Closed
opened 2025-10-15 10:49:56 +02:00 by mpeltriaux
·
2 comments
490_View_refactoring
Clear current reference
master
Docker
#600_Neue_Geodienste
oauth_update
cicd
test-actions-runner
Clear current reference
1.27.2
1.27.1
1.27
1.26.4
1.26.3
1.26.2
1.26.1
1.26
1.25.1
1.25
1.24.1
1.24
1.23.1
1.23
1.22.1
1.22
1.21
1.20.2
1.20.1
1.20
1.19
1.18
1.17
1.16.1
1.16
1.15
1.14.2
1.14.1
1.14
1.13.10
1.13.9
1.13.8
1.13.7
1.13.6
1.13.5
1.13.4
1.13.3
1.13.2
1.13.1
1.13
1.12
1.11
1.10.1
1.10
1.9.12
1.9.11
1.9.10
1.9.9
1.9.8
1.9.7
1.9.6
1.9.5
v1.9.3
1.9.2
1.9.1
1.9
1.8
1.7
1.6
1.5
1.4.3
1.4.2
1.4.1
v1.3
v1.2
v1.1
v1.0
v0.6
v0.5
v0.4
v0.3.1
v0.3
v0.2
v0.1
Labels
Clear labels
backlog
bug
duplicate
enhancement
feature
help wanted
invalid
question
wontfix
MAUS - Pacht
bug
duplicate
enhancement
help wanted
in discussion
invalid
question
wontfix
Absolutely no priority, but maybe some day...
Something is not working
This issue or pull request already exists
Idea for existing feature
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
Issues für Maus-Pacht / Version processware
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
priority
1
priority
2
priority
3
priority
4
priority
5
No labels
enhancement
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
mpeltriaux
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: IT-Naturschutz/konova#490
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Status quo
Konova was created back when function based views were the default for Django. This has shifted in the last years and all other projects we are doing on here are class based views.
The code could be properly optimized/reduced if the views would be refactored from functions to classes.
ToDo
Improve code base by refactoring all function based views into class based ones.
This issue escalates into a heavy refactoring of many parts of the view logic. However, this step is important to simplify the code even further and reduce complexity.
Has been merged in #520