Compare commits
4 Commits
6e5ee54b36
...
21fb9a4a8d
Author | SHA1 | Date |
---|---|---|
Ales (Shagi) Zabala Alava | 21fb9a4a8d | |
Ales (Shagi) Zabala Alava | c2d2c3a059 | |
Ales (Shagi) Zabala Alava | 3ef0857127 | |
Ales (Shagi) Zabala Alava | bef22330be |
12
changelog.md
12
changelog.md
|
@ -1,6 +1,18 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
0.8.2
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Add GASConfig.default_auto_field
|
||||||
|
* Remove default_app_config
|
||||||
|
* Add admin.py file
|
||||||
|
|
||||||
|
0.8.1
|
||||||
|
-----
|
||||||
|
|
||||||
|
* Bugfix
|
||||||
|
|
||||||
0.8
|
0.8
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
default_app_config = "gas.apps.GASConfig"
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
from django.contrib import admin
|
||||||
|
|
||||||
|
from . import models
|
||||||
|
|
||||||
|
|
||||||
|
@admin.register(models.UserRole)
|
||||||
|
class UserRoleAdmin(admin.ModelAdmin):
|
||||||
|
list_display = ('user', 'role')
|
||||||
|
list_filter = ('role',)
|
|
@ -3,6 +3,7 @@ from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
class GASConfig(AppConfig):
|
class GASConfig(AppConfig):
|
||||||
|
default_auto_field = 'django.db.models.AutoField'
|
||||||
name = 'gas'
|
name = 'gas'
|
||||||
verbose_name = _('GAS')
|
verbose_name = _('GAS')
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = django-gas
|
name = django-gas
|
||||||
version = 0.8
|
version = 0.8.2
|
||||||
description = An alternative to django admin
|
description = An alternative to django admin
|
||||||
long_description = file: readme.md, changelog.md, collaborators.md
|
long_description = file: readme.md, changelog.md, collaborators.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
|
|
Loading…
Reference in New Issue