Fixed CityAdminMixin change_view error
Project description
一个基于django的城市模块
快速开始:
安装django-city:
pip install django-city
修改setttings.py:
INSTALLED_APPS = (
...
'city',
...
)
在admin中使用:
from city.admin import CityAdminMixin
class DemoAdmin(CityAdminMixin, admin.ModelAdmin):
pass
在views中使用:
from city.views import CityViewMixin
class DemoView(CityViewMixin):
pass
版本更改:
v0.0.2 添加`CityViewMixin`
v0.0.1 第一版
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-city-0.0.4.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for django_city-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600e5baeac8ccc3ab4e36bd632b68210225cfcdbee11af3caf418fdc77ae74e2 |
|
MD5 | 0bbf0b5c6a7a5b0b9962f1151dbbd6bc |
|
BLAKE2b-256 | 6255523e9e14d245327db7cb45495122cd6bf6eda8901ce5abccd4569cef0435 |