[PR #314] [MERGED] Some fixes and changes #494

Closed
opened 2026-02-27 15:58:55 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtcloud/pull/314
Author: @Real-Gecko
Created: 5/25/2020
Status: Merged
Merged: 5/28/2020
Merged by: @retspen

Base: masterHead: master


📝 Commits (8)

  • 618d88f Fix default admin user
  • 6d82c28 Fix instance bottom bar overlapping main content
  • 38befa4 Added django-login-required-middleware
  • 27f62df Added admin application
  • 2a0d240 Fix admin urls not included into main urls.py
  • a62daad Added change password permission
  • 3d04935 Added 'instances:clone_instances' permission
  • e4e79d3 Added info from #18 to README

📊 Changes

54 files changed (+1204 additions, -853 deletions)

View changed files

📝 README.md (+19 -0)
📝 accounts/migrations/0002_addAdmin.py (+3 -1)
accounts/migrations/0003_permissionset.py (+24 -0)
accounts/migrations/0004_apply_change_password.py (+25 -0)
accounts/migrations/0005_remove_userattributes_can_clone_instances.py (+18 -0)
📝 accounts/models.py (+49 -23)
accounts/templates/accounts-list.html (+0 -175)
accounts/templates/accounts.html (+0 -144)
accounts/templates/create_user_block.html (+0 -38)
📝 accounts/templates/login.html (+3 -3)
📝 accounts/templates/profile.html (+1 -1)
📝 accounts/urls.py (+2 -2)
📝 accounts/views.py (+14 -98)
📝 admin/__init__.py (+0 -0)
admin/apps.py (+5 -0)
admin/decorators.py (+10 -0)
admin/forms.py (+94 -0)
admin/migrations/0001_initial.py (+30 -0)
admin/migrations/__init__.py (+0 -0)
admin/models.py (+11 -0)

...and 34 more files

📄 Description

  • Fix error: RelatedObjectDoesNotExist: User has no userattributes.
    "instances/views.py", line 162, in check_user_quota

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtcloud/pull/314 **Author:** [@Real-Gecko](https://github.com/Real-Gecko) **Created:** 5/25/2020 **Status:** ✅ Merged **Merged:** 5/28/2020 **Merged by:** [@retspen](https://github.com/retspen) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (8) - [`618d88f`](https://github.com/retspen/webvirtcloud/commit/618d88f1c4253b1b7133cdd697729e32c67fb8fe) Fix default admin user - [`6d82c28`](https://github.com/retspen/webvirtcloud/commit/6d82c2820b96757b933321d86b70e7ce23da447e) Fix instance bottom bar overlapping main content - [`38befa4`](https://github.com/retspen/webvirtcloud/commit/38befa43627b020b61d10b4739c7a41598fb4b8b) Added django-login-required-middleware - [`27f62df`](https://github.com/retspen/webvirtcloud/commit/27f62dff6c8c1e2f5cbcdb49204e96022a6e5fb2) Added admin application - [`2a0d240`](https://github.com/retspen/webvirtcloud/commit/2a0d2400384de1cb6c50d5a59848664481bd6bfe) Fix admin urls not included into main urls.py - [`a62daad`](https://github.com/retspen/webvirtcloud/commit/a62daad87bf19d10718676e23bb9268101a2d008) Added change password permission - [`3d04935`](https://github.com/retspen/webvirtcloud/commit/3d0493537fb81bdd59fca11feea9574103841a2c) Added 'instances:clone_instances' permission - [`e4e79d3`](https://github.com/retspen/webvirtcloud/commit/e4e79d3d4bbd1cb3c1defcea2a5eabb702490684) Added info from #18 to README ### 📊 Changes **54 files changed** (+1204 additions, -853 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+19 -0) 📝 `accounts/migrations/0002_addAdmin.py` (+3 -1) ➕ `accounts/migrations/0003_permissionset.py` (+24 -0) ➕ `accounts/migrations/0004_apply_change_password.py` (+25 -0) ➕ `accounts/migrations/0005_remove_userattributes_can_clone_instances.py` (+18 -0) 📝 `accounts/models.py` (+49 -23) ➖ `accounts/templates/accounts-list.html` (+0 -175) ➖ `accounts/templates/accounts.html` (+0 -144) ➖ `accounts/templates/create_user_block.html` (+0 -38) 📝 `accounts/templates/login.html` (+3 -3) 📝 `accounts/templates/profile.html` (+1 -1) 📝 `accounts/urls.py` (+2 -2) 📝 `accounts/views.py` (+14 -98) 📝 `admin/__init__.py` (+0 -0) ➕ `admin/apps.py` (+5 -0) ➕ `admin/decorators.py` (+10 -0) ➕ `admin/forms.py` (+94 -0) ➕ `admin/migrations/0001_initial.py` (+30 -0) ➕ `admin/migrations/__init__.py` (+0 -0) ➕ `admin/models.py` (+11 -0) _...and 34 more files_ </details> ### 📄 Description - Fix error: RelatedObjectDoesNotExist: User has no userattributes. "instances/views.py", line 162, in check_user_quota --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:58:55 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#494
No description provided.