Need guidance for my first Open Source Contribution

2023-03-07 Thread 'WASIF AHMED M' via Django developers (Contributions to Django itself)
Hello Everyone! I'm Wasif Ahmed. Currently I'm pursuing BE in Civil Engineering from Bannari Amman Institute of Technology I know that this is not my field of expertise but i am motivated and enthusiastic about changing my current field. I have some experience in Frontend Development( Python )

Re: Improvements to the startproject template

2022-04-20 Thread John M
I do exactly this for every new Django project, so it's +1 from me as well. John On 20/04/2022 12:01, da...@springbourne-tech.com wrote: +1 for me - this would be really useful. On Monday, April 18, 2022 at 9:02:02 PM UTC+1 pyt...@ian.feete.org wrote: Hi Tim, This feels like a good

Re: Probable Bug, foreign key to a database view.

2022-04-03 Thread Alexandru M.
Does it behave the way you're expecting it to behave if you declare field as models.CharField(max_length=4, primary_key=True)? On Saturday, 26 March 2022 at 15:45:39 UTC+2 sandeep...@gmail.com wrote: > class View(models.Model): > field = models.CharField(max_length=4) > class Meta: >

Re: Making key_prefix callable for more flexible caching

2022-03-28 Thread Alexandru M.
how-to's are in the docs: > https://docs.djangoproject.com/en/dev/internals/contributing/ > > On Mon, Mar 21, 2022 at 6:07 PM Alexandru M. wrote: > >> Are there any plans to work on this? I can pick it up as I already >> implemented this functionality into own project. What is the

Re: Making key_prefix callable for more flexible caching

2022-03-21 Thread Alexandru M.
Are there any plans to work on this? I can pick it up as I already implemented this functionality into own project. What is the process to working on the new features? On Sunday, 23 January 2022 at 12:37:52 UTC+2 Adam Johnson wrote: > Hi Tobias > > I think it's also worth mentioning your blog

Re: include_block template tag

2021-07-11 Thread m...@kye.id.au
Hi Pierre, I have been silently watching your progress with great enthusiasm. This limitation of the DTL has been a thorn in my side for years. Are you able to share any updates about your progress? Cheers Kye On Friday, April 23, 2021 at 3:00:50 PM UTC+8 Pierre Vanliefland wrote: > Hi

Translation of group permissions

2021-05-10 Thread M Vv
Translation of user permissions is not done. [image: gruop trans.PNG] How should it go about it? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails

GET on change view

2021-05-10 Thread M Vv
Get the initial form data from the request's GET on change view. As is done in the add view, allow the values ​​initially displayed by the form to be modified as requested. ip:port/admin/group/person/1/change/?name=BOB What do you think of dealing with it in the following way?

Geodjango Exception when importing django.contrib.gis.gdal

2020-06-04 Thread Farook M
I have installed python 3.7.5 64 bit. GDAL 2.4.4 and corresponding python gdal from http://www.gisinternals.com/query.html?content=filelist=release-1900-gdal-2-4-4-mapserver-7-4-3.zip I have also set environment variables correctly. I did a gdalinfo --version from command prompt, i could get

Re: Selected projects for Google Summer of Code 2020

2020-05-06 Thread Sage M. Abdullah
Thanks, Carlton, for the briefing! I agree it's a good idea to utilize the forum for discussions. Aside from the forum and GitHub, I'd suggest Ahmad and Kacper start a blog if you haven't already, and write about your GSoC Journey there. I'm sure folks would enjoy reading how you learn and

Re: How to Start for GSOC 2020 in Django org.

2020-01-15 Thread Sage M. Abdullah
Hi, The wiki page and the contributing guide posted above is a good start to get into Django for GSoC. If you want to start writing the proposal, you can probably find my proposal last year helpful. Good luck! :) On

Re: Sounding out for GSoC 2020.

2019-12-18 Thread Sage M. Abdullah
Thank you for the kind comments! I see some very interesting ideas here. I haven't been able to come up with a good idea, but I can give a hand as a mentor next year, so I thought I'd join on this conversation :) Andrew, I think the Django Case Studies will be a great idea for Season of Docs

distinct on fields is not supported by this database backend sqlite3

2019-09-16 Thread raju m
Is there any way to use distinct on sqlite3. Early response will be appreciated -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: Optimization for get_search_results() in admin

2019-03-05 Thread Joel M
I don't know whether anyone will see this, as it's my first time posting here, but I have to second this. This problem brought down our site yesterday when an unsuspecting admin user tried a 3-word search in an admin that had several search fields involving joins. The result was that the

Re: beginner online tautorial to get into django frame work

2018-08-05 Thread Ryan M
I’ll be on discord all day. https://discord.gg/EjNsDe Warning I’m a noob also. Sent from my iPhone > On Aug 4, 2018, at 2:58 PM, Faisal Ali wrote: > > i am facing an issue while creating new project help me > > >> On Sat, Aug 4, 2018 at 9:30 PM, tapfuma mashiri >> wrote: >> hello good

Installing Channels - bin\\HostX86\\x64\\cl.exe' failed with exit status

2018-07-29 Thread Ryan M
creating build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\test_basic.py -> build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\test_tls.py -> build\lib.win-amd64-3.7\twisted\protocols\test copying

Re: Should contrib.auth include support for 2fa out of the box?

2017-06-13 Thread m . levental
I would like to explain a potential solution I have been working on (See commit https://github.com/mlevental/django/commit/51dbaa6748076e06d91b361c2fa60ecf24f5c27e

Re: Should contrib.auth include support for 2fa out of the box?

2017-06-13 Thread m . levental
I would like to explain a potential solution I have been working on (See commit https://github.com/mlevental/django/tree/ticket_25612). I think it's not complete but I don't have the time to continue working on it. *Overview:* - In order to check if a user is authenticated with one or two

Re: Tabs in Django Admin forms?

2017-05-30 Thread Óscar M . Lage
Oh, sorry, something like this: I think we've the ability to put the fields side-by-side but don't know if there is a way to group the fields in tabs. El

Tabs in Django Admin forms?

2017-05-30 Thread Óscar M . Lage
Hey guys, I've a quick question here... Is there any way - in admin - to group form fields in tabs (as django-crispy-form does)?. If not, do you consider this feature important enough to open a ticket and work on this?. Thanks! -- You received this message because you are subscribed to the

Re: Responsive admin

2017-05-30 Thread Óscar M . Lage
admin site?) to > disable it for a while if that causes problems for existing custom setups? > > Marc > > On 9 January 2017 at 11:59, Adam Johnson <m...@adamj.eu > > wrote: > >> - perhaps supplying an empty CSS file with the same name overrides the >&g

Project report: Test infrastructure and property-based tests for Channels

2017-05-15 Thread m
Hi everyone, I did some work on Channels' tests and testing infrastructure as part of the Mozilla grant. This is my report. Channels consists of five projects under the Django organization. First of all, I agreed with Andrew on versions of Django, Python and Twisted that we want to support

Re: A New Design for the "Congratulations!" Page

2017-04-20 Thread Óscar M . Lage
+1 here too, congrats! -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To

Re: Should contrib.auth include support for 2fa out of the box?

2016-10-03 Thread m . levental
I would like to work on this ticket. As for the implementation there doesn't seem to be much choice. The implementation with the most features is from Bouke . It supports U2F, TOTP, SMS and phone call (with Twilio by default). Beside that one

Re: Overwrite mode in collectstatic

2014-10-29 Thread Prathik Rajendran M
the message if it's not clear, but adding more code > logic to try to make the error message "smarter" seems overkill to me. > > On Wednesday, October 29, 2014 1:41:56 PM UTC-4, Prathik Rajendran M wrote: >> >> Hi Tim, >> >> Doesn't this already happen p

Re: Overwrite mode in collectstatic

2014-10-29 Thread Prathik Rajendran M
y for collecting your static files > from their permanent locations into one directory for ease of deployment; > it is *not* a place to store your static files permanently." > > On Wednesday, October 29, 2014 12:55:29 PM UTC-4, Prathik Rajendran M > wrote: >> >> And wo

Re: Overwrite mode in collectstatic

2014-10-29 Thread Prathik Rajendran M
or other readers, my analysis of the issue and why I don't think it's >> appropriate can be found on the ticket where the idea was first raised: >> https://code.djangoproject.com/ticket/23724 >> >> On Wednesday, October 29, 2014 11:34:02 AM UTC-4, Prathik Rajendran M >

Re: Overwrite mode in collectstatic

2014-10-29 Thread Prathik Rajendran M
et/23724 >> >> On Wednesday, October 29, 2014 11:34:02 AM UTC-4, Prathik Rajendran M >> wrote: >>> >>> Hi all, >>> >>> This is to initiate a discussion on whether we should add a new >>> overwrite method to collectstatic. >>> >&

Overwrite mode in collectstatic

2014-10-29 Thread Prathik Rajendran M
Hi all, This is to initiate a discussion on whether we should add a new overwrite method to collectstatic. Although I agree that we should careful in adding new features, I think this one is pretty useful. Here is why: - We want the files in STATIC_ROOT to be replaced even if the one

Regarding queries cache...

2012-01-27 Thread Germán M. Bravo
se", [10, 12, 13], "green", and "plastic". I did this in a very crude way, but it worked. It *significantly* reduced the time my queries took. For my strategy I created a function to inject said values to the query tree. If anyone funds this interesting, I can elaborat

Re: [GSoC2011] Integrate databrowse into admin

2011-04-08 Thread M Stefan
On 4/8/2011 2:48 AM, Russell Keith-Magee wrote: On Fri, Apr 8, 2011 at 5:37 AM, M Stefan<mstefa...@gmail.com> wrote: Hello everyone. My name is Stefan, and I'm a 19 years old student in Iasi, Romania, at Faculty of Computer Science. I've started programming as a young kid (I was about

[GSoC2011] Integrate databrowse into admin

2011-04-07 Thread M Stefan
ry key. I apologize for being so late with the proposal, I really wish I could have written it earlier. I'm planning on writing a timeline for the final version of the proposal, but please let me know what your opinion is first. Yours faithfully, Stefan M. -- You received this message b

Re: Proposal for 1.3 - decoupling a few things in Django a bit.

2010-06-20 Thread M Rotch
/xyz/business. Perhaps this isn't so bad. What's your thought. Am I over thinking this, or do you think my solution makes any more sense than after reading my previous post? Thanks Mark On Jun 20, 9:52 pm, Russell Keith-Magee <russ...@keith-magee.com> wrote: > On Mon, Jun 21, 2010 at 10

Proposal for 1.3 - decoupling a few things in Django a bit.

2010-06-20 Thread M Rotch
I just have a few practical ideas that I want to lay out, pertaining to loose coupling. I've worked with Django for a while and one of the things I love is that you can do things your own way, instead of having the constricting requirements that "convention over configuration" brings (like in

Proposal: Build complex-navigation helper

2010-06-03 Thread M Rotch
Building a site with more than 50 views tends to require some sort of sub-sub-page type of system in order to make for easy navigation. For instance: /eggs-view/ /eggs-view/sub-view/ /eggs-view/sub-view/sub-sub-view/ /spam-view/ /spam-view/spam-sub-view/

Re: exception handling memory leak...

2010-06-03 Thread M Rotch
Thanks for your hard work Keven. There are those of us that appreciate input. On Jun 2, 4:25 pm, Kevin Howerton wrote: > This was not a "hey you guys are lazy", actually came across it ... > after I had fixed the same issue. > > I just posted a patch for you generated

Some love for #11621 ?

2009-09-05 Thread Leo Soto M.
the bug description or patch, as always I'll be happy to help. Regards, [1] http://code.djangoproject.com/ticket/11621 -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: Suggestion: Better way to extend user table

2009-08-17 Thread Leo Soto M.
__getattr__() to delegate attribute acces from one model to the other? (if that's the central problem). -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&

Re: Cache DB backend

2009-08-02 Thread Leo Soto M.
ctually > using the db cache isn't!). If someone is going to commit fixes to the DB cache backend, please also take a look at <http://code.djangoproject.com/ticket/11483> (which is causing failures with Jython backends). -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~-

Re: Admin question: how to show uneditable fields

2009-06-18 Thread M. N. Islam Shihan
no one at this group. this group is intended to discuss about django development of django framework itself by the core developers. try django-users group instead which is intended to discuss usage related issues. On Jun 18, 2009, at 5:44 PM, EBunders wrote: > > Hello

Re: append_slash alternative: remove_slash

2009-06-16 Thread M. N. Islam Shihan
Thanks for pointing me to the bikeshed. It is an excellent topic that I wasn't aware of. Anyway, I'm still not understanding how this topic relates to my reply. On Jun 17, 2009, at 6:25 AM, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > > On Wed, Jun 17, 2009 at 5:02 AM,

Re: append_slash alternative: remove_slash

2009-06-16 Thread M. N. Islam Shihan
??? On Jun 17, 2009, at 2:27 AM, Hanne Moa <hanne@gmail.com> wrote: > > On Tue, Jun 16, 2009 at 22:08, M. N. Islam > Shihan<mnis4...@gmail.com> wrote: >> I think another toggle flag ENABLE_REMOVE_SLASH_MODE (or any other >> appropriate name) can be add

Re: append_slash alternative: remove_slash

2009-06-16 Thread M. N. Islam Shihan
I think another toggle flag ENABLE_REMOVE_SLASH_MODE (or any other appropriate name) can be added to the settings.py and setting that tlag to true will alter the existing APPEND_SLASH flag to be treated as prposed REMOVE_SLASH setting and act accordingly. In this way the existing

Re: append_slash alternative: remove_slash

2009-06-13 Thread M. N. Islam Shihan
+1 I also like the remove_slash version of urls over the append_slash version as the trailing slash creates a directory structure illusion which is not true. Cheers Shihan On Jun 14, 2009, at 11:12 AM, donquixote wrote: > > Ok, I know similar questions have

Re: Accessing dictionaries in templates in a sorted manner

2009-06-11 Thread M. N. Islam Shihan
There would be an easy work arround I think. As django support and encourage custom django tags and filters in apps, you might want to copy the existing code of current working dicsort filter into your own app, rename it to something different than "dicsort" and use that renamed filter in

Re: Application developed using Django

2009-05-20 Thread M C
publicly, and since I've got a "DSF President" hat around here > somewhere... let me look... ah, here we go: > > On Wed, May 20, 2009 at 10:27 AM, M C <mchisinev...@gmail.com> wrote: > >> - what license type (if any) you recommend ? > > This one's a huge can

Re: Application developed using Django

2009-05-20 Thread M C
> > > Hello, > > > I've developed an application using django, mysql and graphviz (please find > the list of functionalities below). > > I plan to release the code and the documentation and this brings me to ask > you the following : > * - what license type (if any) you recommend ? * >I

Is the Oracle backend passing the model_forms_regress test?

2009-05-06 Thread Leo Soto M.
>). I wonder if it is also failing on the cx_Oracle backend, as I don't see any new relevant code which protect against those cases. (Ref: <http://code.djangoproject.com/ticket/4140>) Regards, -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-03 Thread M. N. Islam Shihan
Exactly!! Besides the one way hashing algorithms, salt based algorithms are also not be feasible to go with this strategy. Thanx for clarifying this side aa well. Regards, M N Islam Shihan On May 3, 2009, at 3:49 PM, Elliott <join.toget...@gmail.com> wrote: > > On May 3, 2:

Re: A Letter to the Authors of Web Authentication Libraries

2009-05-03 Thread M. N. Islam Shihan
hashing alhorithm to encrypt password @ server side is not md5, that in turn will limit the versatile nature of choosing password encryption mechanism provided by a web development framework like django. Regards, M N Islam Shihan On May 3, 2009, at 10:52 AM, Jerome Leclanche <adys...@gmail.

Re: Dallas Django sprint 4/18 - 4/19 at CoHabitat

2009-04-07 Thread Greg M
Count me in... G On Apr 7, 10:54 am, Jeremy Dunck wrote: > We've firmed up the Dallas Django sprint plans: > > Django 1.1 is around the corner, but there are lots of bugs left to > squash. Come meet the other Django people around Dallas and check out > Cohabitat, the great

Re: Is this true. that django really takes a lot of memory?

2009-02-17 Thread M N Islam Shihan
Hi, Please go through the comments of the blog post you are referring and you'll understand why, how and where to use the django ORM. Regards, Shihan - Original Message - From: "NitinHayaran" To: "Django developers" Sent:

Re: "Normalized" Data type for __month and __day lookups?

2009-01-19 Thread Leo Soto M.
On Tue, Jan 20, 2009 at 2:02 AM, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > > On Tue, 2009-01-20 at 01:54 -0300, Leo Soto M. wrote: > [...] >> So I've uploaded a small patch on #10071[4] which does the >> normalization to int instead of unicode. I test

"Normalized" Data type for __month and __day lookups?

2009-01-19 Thread Leo Soto M.
://code.djangoproject.com/changeset/8494 [3] http://code.djangoproject.com/changeset/8526 [4] http://code.djangoproject.com/ticket/10071 -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: Multi-Threaded Dev Server

2008-11-17 Thread Leo Soto M.
ly thread safe". You know, there are GIL-less Python implementations out there ;-) -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group

Translation of documentation

2008-11-13 Thread Guilherme M. Gondim (semente)
Hi, Django Brazilian Community has started the documentation translation of Django 1.0[1] and serves in . Django Project accepts patch for the doc translations? I saw that the language is provided in URLs of official documentation

Re: djangoproject.com/documentation/ redirected

2008-09-09 Thread M N Islam Shihan
Hi Adrian, I may not understanding what you are asking for, but if you are looking for the old 0.96 and 0.95 docs in the django old doc site, those are still there at locations below: http://www.djangoproject.com/documentation/0.96/ and http://www.djangoproject.com/documentation/0.95/ But if

Re: ANNOUNCE: Django 1.0 released

2008-09-03 Thread M N Islam Shihan
+1 for Django +2 for the dev Team... Congrats Guys. You are doing great... Shihan - Original Message - From: "James Bennett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; ; <[EMAIL PROTECTED]> Sent: Thursday, September 04, 2008 6:07 AM Subject:

URL Change for the Unofficial Hudson (buildbot-like) Server

2008-09-01 Thread Leo Soto M.
t; and looks like the complete test suite runs correctly there (I mean, without spurious errors): http://testing.ingenium.cl/hudson/job/django-trunk/ -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Does CharField still required max_length? Or is it a bug?

2008-08-30 Thread M N Islam Shihan
Yes, it has been made optional with this syntax class CharField(* max_length=None*[, ***options*]) This is true for all other model fields as well that were expecting max_length parameter. Regards, Shihan On Sat, Aug 30, 2008 at 10:49 AM, guoqiang qian <[EMAIL PROTECTED]> wrote: > hi,all > > I

Re: models.TimeField has no to_python method

2008-07-22 Thread Leo Soto M.
On Tue, Jul 22, 2008 at 5:29 PM, Sean Legassick <[EMAIL PROTECTED]> wrote: > On 22 Jul 2008, at 17:13, Leo Soto M. wrote: > > > > > Anything I can do to help? (I do a lot of development with the gis > > > branch and PostGIS so I can try out the patch

Re: models.TimeField has no to_python method

2008-07-22 Thread Leo Soto M.
On Tue, Jul 22, 2008 at 12:01 PM, Sean Legassick <[EMAIL PROTECTED]> wrote: > > > On 22 Jul 2008, at 15:01, Leo Soto M. wrote: > >> I'm not going to pretend that I know why there is not >> TimeField.to_python. But some changes on #7560 needed it, so it is >&g

Re: Getting rid of get_db_prep_lookup on Field subclasses?

2008-07-15 Thread Leo Soto M.
On Tue, Jul 15, 2008 at 12:38 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On Tue, 2008-07-15 at 11:49 -0400, Leo Soto M. wrote: >> After fixing some corner cases of #7560[1], and realizing that it is >> too easy to write a wrong get_db_prep_lookup method (ex

Getting rid of get_db_prep_lookup on Field subclasses?

2008-07-15 Thread Leo Soto M.
/#get-db-prep-lookup-self-lookup-type-value -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-deve

Re: MS SQL pyodbc backend update to trunk

2008-07-14 Thread Leo Soto M.
ction.connection.autocommit(True) > +else: > +connection.connection.autocommit = True > elif hasattr(connection.connection, "set_isolation_level"): > connection.connection.set_isolation_level(0) As this is also needed for JDBC backends, I filled

Re: Testing django-admin and manage.py

2008-07-07 Thread Leo Soto M.
That also would help to be compatible with other Python VMs, which don't recognize the PYTHONPATH environment variable (IronPython uses IRONPYTHONPATH; Jython uses a Java VM property) -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this

Fwd: GSoC Weekly Report (#6): Django on Jython

2008-07-07 Thread Leo Soto M.
-- Forwarded message -- From: Leo Soto M. <[EMAIL PROTECTED]> Date: Mon, Jul 7, 2008 at 1:08 PM Subject: GSoC Weekly Report (#6): Django on Jython To: Jython Developers <[EMAIL PROTECTED]> Hi again! Here is my report of what was done on the past week: -

Re: #7560: Delegate (most) type conversion to backends

2008-07-04 Thread Leo Soto M.
On Fri, Jul 4, 2008 at 12:27 AM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > So the new [...] A quick update: After more testing with real django applications I discovered that I was breaking get_next_by_FIELD. This fourth patch[1] fixes this issue and includes tests for this use case (whi

Re: #7560: Delegate (most) type conversion to backends

2008-07-03 Thread Leo Soto M.
t pushed that logic to DatabaseOperations and named it "year_lookup_bounds". So the new posted patch[1] is updated to svn trunk, and also fixes a test that would broke because get_db_prep* now may return different values for different backends. [1] http://code.djangoproject.com/attachment/

Re: #7560: Delegate (most) type conversion to backends

2008-07-03 Thread Leo Soto M.
On Thu, Jul 3, 2008 at 8:27 PM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On Fri, Jul 4, 2008 at 4:57 AM, Leo Soto M. <[EMAIL PROTECTED]> wrote: >> >> Hi all!, >> >> I've posted a patch[1] with a small refactor to some Field's >> get_d

#7560: Delegate (most) type conversion to backends

2008-07-03 Thread Leo Soto M.
django database backend. I would appreciate thoughts on the general approach, and some guidance if I missed something. [1] http://code.djangoproject.com/ticket/7560 -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you

Fwd: GSoC Weekly Report (#4 and #5): Django on Jython

2008-06-29 Thread Leo Soto M.
-- Forwarded message -- From: Leo Soto M. <[EMAIL PROTECTED]> Date: Mon, Jun 30, 2008 at 12:12 AM Subject: GSoC Weekly Report (#4 and #5): Django on Jython To: Jython-Dev Developers <[EMAIL PROTECTED]> Here is me again, back to doing weekly reports (sorry for miss

MySQL Test Failures [Was: Re: Call for testing: streaming uploads (#2070)]

2008-06-28 Thread Leo Soto M.
that it should be resolved at the BooleanField level. The anonymous commenter there has shown that, unless this issue is fixed at the mysql backend level, values() will continue yielding 0,1 for False,True. [1] http://code.djangoproject.com/ticket/7190 -- Leo Soto

Re: MS SQL backend as a proper external backend (was: RFC: Django 1.0 roadmap and timeline)

2008-06-27 Thread Leo Soto M.
On 12 jun, 21:37, "Leo Soto M." <[EMAIL PROTECTED]> wrote: > On Thu, Jun 12, 2008 at 8:35 PM, Ramiro Morales <[EMAIL PROTECTED]> wrote: > [...] > > > Since then I've opened ticket [2]#7420 with a patch > > I see that part of the patch deals with th

Fwd: GSoC Weekly Report (#3): Django on Jython

2008-06-15 Thread Leo Soto M.
-- Forwarded message -- From: Leo Soto M. <[EMAIL PROTECTED]> Date: Sun, Jun 15, 2008 at 11:25 PM Subject: GSoC Weekly Report (#3): Django on Jython To: JythonDevelopers <[EMAIL PROTECTED]> So, I'm a bit late with the weekly report. in part because it has been a st

Re: MS SQL backend as a proper external backend (was: RFC: Django 1.0 roadmap and timeline)

2008-06-12 Thread Leo Soto M.
th zxJDBC. Same workaround as yours: https://hg.leosoto.com/django.doj/rev/235b40d3da2e [1] http://groups.google.com/group/django-developers/browse_thread/thread/fb1afa93451008a2/0fed055c00cb64e7 [2] https://hg.leosoto.com/django.doj/log?rev=leo.soto+get_db_pr

Re: Django releases

2008-06-08 Thread Phil M
On Jun 8, 9:27 am, Wim Feijen <[EMAIL PROTECTED]> wrote: > My vote is +1, because I think Django needs another stable release > right now. Fortunately, the trunk is stable (thank you!). Rob says > that it is good for a software project to have regular releases on a > half-year basis and I totally

Fwd: GSoC Weekly Report (#2): Django on Jython

2008-06-06 Thread Leo Soto M.
As nobody said anything against forwarding my SoC reports here, I'm assuming it is OK to continue doing it :) -- Forwarded message -- From: Leo Soto M. <[EMAIL PROTECTED]> Date: Fri, Jun 6, 2008 at 11:16 PM Subject: GSoC Weekly Report (#2): Django on Jython To: JythonDeve

Re: DateField, Database Parameter Types and Jython Backends

2008-06-02 Thread Leo Soto M.
On Tue, May 27, 2008 at 2:50 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On Mon, May 26, 2008 at 11:26 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > > dates, times, and datetimes are converted to string _before_ being > > passed to the backend. > &g

Re: Any reason for Field subclasses calling super on get_db_prep_save?

2008-06-01 Thread Leo Soto M.
On Wed, May 28, 2008 at 5:08 PM, Alex Koshelev <[EMAIL PROTECTED]> wrote: > On May 29, 12:57 am, "Leo Soto M." <[EMAIL PROTECTED]> wrote: >> I see that almost all Field subclasses which implements >> get_db_prep_save end calling Field.get_db_prep_sa

Fwd: GSoC Weekly Report: Django on Jython

2008-05-30 Thread Leo Soto M.
Hello django-devs! FWIW, I'm forwarding my GSoC weekly report to this list. Any ideas, comments, flames, etc are welcome. -- Forwarded message -- From: Leo Soto M. <[EMAIL PROTECTED]> Date: Sat, May 31, 2008 at 12:00 AM Subject: GSoC Weekly Report: Django on

Any reason for Field subclasses calling super on get_db_prep_save?

2008-05-28 Thread Leo Soto M.
I see that almost all Field subclasses which implements get_db_prep_save end calling Field.get_db_prep_save anyway. That's curious, because Field.get_db_prep_save is a no-op. Is it just some OOP style which we want to keep? -- Leo Soto M. http://blog.leosoto.com

Re: GSOC: More backends for djangosearch

2008-05-03 Thread Leo Soto M.
inate something once I get the core Django working flawlessly on Jython. -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this gro

Re: {{ something or something_else }}

2008-04-25 Thread Leo Soto M.
les > > now, you have to write > > user has {% if num_files %} {{ num_files }} {% else %} no {% > endif %} files It already exists: {{ num_files|default:"no" }} -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You receiv

Re: robust_apply, signal refactoring and #6857

2008-03-24 Thread Leo Soto M.
On Mon, Mar 24, 2008 at 10:30 AM, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > On Sat, Mar 22, 2008 at 3:04 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > ... > > On the other hand, all this gymnastic is done to allow receivers which > > do not conform to the

Re: Debugging Django

2007-11-09 Thread John M. Anderson
> You cannot debug a single Django file in isolation. Instead, insert this > line: > >import pdb; pdb.set_trace() > > in sql.py, at the point you're interested in. Then run Django normally, > and > go to a db-based URL: you'll get a debugger prompt. > ok, thanks. I was just trying to debug

Debugging Django

2007-11-09 Thread John M. Anderson
I'm trying to debug sql.py the steps I've taken so far: python /usr/lib/python2.5/pdb.py manage.py sql polls (python manage.py polls works just fine) (Pdb) b django/core/management/sql.py:271 (Pdb) c Traceback (most recent call last): File "/usr/lib/python2.5/pdb.py", line 1213, in main

Re: setup_environ question

2007-10-30 Thread Leo Soto M.
ect module is also not used > afterwards. To put it into sys.modules? (Not very useful, but it's the only side-effect that occurs to me) -- Leo Soto M. http://blog.leosoto.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: django on jython (new version)?

2007-09-25 Thread Leo Soto M.
On 9/25/07, Leo Soto M. <[EMAIL PROTECTED]> wrote: [...] > At least on SVN trunk , object.__unicode__ is gone too. So, #5560 is > no longer needed. Forget that. object__unicode__ is gone on Jython, but the __unicode__ attribute on the instances is not recognized yet. So #5560 is

Re: django on jython (new version)?

2007-09-25 Thread Leo Soto M.
On 9/25/07, Ian Kelly <[EMAIL PROTECTED]> wrote: > > On 9/20/07, Leo Soto M. <[EMAIL PROTECTED]> wrote: > > Oh, yeah. That's Jython's unicode(foo) calling foo.__str__ even when > > hasattr(foo, '__unicode__') under some circumstances. > > In case you missed it

Re: [Jython-dev] django on jython (new version)?

2007-09-23 Thread Leo Soto M.
asattr(self, '__unicode__'): return force_unicode(self).encode('utf-8') return '%s object' % self.__class__.__name__ The key is the hasattr() check. It's always true on Jython because __unicode__ is defined on object. Anyway, I just noticed that the uploaded test case uses the hasattr, s

Re: django on jython (new version)?

2007-09-22 Thread Leo Soto M.
ad up about my broken patch. I didn't made a full build after doing it, so I didn't realized the problem. -- Leo Soto M. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To pos

Re: Help needed with X-Forwarded-For

2007-09-21 Thread Leo Soto M.
Django business. -- Leo Soto M. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this gro

Re: django on jython (new version)?

2007-09-21 Thread Leo Soto M.
does it in jython? Heh. I'm also having headaches with this behaviour. But people on the jython-dev mailing list are in a better position to answer this. -- Leo Soto M. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: Help needed with X-Forwarded-For

2007-09-20 Thread Leo Soto M.
rs on the origin server, since they will contain more than one (comma-separated) value if the original request already contained one of these headers." [1]http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#head-3518b69c63e221cc3cd7885415e365ffaf3dd27f [2]http://httpd.apache.org/docs/2.2/mod/mod_

Re: django on jython (new version)?

2007-09-20 Thread Leo Soto M.
majority fails because strptime is not present on Jython's datetime module] As I touched many parts of Jython and Django, I'm now organizing all the bits, to get presentable patches (or bug reports) to both projects. -- Leo Soto M. --~--~-~--~~~---~--~~ You received

Re: django on jython (new version)?

2007-09-20 Thread Leo Soto M.
m trying to write it in > such a way that it might be useful for other Python frameworks. Maybe I completely misunderstood you, but what would be the difference with modjy <http://www.xhaus.com/modjy/>? -- Leo Soto M. --~--~-~--~~~---~--~~ You received this mes

Re: Help needed with X-Forwarded-For

2007-09-20 Thread Leo Soto M.
ng loudly that, *when using this middleware, you can't trust the remote IP, even if you trust the proxy server*. That's all. -- Leo Soto M. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&quo

Re: django on jython (new version)?

2007-09-20 Thread Leo Soto M.
applied the jython patch to fix the __module__ problems. > > and that's about all for major stuff i think. Cool. Keep up the good work! And file some tickets here when you think is appropriate. -- Leo Soto M. --~--~-~--~~~---~--~~ You received this message

Re: Help needed with X-Forwarded-For

2007-09-20 Thread Leo Soto M.
On 9/20/07, Leo Soto M. <[EMAIL PROTECTED]> wrote: > Now, if having a reliable remote IP address is important, then a > setting (NUMBER_OF_TRUSTED_PROXY_SERVERS?) specifying how many values > you can trust is the only thing that occurs to me. (I'm not that &g

  1   2   >