Skip to content

SphinxModelAdmin doesn't work #28

@bekbulatov

Description

@bekbulatov

Did as Docs tell:

from djangosphinx.admin import SphinxModelAdmin

class MyAdmin(SphinxModelAdmin):
        index = 'my_index_name' # defaults to Model._meta.db_table
        weights = {'field': 100}

As result I got error global name 'Paginator' is not defined, fixed it, then another one - 'list' object has no attribute 'ordered'

Don't know what to do with this.

P.S. Django 1.3 if it matters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions