Hi friends, I'm using Django 1.1, and I want to change the widget by default
on ManyToManyField for it looks as user permissions field in Django.
For that, in my admin.py I wrote:
from django.contrib import admin
from myproject.app.models import Book
class BookAdmin(admin.ModelAdmin):
filter_horizontal = ('author',)
admin.site.register(Book, BookAdmin)
I copied all .js (SelectBox.js, SelectFilter2.js, among others) to
/myproject/media/js. But don't work, because don't appears any widget in
author field. Why? What is the mistake?
Thank's for any help,
Sandra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---