Monday, August 30, 2010

Re: prepopulated_fields do not work at all Django 1.2

I agree with you but it is the situation. I didn't know Django version
on the production server (shared) before I run the project.

On Aug 30, 10:00 am, bruno desthuilliers
<bruno.desthuilli...@gmail.com> wrote:
> Not really an answer to your question, but you should definitly dev
> using the the same versions of Django and any third-part app - at
> least you'd have a chance to find out what happens when something goes
> wrong.
>
> On 29 août, 23:58, Goran <thego...@gmail.com> wrote:
>
> > I have strange problem, on my development server everything is fine
> > but I'm use Django 1.1 but on the production server (Django 1.2)
> > prepopulated_fields don't work. Does anyone have the same problem? Any
> > suggestion?
>
> > class UniverzitetAdmin(admin.ModelAdmin):
> >     prepopulated_fields = {"url": ("naziv",)}
>
> > admin.site.register(Univerzitet, UniverzitetAdmin)
>
> > Thanks
>
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
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.

No comments:

Post a Comment