Re: Refining Django admin look proposal

2010-02-06 Thread Alex Gaynor
On Sat, Feb 6, 2010 at 1:38 PM, j...@jeffcroft.com wrote: >> None of Django's core developers are designers, nor can they necessarily >> execute someone else's creative vision. > > I will not participate in any sort of "contest" because it devalues > design, and I think you'll find that most seri

Re: Refining Django admin look proposal

2010-02-06 Thread Alex Gaynor
On Sat, Feb 6, 2010 at 2:02 PM, j...@jeffcroft.com wrote: > Let me also just say, on the topic of Grapelli: I think Grapelli is a > really great re-skinning of the current admin interface, with a few > IxD improvements. It's really nicely done, and in my opinion is a > significant improvement over

Re: Django Design Czar

2010-02-06 Thread Alex Gaynor
On Sat, Feb 6, 2010 at 5:03 PM, Idan Gazit wrote: > Hey folks, > > Splitting off from > http://groups.google.com/group/django-developers/browse_thread/thread/ca4f26d616921753, > which has an exhaustive discussion about  how django needs to treat > design work. > > In the spirit of taking action,

Re: django-3k

2010-02-07 Thread Alex Gaynor
On Sun, Feb 7, 2010 at 4:24 PM, Martin v. Löwis wrote: >> It can now convert and start the test suite, however, this doesn't >> produce any results, yet. > > Following up to myself: it now does run the test suite to completion: > > Ran 1425 tests in 384.689s > > FAILED (failures=222, errors=539) >

Re: Is any thing for python like .jar files for java.

2010-02-09 Thread Alex Gaynor
On Tue, Feb 9, 2010 at 3:05 PM, chiranjeevi muttoju wrote: > Hi all, > Is there any concept in python like .jar files in java. If anybody of you > know please reply me. > > -- > Thanks and regards, > chiranjeevi.muttoju > > -- > You received this message because you are subscribed to the Google Gr

Re: Add Mod(%) Operator to If Tag

2010-02-10 Thread Alex Gaynor
On Wed, Feb 10, 2010 at 12:10 PM, megaman821 wrote: > Since Django 1.2 is not out yet I have been using the smart_if tag in > all my projects, with one addition. Since I believe the new if tag is > based on the smart_if tag code on Django Snippets, I want to propose > adding the mod(%) operator to

Re: Translation policy - clarification required?

2010-02-10 Thread Alex Gaynor
On Wed, Feb 10, 2010 at 7:07 PM, Russell Keith-Magee wrote: > Hi all, > > I need some feedback/assistance from those with experience with the > translation tool set. > > Karen Tracey just pointed out that I may have made a booboo with the > handling of translations in the 1.1.X branch. > > I commi

Re: Trouble joining IRC

2010-02-12 Thread Alex Gaynor
On Fri, Feb 12, 2010 at 11:14 PM, Johan wrote: > Hello, > > I am trying to log into the IRC channel at #django-dev but I kept on > getting this error: > >  #django-dev :Cannot join channel (+r) - you need to be identified > with services > > I can join other channels, so I think the problem is wit

Re: [JOB] Python/Django Developer, San Francisco | 50-90k

2010-02-14 Thread Alex Gaynor
On Mon, Feb 15, 2010 at 1:13 AM, OSS wrote: > This is a full time, on-site, salaried position located in San > Francisco, CA (94107) paying $50,000 to $90,000 (dep on exp) + > benefits.  US Citizens, Green Card holders, EAD or CAN only please. > Local candidates only.  No telecommuting.  Thank you

Re: Introducing Django Ray

2010-02-15 Thread Alex Gaynor
On Mon, Feb 15, 2010 at 11:55 PM, h3 wrote: > Hello, > > I would like to introduce a project I've just released in the wild. > For the moment it is still just a working prototype, but hopefully it > will grow and stabilize with time. > > On Google Code: > http://code.google.com/p/django-ray/ > > I

Re: django + memcached: problem with limit of 1 mb

2010-02-18 Thread Alex Gaynor
On Thu, Feb 18, 2010 at 3:12 PM, Jeremy Dunck wrote: > On Thu, Feb 18, 2010 at 1:34 PM, ramu...@gmail.com wrote: >> Does anyone know why django can't keep a data bigger, than 1 mb in >> memcached ? >> >> This is no big deal to cut big data to 1mb pieces before setting and >> merge this pieces aft

Re: django + memcached: problem with limit of 1 mb

2010-02-18 Thread Alex Gaynor
On Thu, Feb 18, 2010 at 3:21 PM, Forest Bond wrote: > Hi, > > On Thu, Feb 18, 2010 at 03:17:32PM -0500, Alex Gaynor wrote: >> On Thu, Feb 18, 2010 at 3:12 PM, Jeremy Dunck wrote: >> > On Thu, Feb 18, 2010 at 1:34 PM, ramu...@gmail.com >> > wrote: >> >

Re: Customizable Serialization Idea -GSoC

2010-02-23 Thread Alex Gaynor
On Tue, Feb 23, 2010 at 12:26 AM, Jesus Mager wrote: > Hi all! > > My name is Jesus Mager, and I'm student at the National Autonomous > University of Mexico.I am interested in  in taking part of Google > Summer of Code for the diango project. > The Customizable Serialization sound a good idea. Dja

Re: Proposal - admin actions with no elements selected

2010-02-28 Thread Alex Gaynor
On Mon, Mar 1, 2010 at 12:23 AM, George Karpenkov wrote: > Hi there, > > Currently, if no elements are selected, any action selected in the > admin interface will not fire. > > However, sometimes it is useful to create actions which do not require > any elements to be selected - ie > > x removing

[GSOC] Template Compilation

2010-03-03 Thread Alex Gaynor
Django Template Compilation === About Me I'm a sophomore computer science student at Rensselaer Polytechnic Institute. I'm a frequent contributor to Django (including last year's successful multiple database GSoC project) and other related projects; I'm also a com

Re: [GSOC] Template Compilation

2010-03-04 Thread Alex Gaynor
On Thu, Mar 4, 2010 at 3:41 AM, Russell Keith-Magee wrote: > On Thu, Mar 4, 2010 at 7:29 AM, Alex Gaynor wrote: >> Django Template Compilation >> === > > First up, this looks like a solid proposal Alex. Anything that speeds > up template generat

Re: [GSOC] Template Compilation

2010-03-04 Thread Alex Gaynor
On Thu, Mar 4, 2010 at 6:58 PM, Russell Keith-Magee wrote: > On Fri, Mar 5, 2010 at 12:26 AM, Alex Gaynor wrote: >> On Thu, Mar 4, 2010 at 3:41 AM, Russell Keith-Magee >> wrote: >>> On Thu, Mar 4, 2010 at 7:29 AM, Alex Gaynor wrote: > >>>> Templates wi

Re: Template Compilation

2010-03-04 Thread Alex Gaynor
On Thu, Mar 4, 2010 at 8:01 PM, SmileyChris wrote: > Would whitespace handling be identical to the current template system? > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-develop...@goog

Re: Django documentation for newer users

2010-03-05 Thread Alex Gaynor
Uhh... the documentation is part of djangos repository, along with all of the code. It has long been django's policy to treat docs contributios the same as code contributios. Alex On Mar 5, 2010 11:35 AM, "stherrien" wrote: What I'm suggesting is that we setup something to allow everyone to imp

Re: Template Compilation

2010-03-05 Thread Alex Gaynor
On Fri, Mar 5, 2010 at 2:54 PM, Jonathan S wrote: > Just a few thoughts, this is my idea and I'm not an expert at > compilers, so forgive me if I'm somewhere wrong. > > (1) For me, personally, I think the scoping of variables should be > kept inside a block. > > {% with "x" as x %} > {% with "y" a

Re: GSoC - Class based serializers

2010-03-09 Thread Alex Gaynor
On Tue, Mar 9, 2010 at 5:56 PM, Renato Garcia Pedigoni wrote: > Hi folks > My name is Renato, I'm currently studying Biomedical Informatics at the > University of Sao Paulo, in Brazil. > Last year I tried a GSoC slot with a declarative syntax serializer project > for Django. Reading the 2010's ide

Re: Freelance opportunity: Front-end Django implementation

2010-03-23 Thread Alex Gaynor
On Tue, Mar 23, 2010 at 12:32 PM, replyforall wrote: > Hi Django community, > > Wanted to see if you might be able to help out with a near-term > project. > > We're looking for a freelance contractor for front-end implementation > for our Django site. The implementation should be done using Django

Re: Propose Parallel tasks for GSOC

2010-03-25 Thread Alex Gaynor
On Thu, Mar 25, 2010 at 11:34 PM, Rodrigo Hübner wrote: > Hey all! > > I have a project in python with implicit threads. For exemple: > > > @task > def foo(): >    pass > > > In this code, every time that i call the "foo" function in my code, it > will execute in different threads... > >

Re: Opinions sought on m2m signal ordering

2010-03-27 Thread Alex Gaynor
On Sun, Mar 28, 2010 at 1:15 AM, Andrew Godwin wrote: > On 28/03/10 00:01, Russell Keith-Magee wrote: >> >> Cache invalidation is a reasonably compelling case for pre-signals; if >> you invalidate a cache on the post-signal, there is a small window >> between having modified the m2m and the cache

Re: GSoC: App Loading

2010-04-04 Thread Alex Gaynor
On Sun, Apr 4, 2010 at 5:35 PM, Arthur Koziel wrote: > Hi, > I’m going to apply for GSoC with the goal of refactoring the app loading > [0]. I’ve been looking at Django’s current app loading implementation > (db.models.loading), Vinay Sajip’s patch in #3591 [1] and the notes on the > InstalledApps

Re: GSOC proposal for "App loading"

2010-04-05 Thread Alex Gaynor
On Mon, Apr 5, 2010 at 12:48 PM, Dagvadorj Galbadrakh wrote: > I am planning to modify django.utils.importlib.py this way. Is it > agreeable? > > > On Apr 5, 11:11 am, Dagvadorj Galbadrakh wrote: >> Hello group, >> >> I want to attend to this year's Google Summer of Code program with >> "App load

Re: GSOC Django housekeeping

2010-04-06 Thread Alex Gaynor
On Tue, Apr 6, 2010 at 11:58 AM, Elayne Morais wrote: > Hello! > > This is my first time at GSoC and I'm sure that coding for Django will > be very interesting. As I don't have experience with Django I thought > the best project for me would be doing some housekeeping, which at the > same time wou

Re: GSOC Django housekeeping

2010-04-06 Thread Alex Gaynor
rt of Django that needs > housekeeping? > > > Thanks again. > > Elayne. > > On Tue, Apr 6, 2010 at 2:15 PM, Alex Gaynor wrote: >> >> On Tue, Apr 6, 2010 at 11:58 AM, Elayne Morais >> wrote: >> > Hello! >> > >> > This is my first tim

[GSOC] NoSQL Support for the ORM

2010-04-06 Thread Alex Gaynor
Non-relational database support for the Django ORM == Note: I am withdrawing my proposal on template compilation. Another student has expressed some interest in working on it, and in any event I am now more interested in working on this project. A

Re: NoSQL Support for the ORM

2010-04-07 Thread Alex Gaynor
On Wed, Apr 7, 2010 at 4:43 AM, Waldemar Kornewald wrote: > Hey Alex, > > On Apr 7, 2:11 am, Alex Gaynor wrote: >> Non-relational database support for the Django ORM >> == >> >> Note:  I am withdrawing my proposal

Re: [GSOC] NoSQL Support for the ORM

2010-04-07 Thread Alex Gaynor
On Wed, Apr 7, 2010 at 6:47 AM, Russell Keith-Magee wrote: > On Wed, Apr 7, 2010 at 8:11 AM, Alex Gaynor wrote: >> Non-relational database support for the Django ORM >> == >> >> Note:  I am withdrawing my proposal on tem

Re: [GSOC] NoSQL Support for the ORM

2010-04-07 Thread Alex Gaynor
On Wed, Apr 7, 2010 at 2:19 PM, lasizoillo wrote: > 2010/4/7 Alex Gaynor : > >>  * 2 weeks - begin working on a backend for a non-relational database >> (probably >>   MongoDB) > > Pymodels[1] have backends for MogoDB and Tokyo Tyrant/Cabinet. Maybe > som

Re: NoSQL Support for the ORM

2010-04-08 Thread Alex Gaynor
On Wed, Apr 7, 2010 at 4:43 PM, Waldemar Kornewald wrote: > On Wed, Apr 7, 2010 at 5:12 PM, Alex Gaynor wrote: >> No.  I am vehemently opposed to attempting to extensively emulate the >> features of a relational database in a non-relational one.  People >> talk about t

Re: [GSOC] NoSQL Support for the ORM

2010-04-08 Thread Alex Gaynor
On Wed, Apr 7, 2010 at 5:55 PM, Waldemar Kornewald wrote: > On Wed, Apr 7, 2010 at 5:22 PM, Alex Gaynor wrote: >>> Other issues that spring to mind: >>> >>>  * What about nonSQL datatypes? List/Set types are a common feature of >>> Non-SQL backends, and a

Re: Application to update the Test Suite

2010-04-09 Thread Alex Gaynor
On Sat, Apr 10, 2010 at 2:21 AM, Russell Keith-Magee wrote: > On Sat, Apr 10, 2010 at 8:29 AM, Gabriel Hurley wrote: >> Maybe it's an overly simplistic question, but: what makes the tests >> slow currently? It's not simply the volume of them. It's more than >> possible for Python to race through

Re: Django Newbie seeking for advice

2010-04-12 Thread Alex Gaynor
On Mon, Apr 12, 2010 at 3:04 PM, Mister Yu wrote: > Hi experts, > > i m a newbie and i m self learning django and writing an web app as i > go along. i learn django by following this great screencast tutorial > from here: http://showmedo.com/videotutorials/series?name=PPN7NA155 > called Django Fro

Re: Process discussion: reboot

2010-04-20 Thread Alex Gaynor
On Tue, Apr 20, 2010 at 11:39 AM, Jacob Kaplan-Moss wrote: > On Mon, Apr 19, 2010 at 2:32 PM, Giuseppe Ciotta wrote: >> Having an additional field{s} in the ticket, only accessible to core >> developers, where they would put the "official" (as in: approved by a >> core developer) triage status of

Re: Process discussion: reboot

2010-04-20 Thread Alex Gaynor
On Tue, Apr 20, 2010 at 1:36 PM, Bmheight wrote: > +1 to Stephen Crosbys' proposal, although I think this would be a bit > difficult to perform as the Framework evolves and the documentation on this > would be a bit outdated as time goes on (And have to yet again maintain > another Document to kee

Re: Running doc tests in Django's test suite

2010-04-20 Thread Alex Gaynor
On Tue, Apr 20, 2010 at 4:54 PM, Karen Tracey wrote: > On Tue, Apr 20, 2010 at 3:44 PM, Anssi Kaariainen > wrote: >> >> I am trying to run some doc tests, but can't figure out how. >> Specifically I would like to run the doc tests in regressiontests/ >> forms/widgets.py. >> >> Running "./runtests

Re: Running doc tests in Django's test suite

2010-04-20 Thread Alex Gaynor
On Tue, Apr 20, 2010 at 5:09 PM, Karen Tracey wrote: > On Tue, Apr 20, 2010 at 5:03 PM, Alex Gaynor wrote: >> >> Do you have any idea how that caused the fail, it should be completely >> innocuous? >> > > I'm guessing it's got something to do with the .

Re: Trac workflow assistance (commiter feedback needed)

2010-04-25 Thread Alex Gaynor
On Sun, Apr 25, 2010 at 4:48 PM, Gabriel Hurley wrote: > I've been dancing around this idea for a while. I know it's not a new > thought, and Alex Gaynor and Justin Lilly even started work on "piano > man" [1]... I'd be curious to know what the state of that p

Re: (distributed) Documentation sprint -- Saturday May 8?

2010-04-26 Thread Alex Gaynor
On Mon, Apr 26, 2010 at 10:13 PM, Ramiro Morales wrote: > Hi all, > > What do you guys think about organizing something like this? The goal > and motivation help get the documentation contents as polished as > possible for the 1.2 release. > > If things go as planned the 1.2 RC should have been al

Re: @Meebo - 2 Django Contractors Needed!

2010-04-27 Thread Alex Gaynor
On Tue, Apr 27, 2010 at 7:14 PM, Kiko Griffin wrote: > Hello All, > > Thanks for reviewing and sharing with your network.  We are actively hiring > 2 Django Developers on a contract basis (3-6 months) with an opportunity to > convert full-time if interested.  I am hoping to fill the two openings b

Re: Trac workflow assistance (commiter feedback needed)

2010-04-30 Thread Alex Gaynor
On Fri, Apr 30, 2010 at 10:56 AM, Jeremy Dunck wrote: > On Sun, Apr 25, 2010 at 1:27 AM, Stephen Wolff > wrote: >>> I recognize running tests w/ regressions pass would be useful, but >>> it's getting into CI-land -- once we have some CI infrastructure in >>> place, I'd be happy to use that. >>>

Re: Upgrading Trac

2010-04-30 Thread Alex Gaynor
On Fri, Apr 30, 2010 at 11:11 AM, Jeremy Dunck wrote: > As long as I'm here, how much interest is there in review board? > http://code.google.com/p/reviewboard/ > > On Fri, Apr 30, 2010 at 10:06 AM, Jeremy Dunck wrote: >> Does anyone have crib notes on what upgrading from (presumed) 0.10.4 >> to

Re: Trac workflow assistance (commiter feedback needed)

2010-04-30 Thread Alex Gaynor
On Fri, Apr 30, 2010 at 3:57 PM, Gabriel Hurley wrote: > I'd also be interested in working on this, as long as I'm not alone on > it. Have you and/or Alex set up any kind of mailing list for it? Do > you plan to use git's issue tracker or something else? What's the > process plan for getting devel

Re: logging?

2010-05-04 Thread Alex Gaynor
On Tue, May 4, 2010 at 11:47 PM, Kevin Howerton wrote: > Realized today that by default django more or less suppresses errors > sent to stderr when debug is off.  Well I guess it uses email sent to > admins by default.  Though, I distinctly remember stderr being sent > into my apache logs for some

Re: Template Tag Not Reinitialized in Loop

2010-05-05 Thread Alex Gaynor
On Wed, May 5, 2010 at 4:27 PM, Apreche wrote: > Well, I think my suggestion is obviously that when a template tag is > in a loop, it should be re-initiated on every iteration, since that > would avoid unexpected and non-obvious side effects. > > -Scott > > On May 5, 2:52 pm, "burc...@gmail.com"

Re: Django 1.2 release candidate available

2010-05-05 Thread Alex Gaynor
On Thu, May 6, 2010 at 1:07 AM, James Bennett wrote: > On Wed, May 5, 2010 at 11:53 PM, Rajeev J Sebastian > wrote: >> When can we start discussing potential small/micro fixes for the next >> version of django? > > A week or two after 1.2 final is released. > > > -- > "Bureaucrat Conrad, you are

Re: When your settings module causes an `ImportError`

2010-05-17 Thread Alex Gaynor
On Mon, May 17, 2010 at 10:00 AM, Charlie Nolan wrote: > It seems to me like the biggest problem with a settings module not > importing is that it's not safe to display a full error message about > that file.  You can't tell if DEBUG is on, and there may well be > information in the settings that

Re: Admin sloooow with postgresql and a 160k record table

2010-05-27 Thread Alex Gaynor
On Thu, May 27, 2010 at 11:54 PM, Marcob wrote: > On May 27, 11:13 pm, Jacob Kaplan-Moss wrote: > >> I thought there was already a ticket open for this, but I can't seem >> to find one. Can you open a ticket so that we don't forget? > > To posterity: http://code.djangoproject.com/ticket/13643 > >

Re: Proposal: Replace django.contrib.formtools.wizard

2010-05-30 Thread Alex Gaynor
On Sun, May 30, 2010 at 12:33 PM, Harro wrote: > We had a site where we needed a wizard with the ability to go back and > forward and store files. > Only allowing files in the last step really isn't an option imho, that > just avoiding the problem ;-) > > What we did was simply store the files in

[GSOC] Query-Refactor

2010-05-30 Thread Alex Gaynor
Hey all, As you're likely aware this summer I'll be a GSOC student responsible for query-refactor (aka "NoSQL") in Django. Basically the next couple of weeks are going to involve me ripping up a bunch of internals, and in the interest of keeping the SVN branch stable I'll be committing that work

Re: Class based generic views in 1.3?

2010-06-03 Thread Alex Gaynor
On Thu, Jun 3, 2010 at 12:10 PM, Ben Firshman wrote: > > On 3 Jun 2010, at 17:45, Carl Meyer wrote: > >> On Jun 2, 6:20 pm, Ben Firshman wrote: >>> Yeah, this idea came up at the sprints, but it's a little too magic for my >>> tastes. >> >> I dunno... is __new__ really more magic than having a _

Re: Proposal: modular django configuration

2010-06-07 Thread Alex Gaynor
On Mon, Jun 7, 2010 at 1:15 AM, Chris wrote: >> try: >>   from settings_local import * >> except: >>   # It's ok to not have any local settings. >>   pass > > This pattern is used by almost everybody it seems. Is there any reason > why this pattern hasn't been adopted by "django-admin.py startproj

[GSOC] Query Refactor Status Update

2010-06-07 Thread Alex Gaynor
Hey all, If you saw my email last week you know that my goal for the bulk of the GSOC work was going to be refactoring the Query class to be less SQL/relational db specific. After spending much of last week taking a few different approach at this it's become clear to me that that approach would r

Re: Query Refactor Status Update

2010-06-08 Thread Alex Gaynor
On Tue, Jun 8, 2010 at 2:37 AM, Waldemar Kornewald wrote: > Hi Alex, > > On Jun 7, 9:35 pm, Alex Gaynor wrote: >> As you can see the fruits of these efforts have already begun to land >> in my branch, and I suspect that the multidb refactorings of last year >> have lef

Re: Query Refactor Status Update

2010-06-08 Thread Alex Gaynor
On Tue, Jun 8, 2010 at 12:11 PM, Waldemar Kornewald wrote: > On Tue, Jun 8, 2010 at 7:03 PM, Alex Gaynor wrote: >> On Tue, Jun 8, 2010 at 2:37 AM, Waldemar Kornewald >> wrote: >>> Why did you revert the AutoField patch? BTW, in the Django-nonrel >>> patch you&

Re: Admin patches

2010-06-09 Thread Alex Gaynor
On Wed, Jun 9, 2010 at 3:56 PM, Jeremy Dunck wrote: > On Wed, Jun 9, 2010 at 3:52 PM, Simon Meers wrote: > ... >> Did you also know you can run any desired subset of tests? E.g.: >>    ./runtests.py --settings=test_sqlite admin_inlines admin_views >>    ---

Re: Ticket #11521; Can someone take a look?

2010-06-14 Thread Alex Gaynor
I ca say for certain its the wrong approach. Somewhere in the add_filter call chain is a explicit_is (or something like that parameter). Something like that (possibly that exactly) should be used here. Alex On Jun 14, 2010 2:21 AM, "Russell Keith-Magee" wrote: On Mon, Jun 14, 2010 at 2:45 PM,

Re: including unittest2 in 1.3

2010-06-14 Thread Alex Gaynor
On Tue, Jun 15, 2010 at 12:00 AM, Russell Keith-Magee wrote: > On Tue, Jun 15, 2010 at 5:06 AM, Paul McMillan wrote: >> There has been some discussion of unittest2 before on the list, and >> there's a ticket about including it. >> http://code.djangoproject.com/ticket/12991 >> >> We get a bunch of

Re: [gsoc] app loading status + questions

2010-06-15 Thread Alex Gaynor
On Tue, Jun 15, 2010 at 9:46 AM, Arthur Koziel wrote: > Hey there, > > I'm making some progress on the app loading gsoc project. I'm still in the > process of writing tests for the AppCache. It took me longer than I've > thought. However, I'm really confident that I'll finish the testing stuff

[GSOC] Query Refactor Update

2010-06-16 Thread Alex Gaynor
Hey all, Another week's gone by (and remarkably quickly if I do say so myself). Since last we spoke I've gotten updates to work, basic filters, cleaned up some fun messes in the source code, added support for count(), tests for ForeignKeys, and began investigating more complex lookup types. Here

Re: Class based generic views in 1.3?

2010-06-17 Thread Alex Gaynor
On Thu, Jun 17, 2010 at 3:35 PM, Johannes Dollinger wrote: > Am 17.06.2010 um 18:23 schrieb Ian Lewis: > >> The example he provided isn't terribly good but you don't need an view >> instance per request (the example will work unless you start adding >> stuff to self or overwriting self.qs etc). On

Re: tests failing on svn r13362?

2010-06-20 Thread Alex Gaynor
On Sun, Jun 20, 2010 at 5:57 PM, Michael Cetrulo wrote: > hello I'm trying to run the tests for trunk according to the instructions on > http://docs.djangoproject.com/en/dev/internals/contributing/#running-the-unit-tests > I've also installed the packages mentioned there but I get one error and on

[GSOC] Query Refactor Update

2010-06-21 Thread Alex Gaynor
Hey all, This past week was mostly spent getting lookup's working (and negation), that's gone fairly well. Well enough, in fact, that I spent most of today getting some low hanging fruit working: namely ordering, slicing, and values. In slicing we've come to an interesting design decision. Atte

Re: 1.3: Start deprecating mod_python?

2010-06-22 Thread Alex Gaynor
On Tue, Jun 22, 2010 at 6:24 PM, Gustavo Narea wrote: > Whoops, I wan't aware of this topic when I posted this: > > http://groups.google.com/group/django-developers/browse_thread/thread/2e20f4ae486800a1 > > Anyway, I'm +1 on this. > > On Jun 22, 10:47 pm, Robert Coup wrote: >> Hey folks, >> >> Wh

Re: 1.3: Start deprecating mod_python?

2010-06-22 Thread Alex Gaynor
On Tue, Jun 22, 2010 at 6:47 PM, Graham Dumpleton wrote: > > > On Jun 23, 9:41 am, Russell Keith-Magee > wrote: >> On Wed, Jun 23, 2010 at 5:51 AM, Jacob Kaplan-Moss >> wrote: >> > On Tue, Jun 22, 2010 at 4:47 PM, Robert Coup >> > wrote: >> >> While people are throwing around 1.3 ideas... I th

Re: Spam attack on the Wiki

2010-07-05 Thread Alex Gaynor
I just went through and deleted all of his edits. Alex On Mon, Jul 5, 2010 at 11:18 AM, Christopher Petrilli wrote: > Just an FYI, but there's been hundreds of edits to add spam links in > the last few hours.  Might be worth locking it and rewinding the > database. > > Chris > -- > | Chris Petri

Re: Problem with randrange in django/middleware/csrf.py

2010-07-08 Thread Alex Gaynor
On Thu, Jul 8, 2010 at 8:39 AM, Russell Keith-Magee wrote: > On Thu, Jul 8, 2010 at 3:17 PM, DanEE wrote: >> Hello >> >> I posted this already in django-user. But because it is rather an >> internal django/python problem I will repost it here >> >> I experienced a strange behaviour with my django

Re: MySQL index hints

2010-07-08 Thread Alex Gaynor
On Thu, Jul 8, 2010 at 3:51 PM, Simon Riggs wrote: > On Mon, 2010-07-05 at 00:59 -0700, Simon Litchfield wrote: >> > If you can come up with answers to these points, I might get >> > interested. 1 and 2 are fairly trivial; I can think of some obvious >> > answers for 3, but 4 is the big problem, a

Re: LOGIN_URL, LOGOUT_URL, LOGIN_REDIRECT_URL and SCRIPT_NAME.

2010-07-10 Thread Alex Gaynor
On Sat, Jul 10, 2010 at 7:24 AM, Russell Keith-Magee wrote: > On Sat, Jul 10, 2010 at 12:49 AM, Carl Meyer wrote: >> On Jul 7, 7:11 pm, Graham Dumpleton >> wrote: >> [snip] >>> web application, to be a well behaved WSGI citizen, should honour >>> SCRIPT_NAME setting as supplied by the server, an

Re: Proposal: Revised form rendering

2010-07-11 Thread Alex Gaynor
On Sun, Jul 11, 2010 at 12:16 PM, David Larlet wrote: > Hi, > > Le 11 juil. 2010 à 17:36, Russell Keith-Magee a écrit : >> I'd like to propose a few extensions to Django's form library for 1.3. > First of all, thanks or your proposal, the current form rendering is the > worst part of Django to me

Re: Invalid SQL generated by objects.all()[:1]?

2010-07-15 Thread Alex Gaynor
On Thu, Jul 15, 2010 at 1:00 PM, Mark Bucciarelli wrote: > Hi, > > I've just been informed by a MonetDB developer > that LIMIT and ORDER BY clauses are not > allowed by the SQL spec in sub-selects. > > I filied a bug with them because the Django > code: > >   Event.objects.all()[:1] > > was failin

Re: Invalid SQL generated by objects.all()[:1]?

2010-07-15 Thread Alex Gaynor
On Thu, Jul 15, 2010 at 1:14 PM, Mark Bucciarelli wrote: > On Thu, Jul 15, 2010 at 2:04 PM, Alex Gaynor wrote: >> >> It may be that they aren't allowed by the spec, but the only database >> (that Django includes an adapter for) that doesn't support them >> (

Re: djangoproject.com hiccup: community section configured wrong

2010-07-16 Thread Alex Gaynor
On Fri, Jul 16, 2010 at 4:20 PM, Jeremy Dunck wrote: > Did someone fiddle with the server recently? > > Scott Turnbull join pointed out a problem on > http://www.djangoproject.com/community/ -- some links point to > example.com. > > I looked just now, and it looks like the importer ran incorrectly

[GSOC] Query Refactor Update

2010-07-16 Thread Alex Gaynor
Hey all, The last while has been spent continuing the fight to make aggregates work correctly, Russ provided some good insight that's gotten me farther on it. All that code is in my query-refactor-aggregates branch on github, as it's not fully working ATM. This week I also pushed a few updates t

Re: memcached-based-cache - timeout=0 does not work as intended by memcached

2010-07-21 Thread Alex Gaynor
On Wed, Jul 21, 2010 at 9:41 PM, Russell Keith-Magee wrote: > On Fri, Jul 16, 2010 at 6:54 PM, Carsten Reimer > wrote: >> Hello, >> >> I am not quite sure if this is the right mailinglist but as long as my >> remarks are about a core-component of django I hopefully chose the right >> list. >> >>

Re: MySQL index hints

2010-07-22 Thread Alex Gaynor
On Thu, Jul 22, 2010 at 12:59 PM, Santiago Perez wrote: >> I'd be happy to use raw(); but then you lose len(), slicing, >> pagination, filter chaining, etc. My problem came about because admin >> change lists were unusably slow on large tables. With_hints allowed a >> simple monkey patch to admin,

[GSOC] Query Refactor List Field

2010-07-22 Thread Alex Gaynor
Hey all, As I said in my last update, this week I've been working on some ListField stuff. So far I have a basic ListField implemented, with a syntax of models.ListField(models.IntegerField()). However, there are a number of questions that have cropped up: 1) Should support for PostgreSQL (and

Re: firebird backend for django

2010-07-23 Thread Alex Gaynor
On Fri, Jul 23, 2010 at 4:30 PM, maxi wrote: > Hi, > > I'm working on django-firebird project and doing some modifications > for work with django 1.2 > Right now, I'm trying to pass some tests running the tests suit of > django trunk code and I found the next problem: > > django is trying to execu

Re: firebird backend for django

2010-07-23 Thread Alex Gaynor
On Fri, Jul 23, 2010 at 4:56 PM, maxi wrote: > > > On 23 jul, 18:42, Alex Gaynor wrote: >> On Fri, Jul 23, 2010 at 4:30 PM, maxi wrote: >> > Hi, >> >> > I'm working on django-firebird project and doing some modifications >> > for work wi

Re: Security Review

2010-07-26 Thread Alex Gaynor
On Mon, Jul 26, 2010 at 2:57 PM, Jacob Kaplan-Moss wrote: > Hi Craig -- > > Once again, thanks for this work; I can see it paying off big. And I > know you know this, but for the benefit of anyone else reading this > thread: > > **PLEASE report any security issues — potential or otherwise — to > s

Re: [GSOC] Query Refactor List Field

2010-07-26 Thread Alex Gaynor
On Fri, Jul 23, 2010 at 12:59 AM, Russell Keith-Magee wrote: > On Fri, Jul 23, 2010 at 4:37 AM, Alex Gaynor wrote: >> Hey all, >> >> As I said in my last update, this week I've been working on some >> ListField stuff.  So far I have a basic ListField

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-30 Thread Alex Gaynor
This isn't something django can help, it has to do with the overallocation patterns for python dicts. You would see this for any pytho obj with the right number of fields. Alex On Jul 30, 2010 7:17 PM, "Jacob Kaplan-Moss" wrote: On Fri, Jul 30, 2010 at 5:59 PM, OverKrik wrote: > Hi, I've been

Re: #12074 Fixed patch and added tests.

2010-08-04 Thread Alex Gaynor
On Wed, Aug 4, 2010 at 6:52 PM, David P. Novakovic wrote: > Hey, in the interest of easing myself into helping out I've picked an easy > ticket to get done. > http://code.djangoproject.com/ticket/12074 > I've fixed the patch and added tests. > Let me know if I've missed something, or done somethin

Re: Querysets with "only()" and "defer()" slower than without?

2010-08-05 Thread Alex Gaynor
On Thu, Aug 5, 2010 at 5:32 PM, OverKrik wrote: > I am performing every test 10 times, excluding one fastest and one > slowest result, restarting db every time and performing 10 000 request > to warm db before measuring execution time. > Just in case, I've tried running tests in only-full-only-ful

[GSOC] Query Refactor Final Status Update

2010-08-21 Thread Alex Gaynor
Hello all, With this past week GSOC has officially come to it's close, and I'm here to report on the status of the query-refactor. The original purpose of this branch was to do refactorings to the internals of the ORM, and produce a prototype backend for a non-relational database to demonstrate t

Re: Deploy Django to hostmonster

2011-11-17 Thread Alex Gaynor
On Thu, Nov 17, 2011 at 9:41 PM, Tran Bac Son wrote: > Hello, > I'm new in Django. I had write my own website by Django but I got problems > in deploying it to hostmonster. > The detail of my problem is: > http://stackoverflow.com/questions/8156173/django-cant-run-in-hostmonster > Please help me

Re: Improving test data experience

2011-11-30 Thread Alex Gaynor
On Wed, Nov 30, 2011 at 5:22 PM, Jeremy Dunck wrote: > Hi all, > I've got a codebase with a fair bit of fixtures and have been > experiencing some pain around it. One of the pains is migrating the > format of fixtures when a schema change occurs. > > I posted a thread to south-users to discuss

Re: Python 3 port - all tests now pass on 2.5.4, 2.6.2, 2.7.2 and 3.2.2 with the same codebase

2011-12-05 Thread Alex Gaynor
On Mon, Dec 5, 2011 at 2:07 PM, Carl Meyer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 12/05/2011 11:56 AM, Jeremy Dunck wrote: > > Carl, to be clear, if py3 pg is slower, but py2 pg is still in line w/ > > baseline, would that block merge to trunk? It's quite possible the >

Re: Adding Support for PyMySQL (for Python 3)

2011-12-07 Thread Alex Gaynor
On Wed, Dec 7, 2011 at 3:38 PM, Ian Clelland wrote: > Hi, all --- > > This is a proposal to add support in Django for PyMySQL[1] as an optional > replacement for MySQLdb. > > I've been working with Vinay Sajip's Python 3-compatible branch; trying to > get MySQL support working, and I have had a g

Re: Adding Support for PyMySQL (for Python 3)

2011-12-07 Thread Alex Gaynor
On Wed, Dec 7, 2011 at 4:03 PM, Ian Clelland wrote: > > > On Wed, Dec 7, 2011 at 12:48 PM, Alex Gaynor wrote: > >> It's a fine goal, though I'm not convinced this should necessarily ship >> with Django given PyMySQL has relatively few users. > > >

Re: Adding Support for PyMySQL (for Python 3)

2011-12-07 Thread Alex Gaynor
On Wed, Dec 7, 2011 at 5:17 PM, Ian Clelland wrote: > On Wed, Dec 7, 2011 at 1:07 PM, Alex Gaynor wrote: > >> I'm saying database backends need badly to me refactored to split up >> these two seperate concerns. >> > > Agreed, then. Is there a ticket for thi

Re: FileField should be a context manager

2011-12-08 Thread Alex Gaynor
On Thu, Dec 8, 2011 at 5:35 PM, Jacob Kaplan-Moss wrote: > On Thu, Dec 8, 2011 at 2:07 PM, Martin Chase > wrote: > > This shouldn't be backwards incompatible, just implementing the > > __exit__ and __enter__ methods. > > > > Use case: > > > > class Obj(models.Model): > >file_field = models.F

Re: Proposal: drop Python 2.5 support in Django 1.5

2011-12-10 Thread Alex Gaynor
On Sat, Dec 10, 2011 at 7:35 PM, Paul Egges wrote: > +1 > > I thought there was an implicit understanding that only 3 versions of > Python would be supported at any given time. If so it makes sense to drop > support for 2.4 when we add 3.x. > > > > On Sat, Dec 10, 2011 at 9:22 AM, Jannis Leidel

Re: Django error page - MemoryError

2011-12-20 Thread Alex Gaynor
On Tue, Dec 20, 2011 at 1:56 PM, Paul McMillan wrote: > > Place a try/catch for MemoryError on the exception handler to send back a > > simple exception traceback to the browser. > > Yes, this makes sense, as long as we are sure the memory error is > raised by Django code, not user code. > > > In

Re: SOPA bill question

2011-12-27 Thread Alex Gaynor
No, really guys this is totally off topic for this list. Please find an appropriate one for this discussion. Alex On Dec 27, 2011 11:16 PM, "James Richards" wrote: > I do agree that the fundamental point of Django is free distribution of > content. Are developers now obligated to design softwa

Re: DoS using POST via hash algorithm collision

2011-12-29 Thread Alex Gaynor
On Thu, Dec 29, 2011 at 10:32 AM, Daniel Sokolowski < daniel.sokolow...@klinsight.com> wrote: > Would someone be so kind and explain why POST variables are stored in hash > tables? What is the reasoning behind it? Speed? Or is this simply done at > the Python level when using a dictionary type? Th

Re: RFC: Query Methods

2012-01-03 Thread Alex Gaynor
On Tue, Jan 3, 2012 at 11:43 AM, Carl Meyer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Zachary, > > On 01/02/2012 10:55 PM, Zachary Voase wrote: > > At the moment it's very easy to add methods to individual models, just > > by putting a method on the model class itself which

<    1   2   3   4   5   6   >