Re: Admin site - apply business logic

2008-04-29 Thread [EMAIL PROTECTED]

thanks for shedding some light, I'll be sure to keep my eye on the
newforms-admin branch.
Maybe I'll get my hands dirty in the todo list that's stopping the
merger as it looks very promising to me.

-al

On Apr 29, 9:55 pm, "Justin Lilly" <[EMAIL PROTECTED]> wrote:
> I think you'd be interested in the newforms admin branch of 
> django.http://code.djangoproject.com/wiki/NewformsAdminBranch
>
> which is what is suggested for extending the admin panel (with your business
> logic, for instance). Note that this isn't part of trunk yet. Many people
> have chosen to wait until it is merged.
>
>  -justin
>
> On Tue, Apr 29, 2008 at 3:34 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > Would it be possible to make Admin site business logic aware when
> > dealing (CRUD) with model objects?
>
> > For example, I have an "InventoryItem" model accessible via Admin
> > site. I wish to make "InventoryItem" model objects no-editable, read-
> > only, if they fall outside of a given date range as per my business
> > logic.
>
> > Regards,
> > -Alen
>
> --
> Justin Lilly
> Web Developer/Designerhttp://justinlilly.com
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Admin site - apply business logic

2008-04-29 Thread Justin Lilly
I think you'd be interested in the newforms admin branch of django.
http://code.djangoproject.com/wiki/NewformsAdminBranch

which is what is suggested for extending the admin panel (with your business
logic, for instance). Note that this isn't part of trunk yet. Many people
have chosen to wait until it is merged.

 -justin

On Tue, Apr 29, 2008 at 3:34 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:

>
> Would it be possible to make Admin site business logic aware when
> dealing (CRUD) with model objects?
>
> For example, I have an "InventoryItem" model accessible via Admin
> site. I wish to make "InventoryItem" model objects no-editable, read-
> only, if they fall outside of a given date range as per my business
> logic.
>
> Regards,
> -Alen
>
> >
>


-- 
Justin Lilly
Web Developer/Designer
http://justinlilly.com

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---