Compare commits
No commits in common. "21fb9a4a8d07846134f2293f902c51a56da6c261" and "6e5ee54b36cf187f9ac85d815f1bdbe268c80ac7" have entirely different histories.
21fb9a4a8d
...
6e5ee54b36
12
changelog.md
12
changelog.md
|
@ -1,18 +1,6 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
0.8.2
|
||||
-----
|
||||
|
||||
* Add GASConfig.default_auto_field
|
||||
* Remove default_app_config
|
||||
* Add admin.py file
|
||||
|
||||
0.8.1
|
||||
-----
|
||||
|
||||
* Bugfix
|
||||
|
||||
0.8
|
||||
---
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
default_app_config = "gas.apps.GASConfig"
|
|
@ -1,9 +0,0 @@
|
|||
from django.contrib import admin
|
||||
|
||||
from . import models
|
||||
|
||||
|
||||
@admin.register(models.UserRole)
|
||||
class UserRoleAdmin(admin.ModelAdmin):
|
||||
list_display = ('user', 'role')
|
||||
list_filter = ('role',)
|
|
@ -3,7 +3,6 @@ from django.utils.translation import gettext_lazy as _
|
|||
|
||||
|
||||
class GASConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.AutoField'
|
||||
name = 'gas'
|
||||
verbose_name = _('GAS')
|
||||
|
||||
|
|
Loading…
Reference in New Issue