Django Custom Models

2016-07-12 Thread AT
()).order_by('expiry_date') Every thing works fine at this point. Would it be better to include this in a custom manager instead and if so how is this handled in the view or is it done just by including: model = Article A second point is, if I do this will the expired articles still be

Re: Django Custom Models

2016-07-14 Thread AT
email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5787784E.605%40gmail.com. For more options, visit https://groups.google.com/d/optout.

Django Trainer/Instructors

2010-01-13 Thread felicity at cubes
to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: GeometryField.geography = True Syntax Help GIS Model

2014-04-08 Thread si . at . sh
t; >> GeoDjango Tutorial provides all the steps to get it done. >> >> https://docs.djangoproject.com/en/dev/ref/contrib/gis/tutorial/ >> >> If you are not familiar with geo concepts, I recommend to take a look at >> http://geodjango.org/presentations/ >>

How to display content on a form dynamically when a field value is selected

2019-12-12 Thread Technical Services at Maitripa College
I have a form that displays course codes from a drop-down list. I would like to display dynamically the content of another field (different for each course) each time a course code is selected from the drop-down list. Thanks in advance! alfredo -- You received this message because you are su

RE: Django Browser issue

2016-12-13 Thread Anjali Mk -X (anmk - WIPRO LIMITED at Cisco)
com<mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com<mailto:django-users@googlegroups.com>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/

RE: Trying to print data containing a space in html

2017-01-10 Thread Anjali Mk -X (anmk - WIPRO LIMITED at Cisco)
gmail.com>> http://blog.asadjb.com On Tue, Jan 10, 2017 at 11:09 AM, mailto:anjalim...@gmail.com>> wrote: I have a data attached with multiple spaces, I want to print the data on html page along with spaces but in html spaces are getting stripped off. I found a solution of creating a