With JQuery > 1.6 replace .attr() by .prop() or .val(), see http://api.jquery.com/prop/
from django.contrib import admin
from cm.models import *
admin.site.register(Text)
admin.site.register(Role)
admin.site.register(UserProfile)
admin.site.register(UserRole)
admin.site.register(TextVersion)
admin.site.register(Email)
admin.site.register(Activity)
admin.site.register(Notification)