Code Monkey home page Code Monkey logo

django-iadmin's Introduction

Django iAdmin

This repository is not maintained, and will not be updated. Some functionalities have been moved to external applications. Please take a look at:

https://github.com/saxix/django-adminactions https://github.com/saxix/django-ichangelist https://github.com/saxix/django-adminfilters

image

iAdmin is a replacement of standard django admin application.

Features

  • tabbed view of inlines
  • mass updates functionality
  • export to csv with options and formatting
  • link to foreignkey edit page from changelist (list_display_rel_links)
  • filter by cell values (cell_filters)
  • info page with packages, installed apps version, database info

Please read online documentation at http://readthedocs.org/docs/django-iadmin/en/latest/

Installation

Read installation instruction at http://readthedocs.org/docs/django-iadmin/en/latest/install/

django-iadmin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-iadmin's Issues

Registering models without providing ModelAdmin description

Hi there,
as I wrote to django-users mailing list django-users, I've found bug when trying to register model without providing ModelAdmin description.

This code works well:

class EntryAdmin(admin.ModelAdmin):
    pass # even without any modifications it's ok

admin.site.register(Entry, EntryAdmin)

Without EntryAdmin, it throws exception:

admin.site.register(Entry)

Exception:

get_query_set() takes exactly 2 arguments (1 given)

I've already found matching line in iadmin, iadmin/views.py:25

class IChangeList(ChangeList):
    def get_query_set(self): # should be get_query_set(self, request)

but even with this modification, I've got another exception about missing attribute order_field in IChangeList class. And even when I added this attribute, admin doesn't works well. Design is broken as columns of table are not streched over whole width. I haven't find another defects yet.

I'm using django develop version, but I've got this errors even on Django 1.3

Updating to 0.1.6.2 yields "unknown distribution option 'profides'"

and for 'summary'.

Mac running Enthought Python 2.6 with setuptools 06c1

install --upgrade django-iadmin
Downloading/unpacking django-iadmin
Downloading django-iadmin-0.1.6.2dev.tar.gz (129Kb): 129Kb downloaded
Running setup.py egg_info for package django-iadmin
/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'profides'
warnings.warn(msg)
/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'summary'
warnings.warn(msg)
no previously-included directories found matching 'iadmin/tests'
Installing collected packages: django-iadmin
Found existing installation: django-iadmin 0.1.6dev
Uninstalling django-iadmin:
Successfully uninstalled django-iadmin
Running setup.py install for django-iadmin
/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'profides'
warnings.warn(msg)
/Library/Frameworks/Python.framework/Versions/6.3/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'summary'
warnings.warn(msg)
no previously-included directories found matching 'iadmin/tests'
Successfully installed django-iadmin
Cleaning up...

ambiguous package name

at line 15 into setup.py the code show : NAME = 'diango-iadmin' instead of NAME = 'django-iadmin'

'silent_unregister' missing in django 1.3

Hi,
first of all good work i was waiting for that type of extension.
Unfortunately i cant run test project on django 1.3. I ran tests and this came out:

ERROR: test_templatetags_result_headers (iadmin.tests.comp.CompatibilityTest)

TemplateSyntaxError

Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/iadmin/tests/comp.py", line 21, in test_templatetags_result_headers
admin.autodiscover()
File "/usr/local/lib/python2.7/site-packages/django/contrib/admin/init.py", line 26, in autodiscover
import_module('%s.admin' % app)
File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/krzysiek/Aptana Studio 3 Workspace/testiadmin/src/testiadmin/geo/admin.py", line 45, in
import iadmin.shortcuts.auth
File "/usr/local/lib/python2.7/site-packages/iadmin/shortcuts/auth.py", line 57, in
admin.site.silent_unregister(User)
AttributeError: 'IAdminSite' object has no attribute 'silent_unregister'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.