Re: Django Design Patterns

2019-11-17 Thread Antje Kazimiers
Hi Fatjon, I wonder how much you can try finding that out on your own by just grepping for the names of the common Gang of Four [1] - design patterns in the django source code. I just tried Observer, Factory and find examples in the code, which sound like the developer really followed

Django Design Patterns

2019-11-17 Thread Fatjon Gërra
Hi guys, can anyone suggest me some resources book/video/article where I can learn more about Design Patterns that the Django Team used in writing Django as a framework? For example, here <https://docs.djangoproject.com/en/2.2/misc/design-philosophies/> the Active Record pattern is men

Design patterns with users / groups

2012-11-12 Thread Guy Bowden
Bit of a design question: I have a site where there are a few different views depending on each user's status - i will explain: 1. A user can create an object, so should be able to view it and update it. 2. A user can 'follow' another users object, so should be able to view it and

Re: Django Design Patterns and Djen of Django books on Kindle Store

2012-02-17 Thread Gethin Llyn ab Alwyn
_at_ep_dpt_2 > > http://www.amazon.com/Django-Design-Patterns-ebook/dp/B006OYO9SK/ref=ntt_at_ep_dpt_1 > > (They are also available for free should you prefer that.) > > http://agiliq.com/books/djenofdjango/ > http://agiliq.com/books/djangodesignpatterns/ > > -- > You received th

Django Design Patterns and Djen of Django books on Kindle Store

2012-02-17 Thread Shabda Raaj
We have published our Ebooks on Kindle Store and would love to get some reviews. (Just $1 each) http://www.amazon.com/The-Djen-of-Django-ebook/dp/B006P1K0YY/ref=ntt_at_ep_dpt_2 http://www.amazon.com/Django-Design-Patterns-ebook/dp/B006OYO9SK/ref=ntt_at_ep_dpt_1 (They are also available for free

Re: Design patterns for create/update view

2009-03-23 Thread Eric Abrahamsen
On Mar 23, 2009, at 6:48 PM, Liubomir.Petrov wrote: > > Yep, i'm already using generic views, but its a big pain (a lot of > code) for a single view that embeds create & update in one place. > I wanned to ask here, because maybe my approach (the single create/ > update view) is not right ? I'm

Re: Design patterns for create/update view

2009-03-23 Thread Liubomir.Petrov
Yep, i'm already using generic views, but its a big pain (a lot of code) for a single view that embeds create & update in one place. I wanned to ask here, because maybe my approach (the single create/ update view) is not right ? On Mar 23, 12:13 pm, Eric Abrahamsen wrote: > On

Re: Design patterns for create/update view

2009-03-23 Thread Eric Abrahamsen
On Mar 23, 2009, at 6:06 PM, Lyubomir Petrov wrote: > > Just wondering are there any docs/examples of design pattern with > django for creating a "create/update" view. These views are written for you! See the CRUD section of the Generic Views page:

Design patterns for create/update view

2009-03-23 Thread Lyubomir Petrov
Just wondering are there any docs/examples of design pattern with django for creating a "create/update" view. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: View design patterns for inherited templates

2009-03-02 Thread Malcolm Tredinnick
On Mon, 2009-03-02 at 05:00 -0800, Daniel Roseman wrote: > On Mar 2, 10:41 am, Mattias wrote: > > Hi, > > > > I'm just learning Django, and had a question with my first site. > > > > To have a common layout for multiple pages (even those in different > > applications / python

Re: View design patterns for inherited templates

2009-03-02 Thread Daniel Roseman
On Mar 2, 10:41 am, Mattias wrote: > Hi, > > I'm just learning Django, and had a question with my first site. > > To have a common layout for multiple pages (even those in different > applications / python code folders) on the site, I'm using template > inheritance. > But the

View design patterns for inherited templates

2009-03-02 Thread Mattias
Hi, I'm just learning Django, and had a question with my first site. To have a common layout for multiple pages (even those in different applications / python code folders) on the site, I'm using template inheritance. But the base template uses a few variables, for example the name of the

Re: design patterns

2008-05-23 Thread Diego Ucha
There is also this thread: http://groups.google.com/group/django-users/browse_thread/thread/a26d805427aa643f/249463a6f63958f7 []s Diego Ucha On 23 maio, 21:56, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > I do it with jquery (client side) getJSON funcion (tamplate exmaple): > > > >

Re: design patterns

2008-05-23 Thread Juanjo Conti
I do it with jquery (client side) getJSON funcion (tamplate exmaple): jQuery(document).ready(function($){ var prefix = "{{ prefix }}" var opcionnula = {{ opcionnula }} //incluir la opción nula en la lista de localidades y provincias var provincia

design patterns

2008-05-23 Thread Gene Campbell
Someone recommended http://mochikit.com/ recommended as a good ajax toolkit. I don't think you'll find design patterns there - like how to design software. I'm a noob, and only trying to help. On Fri, May 23, 2008 at 5:14 AM, unixdude_from_mars <[EMAIL PROTECTED]> wrote: > > Bein

design patterns

2008-05-22 Thread unixdude_from_mars
Being new to web development I was wondering what the best resource would be for web design patterns implemented in django, js, ajax, dojo. Specifically -- I am interested in dynamic drop down list, where the list items come from my database, but are links that allow one to drill down. Each