Compare commits

..

No commits in common. "21fb9a4a8d07846134f2293f902c51a56da6c261" and "6e5ee54b36cf187f9ac85d815f1bdbe268c80ac7" have entirely different histories.

5 changed files with 2 additions and 23 deletions

View File

@ -1,18 +1,6 @@
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
--- ---

View File

@ -0,0 +1 @@
default_app_config = "gas.apps.GASConfig"

View File

@ -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',)

View File

@ -3,7 +3,6 @@ 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')

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = django-gas name = django-gas
version = 0.8.2 version = 0.8
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