#3776: user sessions
----------------------------------+-----------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian                
     Status:  closed              |            Component:  Contrib apps         
 
    Version:  SVN                 |           Resolution:  invalid              
 
   Keywords:                      |                Stage:  Design decision 
needed
  Has_patch:  0                   |           Needs_docs:  0                    
 
Needs_tests:  0                   |   Needs_better_patch:  0                    
 
----------------------------------+-----------------------------------------
Comment (by anonymous):

 Replying to [comment:4 Simon G. <[EMAIL PROTECTED]>]:
 > It sounds like you have a design problem - For something like this, I'd
 go for a model like this:
 
 I never said it is not possible to create models for everything you want
 to save. I just said if you have lots of such things it becomes an
 unnecessary hurdle to go thru. request.user.session["color"] = "red" *is*
 more convenient than creating/updating models. Messages was just an
 example. I can surely create models, the point is convenience. One text
 field in one table is definetly cheaper than dozens of tables/columns.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3776#comment:5>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to