Re: [ANN] Database Backend for SQL Anywhere available

2009-06-23 Thread Russell Keith-Magee
On Mon, Jun 22, 2009 at 11:57 PM, Nathan Auch [Sybase] wrote: > > I am pleased to announce that a SQL Anywhere database backend for Django > is publicly available from: > > http://code.google.com/p/sqlany-django > > The backend is currently only supported against Django 1.0.2. I'll take > care of

Re: ANNOUNCE:- ibm_db_django - IBM Dataservers backend support for Django Application Framework.

2009-06-23 Thread Russell Keith-Magee
On Tue, Jun 23, 2009 at 5:00 PM, Tarun Pasrija wrote: > > IBM DB2 backend support for Django application Framework is now > available to the community. Right now it is in beta stage. > > ibm_db_django enables access to IBM databases from Django > applications > http://www.djangoproject.com/ > > Th

Re: [ANN] Database Backend for SQL Anywhere available

2009-06-24 Thread Russell Keith-Magee
On Tue, Jun 23, 2009 at 10:37 PM, Nathan Auch [Sybase] wrote: > > >> Open a ticket requesting this so the idea isn't forgotten. If you can >> work up a patch that contains some draft text, feel free to push the >> ticket onto the v1.1 milestone. >> >> If you're going to write some draft text, keep

Re: New django.shortcuts methods: get_object/list_or_404

2009-06-24 Thread Russell Keith-Magee
On Wed, Jun 24, 2009 at 10:58 PM, Chuck Harmston wrote: > Hello everyone! > I recently posted a patch that adds two methods to django.shortcuts: > get_list_or_none() and get_object_or_none(). These function identically to > their get _x_or_404 cousins, with one exception: they return empty QuerySe

Re: [New Feature In Admin] Added Edit-Icon in selection widget of ForeignKey and ManyToMany Fields(Relationship fields).

2009-06-29 Thread Russell Keith-Magee
On Mon, Jun 29, 2009 at 12:10 PM, Dharmesh Patel wrote: > Hello! > > I added a new feature to edit selected item in selection widget of > relationship fields like a FireignKey and ManyToMany fields. > > You can see SVN diff file here : http://code.djangoproject.com/ticket/11397 Hi Dharmesh Thank

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-29 Thread Russell Keith-Magee
On Sat, Jun 27, 2009 at 2:22 PM, Kevin Kubasik wrote: > Should windmill tests default to non-isolated/non-transactional DB behavior? > Basically, we are providing the means for functional tests, these should be > tests like 'Register and Complete a Profile', then 'Edit Profile'. We don't > want th

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-07-03 Thread Russell Keith-Magee
On Wed, Jul 1, 2009 at 7:01 PM, Kevin Kubasik wrote: > > > On Mon, Jun 29, 2009 at 10:20 AM, Russell Keith-Magee > wrote: >> >> On Sat, Jun 27, 2009 at 2:22 PM, Kevin Kubasik wrote: >> > Should windmill tests default to non-isolated/non-transactional DB >

Re: django doc improvement suggestion

2009-07-06 Thread Russell Keith-Magee
On Sun, Jul 5, 2009 at 4:47 PM, Amit Upadhyay wrote: > Further, its difficult to locate information about generic relations on any > of the following pages: > > http://docs.djangoproject.com/en/dev/ > http://docs.djangoproject.com/en/dev/topics/db/models/#topics-db-models > http://docs.djangoproje

Re: Cannot access admin site after update

2009-07-06 Thread Russell Keith-Magee
On Tue, Jul 7, 2009 at 11:46 AM, Diogo Baeder wrote: > > Hi, guys, > > Got this after updating my django trunk working copy to r.11199, and > cannot access the admin site anymore: > > http://dpaste.com/63968/ > > Any ideas of what it might be? If you are looking for help debugging a problem, plea

Re: Problem with admin after moving to another machine

2009-07-07 Thread Russell Keith-Magee
On Wed, Jul 8, 2009 at 10:16 AM, Diogo Baeder wrote: > > Hi there, > > I started to have this error: > http://dpaste.com/64355/ > while trying to access my admin site, after I moved my website from one > machine (my desktop) to the other (my laptop). I already restored my > PostgreSQL database, an

Re: Performance regression loading from fixtures in 1.1 & trunk

2009-07-11 Thread Russell Keith-Magee
On Fri, Jul 10, 2009 at 5:00 AM, David Turner wrote: > > I have created a test that does nothing but read in a fixture of 1 > items. > http://novalis.org/bugs/perf.zip I'd love to help out here, but it is 142 bytes in size, and when I unpack it, all I get is an empty directory. > It goes sig

Re: Tests for TestCase

2009-07-20 Thread Russell Keith-Magee
On Mon, Jul 20, 2009 at 9:45 PM, Andrew Fong wrote: > > Hi all, > > I'm working on a tweak to django.test.TestCase, my first attempt at > contributing to Django. I've been searching for existing tests of > django.test.TestCase (not tests that use django.test.TestCase, but a > test that verifies th

Re: Django 1.1

2009-07-21 Thread Russell Keith-Magee
On Tue, Jul 21, 2009 at 5:02 PM, Michael Kerrin wrote: > Hi All, > > I am working on a project that is currently running Django 1.1Beta from > March 23rd. > I am enquiring about the road map for the Django 1.1 release as I have not > seen much talk on the mailing list (I don't pay much attention t

Re: request.session.reload()

2009-07-21 Thread Russell Keith-Magee
On Tue, Jul 21, 2009 at 10:23 PM, Zachary Voase wrote: > > Hi Developers, >    I know this feature request might be a little late in the > development process, so I’m sorry about that. The idea is to add a > reload() method to SessionBase, so that the session data can be > reloaded from it’s stora

Re: OneToManyField?

2009-07-21 Thread Russell Keith-Magee
On Tue, Jul 21, 2009 at 10:12 PM, Jonas Obrist wrote: > > In the documentation I see that there are Many-To-One Fields, > Many-To-Many Fields and One-To-One Fields. What about a One-To-Many > Field? You might now say that this is completely pointless since a > Many-To-One Field reversed is basical

Re: to save modified version of contents

2009-07-22 Thread Russell Keith-Magee
On Wed, Jul 22, 2009 at 3:16 PM, Ali Rıza KELEŞ wrote: > Hi, > > I have a model which keeps texts, dates, author, etc.. something like a > clasical content model. > > I want to allow admins to save modified versions of these contents. If > possible in another db table like this: > > ... > same tab

Re: OneToManyField?

2009-07-22 Thread Russell Keith-Magee
On Wed, Jul 22, 2009 at 4:05 PM, dan wrote: > >> >> If a model A has a foreign key on model B, then the table for A >> requires a field to track the relation. However, if model B has a >> "many to one" on A table A requires a field. > > sorry, can you clarify that for me? - specifically: "mode

Re: Assigning to a model attribute with F()

2009-07-22 Thread Russell Keith-Magee
On Thu, Jul 23, 2009 at 7:56 AM, Zachary Voase wrote: > > I just found out that a particular Django ORM trick [1] seems to work > just fine but is undocumented. > > Could I ask what the official status is with regards to this ‘trick’? > Is it intentional? Also, since there isn’t any documentation

Re: Permissions independent of models

2009-07-24 Thread Russell Keith-Magee
On Sat, Jul 25, 2009 at 6:33 AM, Júlio Cesar wrote: > > Hey, Guys, > > There are some permissions that I would like to add in my project, > associated with acess a some views, particularly. > > But, there's no a clean mode to do this, because all permissions are > associated with ContentTypes, rig

Re: Why are checkboxes *still* like this?

2009-07-26 Thread Russell Keith-Magee
On Sun, Jul 26, 2009 at 9:53 AM, judgej wrote: > > > http://code.djangoproject.com/browser/django/trunk/django/forms/widgets.py > line 595: > output.append(u'%s %s' % (label_for, > rendered_cb, option_label)) > > 1- I know there is argument in the CSS/designer community about > embedding tags ins

Re: Filter on is-a test

2009-07-26 Thread Russell Keith-Magee
On Sun, Jul 26, 2009 at 10:22 PM, Forest Bond wrote: > Hi, > > I have a simple implementation that allows filtering based on whether or not a > particular row represents an instance of a particular model class.  This is > only > useful with concrete model inheritance. > > For example: > >  class

Re: Two simple to fix bugs in 1.1 RC

2009-07-27 Thread Russell Keith-Magee
On Mon, Jul 27, 2009 at 5:47 PM, Anssi Kaariainen wrote: > > Hello all, > > 1) > > If using postgresql with autocommit = True, and a postgresql version > that supports autocommit, first save of a model will fail if it is the > first query ran. ("ProgrammingError: no results to fetch"). > > The pro

Re: 1.1rc1 - KeyError in debug.py in technical_404_response

2009-07-27 Thread Russell Keith-Magee
On Mon, Jul 27, 2009 at 8:47 PM, John P. Speno wrote: > > Hi, > > Running Django 1.1rc1 via wsgi. Here's the stdout including the > request that raised the exception: > > 125.65.165.139 - - [26/Jul/2009 23:02:46] "GET > http://pv.wantsfly.com/prx.php?hash=65B15474B46964654834EDB41F4020883D0D9A08F7

Re: code style and external library

2009-07-28 Thread Russell Keith-Magee
On Mon, Jul 27, 2009 at 9:12 AM, Charlie DeTar wrote: > > Hi, > > I'm writing a reusable Django app that interfaces with a standalone > javascript library, which I hope eventually to submit for inclusion in > Django.  I've run into a conundrum: the javascript library uses mixed > case naming (like

Re: code style and external library

2009-07-28 Thread Russell Keith-Magee
On Tue, Jul 28, 2009 at 10:45 PM, Charlie DeTar wrote: > > Russell Keith-Magee wrote: >> On Mon, Jul 27, 2009 at 9:12 AM, Charlie DeTar wrote: >>> Hi, >>> >>> I'm writing a reusable Django app that interfaces with a standalone >>> java

Re: code style and external library

2009-07-29 Thread Russell Keith-Magee
On Wed, Jul 29, 2009 at 12:37 AM, Luke Plant wrote: > > On Monday 27 July 2009 02:12:07 Charlie DeTar wrote: >> Hi, >> >> I'm writing a reusable Django app that interfaces with a standalone >> javascript library, which I hope eventually to submit for inclusion >> in Django.  I've run into a conund

Re: [RFC] Input support to admin-actions

2009-07-29 Thread Russell Keith-Magee
On Wed, Jul 29, 2009 at 3:00 PM, Adys wrote: > > Hello, > > Now 1.2 is released I have a couple of long-standing issues I'd like > some feedback on. I'm not sure that 3 months counts as "long standing" in a project with open tickets that are three years old, but OK :-) > First one for now, w

Re: Ticket 3090 - multi-tag template tags

2009-07-29 Thread Russell Keith-Magee
On Tue, Jul 28, 2009 at 11:56 PM, Daniel Ring wrote: > > Partly pasted from http://code.djangoproject.com/ticket/3090 - a trivial > reordering in template.Parser.parse to allow inner template tags to take > parameters, something like 'parser.parse_until(('case', 'endswitch'))' where > the 'case

Re: DB Fields: reserved_names

2009-07-29 Thread Russell Keith-Magee
On Wed, Jul 29, 2009 at 10:23 PM, Jonas Obrist wrote: > > I tried to add support for an opposite of 'choices' to DB Fields (namely > CharField) but failed horribly. I still think that would be a nice > feature so I thought I'd bring this to this group. Maybe someone can > implement this. What I ha

Re: Feature request: admin notifications

2009-07-29 Thread Russell Keith-Magee
On Wed, Jul 29, 2009 at 10:57 PM, Peter Herndon wrote: > > On 07/29/2009 05:05 AM, Daniel Pope wrote: >> My suggestion is a system for administrators to be notified about >> specific model instances about which they need to take action. At >> present administrators have to identify where to make c

Re: Custom captcha

2009-07-30 Thread Russell Keith-Magee
On Thu, Jul 30, 2009 at 5:16 PM, gabon wrote: > > I'm evaluating the, probably crazy, idea to build a custom captcha, to > have it more related to the website. I created a subclass of > forms.CharField where on creation I choose the random content and > show, for testing purposes, a related label.

Re: [GSOC] Altering the signature of Field.db_type and Field.get_db_prep_*

2009-07-30 Thread Russell Keith-Magee
On Thu, Jul 30, 2009 at 7:50 AM, Alex Gaynor wrote: > > Hey all, > > In the process of my work on adding multi-db support to Django it has > become necessary to alter the signatures of Field.db_type and > Field.get_db_prep_(save, value, lookup). Putting in my 2c as Alex's mentor on this project:

Re: [GSOC] Altering the signature of Field.db_type and Field.get_db_prep_*

2009-07-30 Thread Russell Keith-Magee
On Fri, Jul 31, 2009 at 7:01 AM, Alex Gaynor wrote: > > On Thu, Jul 30, 2009 at 8:58 AM, Dj Gilcrease wrote: >> >> On Thu, Jul 30, 2009 at 5:55 AM, Russell >> Keith-Magee wrote: >>> Of course, Alex and I may have missed an obvious alternative solution >>

Re: [GSOC] Altering the signature of Field.db_type and Field.get_db_prep_*

2009-07-31 Thread Russell Keith-Magee
On Fri, Jul 31, 2009 at 8:34 AM, Jacob Kaplan-Moss wrote: > > Hi Alex, Russ -- > > I see some good pros and cons of each your suggestions. Just to throw > some more fuel on the fire, though, I've got an idea of my own: > > I tend to slightly favor introspection to identify old-style fields -- > it

Re: Cache DB backend

2009-08-02 Thread Russell Keith-Magee
On Sat, Aug 1, 2009 at 6:06 PM, Fraser Nevett wrote: > > I was looking at the database cache backend and noticed a number of of > things that might be worth improving... > >  * The "createcachetable" management command manually constructs and > executes SQL to create the table. This is seems a bi

Re: Feeds as views.

2009-08-03 Thread Russell Keith-Magee
On Mon, Aug 3, 2009 at 8:37 PM, zellyn wrote: > > [Hi folks. This is a re-post, now that 1.1 has been released.] > > Django's contrib.syndication app feels different from normal views, > using a dictionary and dispatching by slug, then finding objects by > splitting the rest of the URL into "bits"

Re: Logging instead of connection.queries

2009-08-03 Thread Russell Keith-Magee
On Mon, Aug 3, 2009 at 7:48 PM, Ivan Sagalaev wrote: > > Hello! > > A couple of days ago a sudden thought has struck me while thinking on > the matter of logging in Python libraries. I consider a good practice > for a library to log what it's doing into a named logger without setting > up logging

Re: Feeds as views.

2009-08-03 Thread Russell Keith-Magee
On Tue, Aug 4, 2009 at 2:12 AM, Ben Firshman wrote: > > > On 3 Aug 2009, at 14:50, Alex Gaynor wrote: >> >> Ben Firshman has written similar code that is backwards compatible >> with the current implementation: >> http://github.com/bfirsh/syndication-view/tree/master >> >> Alex > > I started going

Re: #8087: Adding support for lists to the template if tag

2009-08-04 Thread Russell Keith-Magee
On Tue, Aug 4, 2009 at 7:09 PM, Tom Evans wrote: > > Hi all > > A while ago, I added support for testing if an element is in a list to > the 'if' template tag. The diff is attached to ticket 8087, complete > with unit tests and documentation. > > Could a committer take a look at this change, and a

Re: Template Caching

2009-08-06 Thread Russell Keith-Magee
On Thu, Aug 6, 2009 at 5:24 AM, Mike Malone wrote: > Hey everyone, > > I've been working on a patch for Django that would allow you to optionally > cache templates after they've been lexed and parsed (compiled) by the > template engine. I've got things far enough along that I have a working > impl

Re: Web services / Rest Interfce

2009-08-07 Thread Russell Keith-Magee
On Fri, Aug 7, 2009 at 5:13 PM, Uolter wrote: > > What I would like to have in the next Django rel is a better support > to web services and rest api. > > I am using now the django-rest-interface, but I don't find it very > flexible. For instance I can have the xsd descriptor automatically to > ex

Re: 1.2 Proposal: Add a few more tutorial steps

2009-08-07 Thread Russell Keith-Magee
On Sat, Aug 8, 2009 at 12:33 AM, Jacob Kaplan-Moss wrote: > > On Fri, Aug 7, 2009 at 11:19 AM, Rob Hudson wrote: >> I'd be happy to help flesh out one or more of these.  This isn't >> necessarily a 1.2 feature but would be a nice addition to the >> documentation. > > I am *always* looking to impro

Re: 1.2 Proposal: Add a few more tutorial steps

2009-08-09 Thread Russell Keith-Magee
On Sun, Aug 9, 2009 at 4:00 PM, Bryan Veloso wrote: > > On Aug 8, 9:51 am, Dave Jeffery wrote: > >> Just a quick note that I would be happy to help out with this area of the >> docs too. > > Same here. Should we create a wiki page to coordinate this? I suggest using Trac. If you want to propose

Re: Form option, that would render asterisks for required field

2009-08-10 Thread Russell Keith-Magee
2009/8/10 Filip Gruszczyński : > > Hi everyone! > > Putting asterisks after a required field is a common practice. To > achieve I use right now a filter that is invoked after every form > field in a template. This isn't very convenient, but I haven't found > any better solution yet. > > I wonder i

Re: App Engine support

2009-08-10 Thread Russell Keith-Magee
On Mon, Aug 10, 2009 at 10:56 PM, Alex Gaynor wrote: > > On Mon, Aug 10, 2009 at 7:19 AM, Waldemar Kornewald > wrote: >> >> Hi, >> now that 1.1 is out we can finally discuss App Engine support. Is >> anyone planning to work on this feature or working on it for real or >> are there just announceme

Re: App Engine support

2009-08-10 Thread Russell Keith-Magee
On Tue, Aug 11, 2009 at 9:53 AM, Malcolm Tredinnick wrote: > > On Tue, 2009-08-11 at 07:55 +0800, Russell Keith-Magee wrote: >> On Mon, Aug 10, 2009 at 10:56 PM, Alex Gaynor wrote: >> > >> > On Mon, Aug 10, 2009 at 7:19 AM, Waldemar Kornewald >> > wrote: &g

Re: App Engine support

2009-08-10 Thread Russell Keith-Magee
On Tue, Aug 11, 2009 at 10:07 AM, Malcolm Tredinnick wrote: > > On Mon, 2009-08-10 at 05:19 -0700, Waldemar Kornewald wrote: >> Hi, >> now that 1.1 is out we can finally discuss App Engine support. Is >> anyone planning to work on this feature or working on it for real or >> are there just announc

Re: 1.2 Proposal: django debug toolbar in contrib

2009-08-11 Thread Russell Keith-Magee
On Tue, Aug 11, 2009 at 8:32 PM, Mat Clayton wrote: > Hey all, > > For us of the most useful developments in the django community recently has > been the django debug toolbar. > > http://github.com/robhudson/django-debug-toolbar/tree/master/debug_toolbar > > This seems to be branching and growing

Re: Proposal: Support for HTTP PATCH method

2013-05-21 Thread Russell Keith-Magee
Hi Krzysztof On Mon, May 20, 2013 at 7:48 PM, Krzysztof Jurewicz < krzysztof.jurew...@gmail.com> wrote: > There is a RFC describing HTTP method named PATCH: > > http://tools.ietf.org/html/**rfc5789 > > Quoting that RFC: > “ The difference between the PUT and

Re: Proposal: implement Postgres CLUSTER USING by default for MtM tables

2013-05-22 Thread Russell Keith-Magee
Hi Bryce, An interesting idea. How are you proposing that this feature be exposed as an API? Is there any reason that this couldn't be handled as a DB-admin operation? i.e., Django just does what it normally does, and if a DB admin notices that table clustering is a problem, they apply the cluste

Re: Passing parameters to raw()

2013-05-22 Thread Russell Keith-Magee
On Wed, May 22, 2013 at 5:37 PM, Roman Klesel wrote: > Hello, > > > the docs say: > > """ > Passing parameters into raw() > > If you need to perform parameterized queries, you can use the params > argument to raw(): > > >>> lname = 'Doe' > >>> Person.objects.raw('SELECT * FROM myapp_person WHERE l

Re: Proposal: Support for HTTP PATCH method

2013-05-22 Thread Russell Keith-Magee
Hi Krzysztof, Thanks for that patch -- I've just merged it to trunk. Yours, Russ Magee %-) On Wed, May 22, 2013 at 9:46 PM, Krzysztof Jurewicz < krzysztof.jurew...@gmail.com> wrote: > W dniu 21.05.2013 14:38, Russell Keith-Magee pisze: > > These are all reasonable and

Re: selecting app for syncdb

2013-05-22 Thread Russell Keith-Magee
Hi Michał, The short answer is "inter-application dependencies". For example, if one application has a foreign key on a second application, and you only synchronise the first application, you won't be able to set up any foreign key constraints on the first application. If you use the project in t

Re: Passing parameters to raw()

2013-05-23 Thread Russell Keith-Magee
On Thu, May 23, 2013 at 2:19 PM, VernonCole wrote: > > Officially (according to PEP-249) you are not supposed to be able to do > that (pass a dictionary of parameters), but PostgreSQL does it as an > extension to the spec. > Are you sure about this? http://www.python.org/dev/peps/pep-0249/#par

Re: Proposal: better support for generating rest apis in django core

2013-05-24 Thread Russell Keith-Magee
On Sat, May 25, 2013 at 1:00 AM, Shai Berger wrote: > Hi Karol, > > On Saturday 18 May 2013 13:26:53 Karol Sikora wrote: > > Hi, > > > > We was talked with Russell on djangocon eu about integrating more rich > > support for working django as rest api provider, focused on dealing with > > one-page

Re: Proposal/Discussion: url and template search using the directory structure of apps within django sites

2013-05-29 Thread Russell Keith-Magee
On Wed, May 29, 2013 at 4:04 PM, Jorge C. Leitão wrote: > Hi there. > > Django allows the possibility of putting apps within apps to improve > structure of the code and increase portability. I find this absolutely > genial. > > However, I find this feature quite limited by 2 key issues that are no

Re: Migrations, commands and syncdb

2013-05-30 Thread Russell Keith-Magee
On Fri, May 31, 2013 at 2:03 AM, Andrew Godwin wrote: > Hi everyone, > > I'm starting to plan out the commands for the new migrations stuff in > Django, and I've hit something of an impasse trying to decide which option > to go for. > > Short background: South modified syncdb to just sync non-mig

Re: Not calling things twice in templates

2013-06-02 Thread Russell Keith-Magee
On Mon, Jun 3, 2013 at 5:36 AM, Daniele Procida wrote: > The for ... empty pattern in templates is common and useful: < > https://docs.djangoproject.com/en/dev/ref/templates/builtins/#for-empty> > > But this is another common pattern: > > {% if my_bonnet.bees %} > > {% for bee in my_

Re: Not calling things twice in templates

2013-06-03 Thread Russell Keith-Magee
On Mon, Jun 3, 2013 at 1:20 PM, Shai Berger wrote: > On Monday 03 June 2013, Russell Keith-Magee wrote: > > Alternatively, add new sub tags to {% for %}: > > > > {% for bee in my_bonnet.bees %} > > {% pre %} > > > > {% body %} > > {{ bee }} >

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-06-12 Thread Russell Keith-Magee
Hi Chris, On Tue, Jun 11, 2013 at 4:29 PM, Christopher Medrela < chris.medr...@gmail.com> wrote: > Hello! > > **Making distinction between form validation and static validation.** I > named > the process of static checks of apps, models etc. "validation". > Unfortunately, > novices may confuse it

Re: Circularly dependent fixtures fail with Postgres 9.2

2013-06-16 Thread Russell Keith-Magee
Circular dependencies *shouldn't* be a problem on PostgreSQL because all constraints are set DEFERABLE INITIALLY DEFERRED; that means no constrain checks should be performed are performed until the transaction boundary, so all circular references shouldn't be a problem. Ticket #3615 exists because

Possible future compatibility naming conflict with checksetup command

2013-06-19 Thread Russell Keith-Magee
Hi all (but especially Daniel) I've got a quick question about a recent commit and some naming consequences that I think we need to sort out before we cut the 1.6 beta. tl;dr - I think we either need to rename the recently added checksetup command, or do some light refactoring of it's internals s

Re: Django generated admindocs

2013-06-24 Thread Russell Keith-Magee
On Tue, Jun 25, 2013 at 2:01 AM, Stryder Crown wrote: > Couple questions maybe someone can elucidate... > > When Model docs are generated, why are only methods that take no arguments > (save self) documented? > Because admindocs isn't documenting the models. It's a resource for templates. It lis

Re: Possible future compatibility naming conflict with checksetup command

2013-06-24 Thread Russell Keith-Magee
sensus, I'm happy to change it (or help (or > get out of the way)). > > > Daniel > > > > > On Wednesday, June 19, 2013 1:34:54 AM UTC-7, Russell Keith-Magee wrote: >> >> Hi all (but especially Daniel) >> >> I've got a quick question about a

Re: MAC adddres field

2013-06-26 Thread Russell Keith-Magee
On Wed, Jun 26, 2013 at 11:47 PM, Patryk Ściborek wrote: > W dniu środa, 26 czerwca 2013 17:26:12 UTC+2 użytkownik Carl Meyer napisał: > > >> Do you have any new information to justify why the existing resolution >> of #2239 should be reconsidered? >> >> I think the existing resolution is correct.

Re: Missing timezone support in built-in time template filter

2013-06-27 Thread Russell Keith-Magee
On Fri, Jun 28, 2013 at 5:33 AM, Warren Smith wrote: > Is anyone aware of a reason why the built-in time template filter does not > have timezone support? The built-in date template filter has timezone > support, but I wanting to use the TIME_FORMAT default stuff linked to the > time filter. > >

Re: Circularly dependent fixtures fail with Postgres 9.2

2013-06-28 Thread Russell Keith-Magee
If you can confirm that the problem exists on 1.6, but doesn't exist on 1.5, then yes, it is a release blocker. However, as I understand, you were reporting the same problem in 1.5. If it's the same problem, or a different error rising from the same root cause, then no, it isn't a release blocker.

Re: Missing timezone support in built-in time template filter

2013-06-28 Thread Russell Keith-Magee
On Sat, Jun 29, 2013 at 3:53 AM, Warren Smith wrote: > On Thu, Jun 27, 2013 at 7:54 PM, Russell Keith-Magee < > russ...@keith-magee.com> wrote: > >> >> I can see how what you're describing is a problem, and as far as I can >> make out, you haven't m

Re: ANNOUNCE: Django 1.6 beta 1 released

2013-06-29 Thread Russell Keith-Magee
On Sun, Jun 30, 2013 at 4:51 AM, Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > On 29 juin 2013, at 20:35, Hannu Krosing wrote: > > > Is there any hope to get https://code.djangoproject.com/ticket/6148 > > integrated int 1.6 ? > > > > This is about using schemas in databases whic

Re: Missing timezone support in built-in time template filter

2013-07-01 Thread Russell Keith-Magee
On Mon, Jul 1, 2013 at 10:47 PM, Warren Smith wrote: > On Fri, Jun 28, 2013 at 5:49 PM, Russell Keith-Magee < > russ...@keith-magee.com> wrote: > >> >> A third approach would be a new setting, for AWARE_TIME_FORMAT that would >>>> only get used if you pass

Re: Proposal: rename django-developers to django-contributors

2013-07-04 Thread Russell Keith-Magee
Allow me to confirm this. Search through the archives; this suggestion has been made several times in the past. Essentially, it comes down to the fact that you can't solve a social problem with technology. No matter what name we choose, *someone* will be able to misinterpret that name to mean "Oh,

Re: Regarding 3D model in Django

2013-07-09 Thread Russell Keith-Magee
On Tue, Jul 9, 2013 at 10:05 PM, John wrote: > On 09/07/13 12:31, James Bennett wrote: > > This list is for discussion of the development of Django itself. For > > discussion of how to use Django, please see the django-users mailing > list. > One day when I have nothing else to do[1] I will see h

Re: Adding a OneToMany Relationship to Django

2013-07-10 Thread Russell Keith-Magee
On Wed, Jul 10, 2013 at 4:20 PM, Curtis Maloney wrote: > I've seen enough people in #django suffering because they need a FKey on a > table they simply can't alter -- be it because it's in a 3rd party app, or > simply a table their DBA won't permit them to alter, or what have you. > > In the end t

Re: Explaining application instances

2013-07-11 Thread Russell Keith-Magee
On Thu, Jul 11, 2013 at 3:57 PM, Daniele Procida wrote: > There are a couple of places in the documentation that refer to > "application instances": > > > < > https://docs.djangoproject.com/en/dev/ref/contrib/admin/#multiple-a

Re: Spam on ticket #542

2013-07-14 Thread Russell Keith-Magee
On Sun, Jul 14, 2013 at 11:23 PM, Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > Hello, > > For some reason, ticket #542 has been collecting spam comments that > bypassed Trac's antispam. Since receiving spam on django-updates and > deleting it manually gets tedious after 100 mess

Re: Deprecate FCGI support in Django 1.7

2013-07-14 Thread Russell Keith-Magee
On Mon, Jul 15, 2013 at 10:06 AM, Curtis Maloney wrote: > As much as I recognise FastCGI is pretty much a dead technology in the > Python world, for people stuck with cPanel sites like HostGator, it still > appears to be, pretty much, the only option. > > And installing uWSGI there is simply not

Re: Deprecate FCGI support in Django 1.7

2013-07-14 Thread Russell Keith-Magee
t 1:04 PM, Michael Manfre wrote: > Has anyone thought to contact HostGator and see how they would react to > Django dropping FastCGI and/or whether they would be willing to support a > WSGI option. > > Regards, > Michael Manfre > > > On Mon, Jul 15, 2013 at 12:44 AM, Rus

Re: Revisiting multiline tags

2013-07-16 Thread Russell Keith-Magee
On Tue, Jul 16, 2013 at 9:41 PM, Daniel Ellis wrote: > My grandfather was a developer in a nuclear plant that I was interning at. > They used a Django-based web interface for internal operations. > > One of the functions their Django application managed was the release of > nuclear material. Wh

Re: Hybrid Property request

2013-07-16 Thread Russell Keith-Magee
On Wed, Jul 17, 2013 at 4:02 AM, Luis Francisco Jesus Masuelli Bonanni < endless.l...@gmail.com> wrote: > A feature I would really appreciate (as devs in > http://stackoverflow.com/questions/12217763/does-django-orm-have-an-equivalent-to-sqlalchemys-hybrid-attribute, > at least) is the Hybrid Prop

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-07-17 Thread Russell Keith-Magee
Hi Chris, On Fri, Jul 12, 2013 at 7:45 PM, Christopher Medrela < chris.medr...@gmail.com> wrote: > Finally, I've rewritten all model and field tests and checks. Some new > tests > were written. First draft of checking framework documentation was written. > All > tests passes (at least at my compu

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-07-17 Thread Russell Keith-Magee
On Mon, Jul 15, 2013 at 8:17 PM, Christopher Medrela < chris.medr...@gmail.com> wrote: > Progress: I've implemented manager checks. > > The schedule for the next 4 weeks is: > > 1. Manager checks (ref 4.1.7)(done)(0.5 week). > 2. Entry point registering (ref 4.1.5) & rewriting mechanism of trigger

Re: Deprecate FCGI support in Django 1.7

2013-07-21 Thread Russell Keith-Magee
On Mon, Jul 22, 2013 at 12:21 PM, Some Developer wrote: > On 14/07/13 20:17, Florian Apolloner wrote: > >> Hi, >> >> I'd like to get rid of everything FCGI-specific in Django sooner or >> later (rather sooner). Flup isn't maintained since a long time and there >> is no ticket tracker to report stu

Re: Deprecate FCGI support in Django 1.7

2013-07-22 Thread Russell Keith-Magee
On Mon, Jul 22, 2013 at 4:48 PM, Some Developer wrote: > On 22/07/13 05:47, Russell Keith-Magee wrote: > >> Based on the feedback from this thread (and the fact that multiple core >> devs, including a BDFL have weighed in), I think it's safe to say that >> the dec

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-07-23 Thread Russell Keith-Magee
On Wed, Jul 24, 2013 at 4:17 AM, Christopher Medrela < chris.medr...@gmail.com> wrote: > Progress: I've implemented registering entry points. Now there is > `django.core.checks.register(callable)` function. There is no > `run_in_development` and `run_in_production` arguments. I've also rewritten >

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-07-24 Thread Russell Keith-Magee
Hi Shai, Could I get you to open this as a ticket so that it isn't forgotten? Russ %-) On Thu, Jul 25, 2013 at 8:12 AM, Shai Berger wrote: > Hi Christopher, > > While you're dealing with model validation, I wonder if you can take a > look at > this little example -- a minor failure in the curr

Re: html email through from django.core.mail.send_mail and html email for password resets?

2013-07-27 Thread Russell Keith-Magee
Hi Justin, On Sat, Jul 27, 2013 at 11:17 PM, Justin Michalicek wrote: > I would like to make my first contribution to the Django code, but these > both are pretty easy and at least to me seem pretty obvious, so I thought > there might be some good reason they have not yet already been done. > Dep

Re: html email through from django.core.mail.send_mail and html email for password resets?

2013-07-28 Thread Russell Keith-Magee
Hi Justin, Correct - this should be handled as two separate tickets. If the patch for one ticket depends on a second, it's fine to have that dependency in the patches -- just note in the comments for the ticket when you upload your patch, or in the comment for the pull request. Essentially, we ju

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-08-06 Thread Russell Keith-Magee
On Wed, Aug 7, 2013 at 4:03 AM, Christopher Medrela wrote: > I'm still working at polishing after reviewing. I've deprecated > `requires_model_validation` and `validate`. I've started at adding tests > for > contenttype fields: `GenericForeignKey` and `GenericRelation`. > > I've updated gsoc2013-

Re: django.utils.functional.cached_property

2013-08-07 Thread Russell Keith-Magee
On Wed, Aug 7, 2013 at 8:10 PM, Daniele Procida wrote: > On Wed, Aug 7, 2013, Aymeric Augustin > wrote: > > >2013/8/6 Daniele Procida > > > >> Is there any reason why django.utils.functional.cached_property should > not > >> be documented, so that it can easily be used? > >> > >>

Re: django.utils.functional.cached_property

2013-08-08 Thread Russell Keith-Magee
On Thu, Aug 8, 2013 at 7:40 PM, Daniele Procida wrote: > On Thu, Aug 8, 2013, Russell Keith-Magee wrote: > > >One suggestion -- a new special topic guide on performance tweaking > > <https://code.djangoproject.com/ticket/20877> > > I'd like to take that o

Re: Proposal: ./manage check to look for models.BooleanField() without default= value.

2013-08-08 Thread Russell Keith-Magee
On Fri, Aug 9, 2013 at 1:25 AM, Collin Anderson wrote: > The new ./manage check command is for helping people upgrade to a new > version of django. > https://docs.djangoproject.com/en/dev/ref/django-admin/#check > > django1.6 changes models.BooleanField() to not default to False any more. > This h

Re: Merging Schema Alteration branch

2013-08-09 Thread Russell Keith-Magee
On Fri, Aug 9, 2013 at 9:36 PM, Andrew Godwin wrote: > Hi everyone, > > I think it's finally time to look at merging the schema-alteration branch, > which has gone slightly beyond its name and encompasses the schema > alteration backends and the migration code as well. > > The branch is working,

Re: GZipMiddleWare documentation

2013-08-09 Thread Russell Keith-Magee
On Sat, Aug 10, 2013 at 5:42 AM, Daniele Procida wrote: > What should the documents have to say on the subject now, in light of < > https://www.djangoproject.com/weblog/2013/aug/06/breach-and-django/>? > > > > Historically, we haven't updated our docu

Re: Deprecation a little harsh?

2013-08-11 Thread Russell Keith-Magee
Hi Simon, On Mon, Aug 12, 2013 at 12:21 PM, Simon Litchfield wrote: > It's great all the housekeeping we've been doing lately, and I'm sure we > all agree nice to have clean, tidy code; but I wonder if we've been a > little too unforgiving at the expense of easy compatibility with important > thi

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-08-15 Thread Russell Keith-Magee
Hi Christopher, On Wed, Aug 14, 2013 at 11:26 PM, Christopher Medrela < chris.medr...@gmail.com> wrote: > *Progress.* > > - Deprecated `requires_model_validation` flag and `validate` method (both > `BaseCommand` members) in favour of new `requires_system_checks` flag and > `check` method. > >

Re: Changes in Model._meta

2013-08-16 Thread Russell Keith-Magee
On Thu, Aug 15, 2013 at 6:56 PM, Michal Petrucha wrote: > Hello, > > As part of my GSoC work [1] I did a refactor of ForeignKey whereby I > turned it into a virtual field which creates an auxiliary concrete > field to hold the raw value. > > As part of this, there are several changes that I did in

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-08-16 Thread Russell Keith-Magee
On Fri, Aug 16, 2013 at 7:45 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > 8. I've added a new check. If you're using a `GenericRelation` but there >> is no >> `GenericForeignKey` on the target model, an warning is raised. This check >> w

Re: CSRF protection question

2013-08-16 Thread Russell Keith-Magee
On Thu, Aug 15, 2013 at 7:21 PM, James Roper wrote: > Hi, > > I'm a core dev on Play Framework, and I'm currently looking closely at our > CSRF protection and making improvements, and so I'm looking carefully at > what other frameworks do because when it comes to security, it's easy to > miss som

Re: Revisiting multiline tags

2013-08-18 Thread Russell Keith-Magee
On Sun, Aug 18, 2013 at 3:57 PM, Wim Feijen wrote: > Hi Jacob and Adrian, > > Reading this long thread with many +1s makes me think of truncatechars > which is not a good feeling. > It's important to remember that the truncatechars example wasn't anywhere near as simple as the original proposal

Re: Proposal: remove triage stage someday/maybe

2013-08-18 Thread Russell Keith-Magee
On Sun, Aug 18, 2013 at 4:10 PM, Wim Feijen wrote: > Hi, > > When triaging tickets I came across the triage stage Someday/Maybe. The > docs say I shouldn't use it. :) I think they are right. > > For me triaging tickets is all about making a decision. I make a choice > between either: "yes, good i

<    18   19   20   21   22   23   24   25   26   27   >