Hi i'm new on python and django!

2021-05-11 Thread Juan Leon
anyone can help me to understandt how i can start in django, with any tips... because in the moment when i clone the project in local i saw commits with "hastags", for example: #123 what is the significate of this and how can i work with that? i am going to really appreciate yours answers 😃 -

Re: Query identity operation

2020-12-20 Thread Leon Albrecht
objects.filter(complete_query).distinct() # distinct() is fo rthe issue described in the PPS ... # render page with relevant books Leon PS: Does this service allow inline html, could have been the reason why it wasn't send or it just takes a while and I'm to imaptient Adam Johnso

Re: Query identity operation

2020-12-20 Thread Leon Albrecht
Ok, I will follow with exemplary code similar to the one i use: ... searchquery = request.GET["q"] complete_query = ~Q(pk__in=[]) # this should be something like Q.ident() for query in search_query.split(): complete_query &= ( Q(autor__first_name__i

Query identity operation

2020-12-20 Thread Leon Albrecht
free and do not look good or intuitive. So I suggest adding a Identity-Query object, which gets discarded by the optimizer during the SQL generation stage. Leon PS: Just using multiple filters wont work, because they always use the original data set and unify all results at the end. PPS: An issue

Suggestion to change the Logger date format to ISO 8601

2019-12-16 Thread Leon Albrecht
At the moment Django is using "DD/MMM/ hh:mm:ss", but since 1988 there exists an ISO to format dates like this: "YYY-DD-MM hh:mm:ss" this is not a majot change and i've searched for to do it myself but according to the python logger libary this format is already in use, but Django apperantl

Writing some tests for new feature

2015-04-22 Thread ST LEON
I want to contribute one new feature to Django (doing this first time). I reading this and have one question. First, write tests. I want to improve work of ping_google()

Re: Goodbye, Malcolm

2013-03-19 Thread Leon Matthews
On 20 March 2013 06:01, Jacob Kaplan-Moss wrote: > We have difficult news: Malcolm Tredinnick has passed away. What a shock. Malcolm was a great guy, and a huge asset to our community. I had the pleasure of hearing him talk in Wellington. He will be missed... -- You received this message bec

Re: Newline stripping in templates: the dnl way

2012-06-27 Thread Leon Matthews
point, of course), feel free to do that! Done! :-) I've created a new version of the patch against Django 1.5-dev, which passes all tests, etc... I've attached it to the ticket directly: https://code.djangoproject.com/ticket/2594 Cheers,    Leon -- You received this message because you a

Re: Newline stripping in templates: the dnl way

2012-03-01 Thread Leon Matthews
> Same reason any ticket stalls - it seems that nobody felt strongly > enough about it to put the time into reviewing and thoroughly testing > the patch and marking it Ready for Checkin. If you'd like to see it in > (post 1.4 at this point, of course), feel free to do that! Fair enough. I realise

Re: Newline stripping in templates: the dnl way

2012-03-01 Thread Leon Matthews
for 1.3 or 1.4? From my perspective it's a big win, and reading the bug notes, the issues -- backwards combatibility, docs, tests -- seem to have been addressed. It looks like a lot of work looks went into this patch, why did it stall? Leon -- You received this message because you ar

Re: Newline stripping in templates: the dnl way

2012-02-28 Thread Leon Matthews
emplate lines containing just tags with no literal content do not produce a line in the output (unless of course the tag itself produces one)" After all, new lines are easy to add, but currently painful to suppress... Cheers, Leon -- Leon Matthews BSc Technical Director, Messiah Lt

A monthly Django session in Leicester with guest speakers on set topics - would this be of interest to you?

2011-04-18 Thread Leon
We are thinking of organising monthly Django sessions in Leicester with guest speakers on set topics that would interest fellow Djangonauts. Our plan is to organise a short 2 hour session each month on a particular topic (e.g. Django + Celery, Django + NoSQL, GeoDjango + MapServer, etc) with a pre

Re: Public spec is needed for writing ORM adapters

2008-03-24 Thread Leon
This is quite the discussion thread. I was having a hard time trying to figure out where to insert the post. Let me introduce myself. I am Leon Katsnelson and I am responsible for Product Management for the IBM Data Management portfolio which includes DB2 and IDS database servers as well as Data