Hanne Moa

Results 288 comments of Hanne Moa

Fields, existing NAV user/group table: ``` # nav/models/profiles.py class Account(models.Model): login = VarcharField(unique=True) name = VarcharField() password = VarcharField() ext_sync = VarcharField(blank=True) preferences = HStoreField(default=dict) class AccountGroup(models.Model): name = VarcharField()...

It is possible to replace the User-model in django.contrib.auth, but not any of the others. Minimal user-model: * django.contrib.admin needs Group, Permission, is_staff, is_superuser (full AbstractUser) * python-social-auth (OIDC/OAuth2/SAML) just...

> Can't see anything wrong with the added functionality itself (except it seems to me that GNOC will still bypass all these hook-ins by writing their own settings file by...

This should probably be tested locally since it involves an actual sql migration that they originally botched, judging from the release notes.

> This is a good birds-eye view - but it does comes dangerously close to being just a glossary of terms. Could Sphinx' glossary functionality be leveraged in some way...

Hm, Sphinx `glossary` is not hierarchical, so there would be no good way to both discuss sources and types of sources without a major rewrite.

.. it might be useful to have a readonly endpoint that shows which event types are available for use with the API for the logged-in user.

The class is more or less copied/simplified from django-extensions show_urls and is overkill for this sole test. It's handy functionality to have around though, should perhaps live in a util...

Yeah we should move "How to use towncrier" to docs, out of README. But one or two files? Might be best to have * how to use towncrier to create...

Another howto needed: split out how to override settings file from `site-specific-settings.rst` so that that file is only a list of settings.