1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Define __all__ for models.py within each app

This commit is contained in:
Jeremy Stretch
2020-01-14 12:01:23 -05:00
parent 26a257b794
commit 6959785cd1
10 changed files with 84 additions and 8 deletions

View File

@@ -7,6 +7,11 @@ from django.db import models
from django.utils import timezone
__all__ = (
'Token',
)
class Token(models.Model):
"""
An API token used for user authentication. This extends the stock model to allow each user to have multiple tokens.