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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user