xadmin
xadmin copied to clipboard
Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.
after you login with admin/admin shows error **permission denied for relation django_session**
设置的x轴为编号,y轴为数量,也就是统计所有编号的数量,结果y轴显示为不同的数量,但x轴显示的并不是编号,为什么,这是哪里的问题呢?求大神们帮忙解答一下,谢谢!
list_display = ['device_id', 'device_name', 'device_place', 'device_count', 'created_time', 'owner', 'priority', 'department', 'process', 'repair_time', 'operator_acceptance', 'operator_report', ] list_export = ('xls', 'csv', 'xml', 'json') list_export_fields = ('device_id',) 但是导出的excel是全部字段都导出 源代码如下: class Device_Repair_Admin(object): def operator_acceptance(self,...
  有像amin中那样继承UserAdmin的操作吗?
http://127.0.0.1:8000/xadmin/approval/sopsworkflowinstance/abc_123/update/ ======================================================== Request Method: | GET -- | -- http://127.0.0.1:8000/xadmin/approval/sopsworkflowinstance/abc_123/update/ xadmin.sites.approvalsopsworkflowinstanceAdminUpdateAdminViewModelFormAdminViewModelAdminViewGlobalSettingsCommAdminViewBaseSettingBaseAdminViewBaseAdminObjectViewobject 具有主键 'abc_123' 的对象 工单 不存在。 ========================================================== 数据库中把abc_123改成abc-123就可以
xadmin的inlines的readonly_fields不生效,求教大佬
Hi, will xadmin support django3 in coming future? This is a wonderful wheel.
# models: class Collect(models.Model): user = models.ForeignKey(User) wine = models.ForeignKey(Wine) class User(models.Model): nickname = models.CharField(max_length=50) img = models.ImageField(upload_to='') 在xadmin中,如果我在Collect的CreateFormView界面中添加user,因为user包含图片字段,而xadmin的插件quickform在弹出的dialog中表单提交的方式是ajax,所以图书会上传不上去.
Dear devs, This seems to be an amazing app, but the demo is not working anymore, the English documentation is not finished and the last update was 15 months ago....