Re: About proper use of mantissa.sharing...
[email protected] Mon, 07 Apr 2008 20:22:08 -0000
| Newsgroups | gmane.comp.python.quotient.dev |
|---|---|
| Message-ID | <20080407202208.21558.879916914.divmod.xquotient.10469@joule.divmod.com> |
On 10:43 am, [email protected] wrote: >Dnia 2008-04-07, o godz. 06:49:27 >[email protected] napisa=142(a): >>First of all, don't create any items in a renderer. Ever. Why would >>you do that? Don't. This has nothing to do with app stores or user >>stores; this is basic model/view separation stuff. > >Where should items be created then? Generally in an athena method, or in a form post. A renderer shouldn't = do anything but transform the model into something suitable for the user = to view. It shouldn't mutate it, and it *definitely* shouldn't create = new models.