Skip to content

Commit 33d8dc7

Browse files
committedNov 20, 2024
add basic documentation for login app #1895 #1363
1 parent 13d30f4 commit 33d8dc7

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
 

‎docs/oeplatform-code/apps/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# oeplatform django apps
2+
3+
In this section we document the oeplatform applications. As we not yet migrated the architecture to a more commonly used one we maintain all apps in the root django project directory. This impacts how we apply settings as configuration to the whole system. Each App implements a specific group of features to provide solutions to certain user needs. We implement the apps to provide very specific tool to all users and encourage them to upload and document their data. This approach reflects our vision to continually publish our research work results as publicly usable functionality. This requirement we set ourself often brings a lot of extra effort as usability must also be prioritized. This correctly suggests that each app also maintains a user interface and possibly also some app specific data is stored in the django database.

‎docs/oeplatform-code/apps/login.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Login
2+
3+
This app handles the user authentication using django allauth and implements a user profile that provide an overview on tables and helps to manage the datasets draft or published state. Additionally the profile pages include the permission groups to manage data table resource access permissions as group with other users. The last feature is the user profile, including a view showing the api token with functionality to reset it as well as a Form to provide additional user data like adding a user image.
4+
5+
## App Components
6+
7+
The components of each app implement the django app structure and implement a MVVM pattern for web applications. This includes the files model.py, views.py, urls.py, Then there are migrations that specify the django table structure and is also a core django feature. The templates include all HTML page payouts including django template syntax to render pages with dynamic server data and JavaScript. Additionally there might be other folders and python modules available.w
8+
9+
### Views
10+
11+
::: login.views

0 commit comments

Comments
 (0)
Please sign in to comment.