Re: Getting instance of current in django site admin
You have not supplied enough information to make this an answerable question. What is not happening that you expect should be happening?
On Saturday, 22 September 2012 06:32:12 UTC+2, Krish wrote:
I have following code in my admin.py--class PackageForm(forms.ModelForm):activity = forms.CharField(required=False) class Meta:model = Packageclass PackageAdmin(AjaxSelectAdmin):form = PackageFormadmin.site.register(Package, PackageAdmin)So while editing package, I want to change certain value of Package object. how can I do this?
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/szvkON7PMe8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home