Uninett / Argus

Argus is an alert aggregator for monitoring systems
GNU General Public License v3.0
18 stars 12 forks source link

Only show user's filters in profile admin change page #789

Closed johannaengland closed 2 months ago

johannaengland commented 2 months ago

Closes #735.

It is quite hacky, but it works, so...

For reference: https://docs.djangoproject.com/en/4.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_manytomany

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.58%. Comparing base (5025523) to head (1e90440).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #789 +/- ## ======================================= Coverage 84.58% 84.58% ======================================= Files 75 75 Lines 3762 3762 ======================================= Hits 3182 3182 Misses 580 580 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

Test results

       7 files     574 suites   21m 38s :stopwatch:    462 tests    461 :heavy_check_mark: 1 :zzz: 0 :x: 3 234 runs  3 227 :heavy_check_mark: 7 :zzz: 0 :x:

Results for commit 1e904408.

:recycle: This comment has been updated with latest results.

hmpf commented 2 months ago

Yeah there are no length-limitations for changelog entries! Also, if an existing entry is hard to understand it is okay to improve the text in some later "Improve prose" commit!

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud