Fwd: Django dynamic multiple databases

2023-08-12 Thread pankaj palmate
-- Forwarded message - From: pankaj palmate Date: Sat, 12 Aug, 2023, 20:12 Subject: Django dynamic multiple databases To: I want to creating saas based application containing one super admin and rest will be customers where each customer will have their own database .want multi

Fwd: Feature request : Load signals automatically

2021-09-14 Thread Roxane Bellot
Hi guys ! First of all, i’m new here, so if this issue has already been discussed or if here is not the place to talk about it (I also opened a forum post ) please don’t hesitate to tell me. Also, please be aware English is not my

Fwd: Massively improving ManyToMany caching when using in forms

2019-12-17 Thread László Károlyi
Hey, as discussed in https://code.djangoproject.com/ticket/31096, I have implemented a module regarding manipulating caching on Model instances loaded from QuerySets, and hot-replaced ManyToManyField.save_form_data() to cache the instance relations from a validated ModelMultipleChoiceField, keepin

Fwd: Discussion related to ticket #26822 (new migrations, --keepdb and --parallel option)

2016-07-04 Thread Romain Garrigues
Hi everyone, I have raised few days ago an issue ( https://code.djangoproject.com/ticket/26822) I encountered when using --keepdb and --parallel option. I have proposed a patch (https://github.com/django/django/pull/6884), and after some exchanged with Aymeric Augustin, I have been encouraged to p

Fwd: Static typing for python methods

2015-10-11 Thread John Michael Lafayette
Python now has static type checking. All you do is follow function parameters with ": paramType" and add "-> returnType" before the colon at the end of the function declaration and auto-complete will work on the return value in IntelliJ. Can you add the function parameter types and return types

Fwd: Formset clean() method is not called when invoking Formset is_valid()

2015-08-01 Thread A D
Hi, Reading on the documentation regarding formsets' validation: https://docs.djangoproject.com/en/1.8/topics/forms/formsets/#custom-formset-validation It seems that an overrided clean() method in a custom formset deriving from forms.BaseFormSet would be called when validating a formset (in par

Fwd: cx_Oracle 5.2

2015-06-21 Thread Shai Berger
FYI. The news as far as Django users are concerned are mostly improved support for Oracle 12c (not yet used in Django core, but available for users nonetheless) and some minor bugfixes. Have fun, Shai. -- Forwarded Message -- Subject: cx_Oracle 5.2 Date: Sunday 21 Ju

Fwd: Misleading 404 exception during unit tests.

2015-03-24 Thread Benjamin Scherrey
Raising the issue here. Ultimately, I think the 404 is ok but it needs to add details that will let the developer understand why a 404 is being returned. Of course this conflicts with much of the stated purpose of returning a 404 rather than the misconfigured exception but isn't the policy to NOT u

Fwd: HTTP/2 and WSGI

2014-09-19 Thread Russell Keith-Magee
Hi all, I have been contacted by Robert Collins, who is trying to get a working group together to discuss HTTP/2 and WSGI. Attached is the forwarded email from Robert with the kickoff details. Historically, Django hasn't been deeply involved in process of developing WSGI and related standards; t

Re: Fwd: Django 1.7 polymorphism error

2014-09-18 Thread Thiago Avelino
Without PolymorphicModel he's the same error! I'll write an example... Cheers, Thiago Avelino @avelino0 - avelino.xxx On Thu, Sep 18, 2014 at 12:11 PM, Carl Meyer wrote: > Hi Thiago, > > On 09/18/2014 08:51 AM, Thiago Avelino wrote: > > I think I found a error p

Re: Fwd: Django 1.7 polymorphism error

2014-09-18 Thread Carl Meyer
Hi Thiago, On 09/18/2014 08:51 AM, Thiago Avelino wrote: > I think I found a error polymorphism in django 1.7, field slug exist in > _meta.fields and run filter return error "FieldError: Cannot resolve > keyword 'slug' into field. Choices". > > Example: https://gist.github.com/avelino/793bdaf9f97

Fwd: Django 1.7 polymorphism error

2014-09-18 Thread Thiago Avelino
Hi guys! I think I found a error polymorphism in django 1.7, field slug exist in _meta.fields and run filter return error "FieldError: Cannot resolve keyword 'slug' into field. Choices". Example: https://gist.github.com/avelino/793bdaf9f9732314912a Slugged (abstract): https://github.com/opps/op

Fwd: Improvement to objects.get_or_create and objects.update_or_create

2014-08-27 Thread Benjamin Scherrey
Apologies for the cross-post. I imagine this is actually where this proposal belongs. Would anyone be interested in getting an implementation of this for consideration for incorporation into some upcoming or back ported release of Django? -- Ben Scherrey -- Forwarded message --

Fwd: [cx-oracle-users] cx_Oracle 5.1.3

2014-05-24 Thread Shai Berger
Hi all, This release of cx_Oracle includes fixes the segfaults encountered with Python3, and includes significant performance improvements for 64-bit platforms (where long is 64-bits, so, specifically, Windows not included). Strongly recommended for all Oracle users. Have fun, Shai. -

Fwd: Syncdb issue

2014-02-05 Thread Harjot Mann
Hello everyone, As we all know that syncdb is the command used in django to create tables and we also know that it does mot update tables once it is created. But why does it happen? Has anyone thought about it? For updating it we need to use south and django migrations. Actually I want to do improv

Fwd:

2013-05-02 Thread Jacob Kaplan-Moss
On Thu, May 2, 2013 at 1:34 PM, Michał Nowotka wrote: > http://www.techempower.com/benchmarks/#section=data-r4 django performance is > really bad comparing to other popular web frameworks. Are there any plans to > change this situation? First, there are some very serious problems with those "benc

Fwd: a problem when PATH_INFO == SCRIPT_NAME

2012-05-28 Thread heng zhao
-- Forwarded message -- From: heng zhao Date: Mon, May 28, 2012 at 3:09 PM Subject: Re: a problem when PATH_INFO == SCRIPT_NAME To: django-us...@googlegroups.com I read the comment in  https://code.djangoproject.com/ticket/8490,  I found someone met the same problem 3years ago. w

Fwd: ValueError: unknown locale: UTF-8

2012-05-02 Thread Timothy Makobu
Hi Devs, I got no reply on this issue when I posted it on django-users. I was eventually able to go around it by installing Django 1.3 (I was getting the error on 1.4) This error occurred on both PostreSQL and MySQL databases. regards, Tim -- Forwarded message -- From: Timothy M

Re: Fwd: Fwd: Feature request: log capture during testing

2011-05-15 Thread Chris Withers
On 14/05/2011 23:02, Luke Plant wrote: This is a slightly confusing set of messages to be forwarded to django-devs - please remember that django-devs has over 6000 subscribers who probably don't want to have to put together fragments of a private conversation! One forwarded message from the dja

Re: Fwd: Fwd: Feature request: log capture during testing

2011-05-14 Thread Luke Plant
This is a slightly confusing set of messages to be forwarded to django-devs - please remember that django-devs has over 6000 subscribers who probably don't want to have to put together fragments of a private conversation! But the original message from Jody was sent 2 weeks ago to django-devs, and

Fwd: Fwd: Feature request: log capture during testing

2011-05-14 Thread Chris Withers
Hey Jody/Django Devs, A friend of mine saw this go by and forwarded on to me. testfixtures is actively maintained and, while I don't use filters myself, I consider it a bug that this doesn't work as you expect! Can you email me a sample unit test that doesn't work properly and I'll get this

Fwd: Re : Validate that IntegerField is a valid Signed value

2011-05-01 Thread Cal Leeming [Simplicity Media Ltd]
Done [Django] #15939 : SignedIntegerField? / UnsignedIntegerField? as part of the core fields.py [Django] #15940

Fwd: FOR template tag improvement

2011-03-29 Thread Cal Leeming [Simplicity Media Ltd]
-1 I dislike the new proposed syntax. 2011/3/29 Mikoskay > There are reasons. > > 1. It's handy and quick to type. > > {% for x in lst %} > {% if x.is_something %} > {{ x }} > {% endif %} > {% endfor %} > > vs > > {% for x in lst if x.is_something %} > {{ x }} > {% endfor %

Fwd: djangoproject.com hiccup: community section configured wrong

2010-07-16 Thread Jeremy Dunck
-- Forwarded message -- From: Jeremy Dunck Date: Fri, Jul 16, 2010 at 4:33 PM Subject: Re: djangoproject.com hiccup: community section configured wrong To: django-developers@googlegroups.com On Fri, Jul 16, 2010 at 4:29 PM, Alex Gaynor wrote: ... > Are we sure it wasn't a proble

Fwd: This week's update: Kevin Kubasik

2009-04-24 Thread Kevin Kubasik
Forgot to include Django-Dev in this update, oops! (Sorry those who will get it twice!) Original Message: Ok, so not showing the proposal is silly, below is the original, but we have been restructuring the prioritization to maximize the awesomeness guaranteed to be accomplished. I left the origin

[Fwd: Re: [GSoC] Serialization Refactor]

2009-03-20 Thread Malcolm Tredinnick
Whoops... hadn't noticed this was sent to multiple lists, so only replied to the first one. Sending my technical discussion reply to django-dev, since that's where the main audience participation is likely to be. Forwarded Message From: Malcolm Tredinnick Reply-to: django-g...

Fwd: FileField.delete_file opening a file when deleting

2009-02-22 Thread Ludvig Ericson
Begin forwarded message: > From: Ludvig Ericson > Date: February 22, 2009 22:37:16 GMT+01:00 > To: django-developers@googlegroups.com > Subject: FileField.delete_file opening a file when deleting > > django.db.models.fields.files.FileField.delete_file often actually > winds up opening a file..

Re: [Fwd: Documentation: Google-foo lost]

2008-09-20 Thread Steve Holden
Steve Holden wrote: > Jacob Kaplan-Moss wrote: >> On Fri, Sep 19, 2008 at 2:19 AM, Steve Holden <[EMAIL PROTECTED]> wrote: >> >>> The question is: is it worth continuing this web-scraping and analysis >>> and potentially extending it to other reference mechanisms I am unaware >>> of? I don't kn

Re: [Fwd: Documentation: Google-foo lost]

2008-09-20 Thread Steve Holden
Jacob Kaplan-Moss wrote: > On Fri, Sep 19, 2008 at 2:19 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > >> The question is: is it worth continuing this web-scraping and analysis >> and potentially extending it to other reference mechanisms I am unaware >> of? I don't know whether the current redi

Re: [Fwd: Documentation: Google-foo lost]

2008-09-19 Thread Steve Holden
Jacob Kaplan-Moss wrote: > On Fri, Sep 19, 2008 at 2:19 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > >> The question is: is it worth continuing this web-scraping and analysis >> and potentially extending it to other reference mechanisms I am unaware >> of? I don't know whether the current redi

Re: [Fwd: Documentation: Google-foo lost]

2008-09-19 Thread Jacob Kaplan-Moss
On Fri, Sep 19, 2008 at 2:19 AM, Steve Holden <[EMAIL PROTECTED]> wrote: > The question is: is it worth continuing this web-scraping and analysis > and potentially extending it to other reference mechanisms I am unaware > of? I don't know whether the current redirection will eventually cause > the

Re: [Fwd: Documentation: Google-foo lost]

2008-09-19 Thread Steve Holden
Don Spaulding wrote: > > > On Tue, Sep 16, 2008 at 2:20 PM, Don Spaulding > <[EMAIL PROTECTED] > wrote: > > > Hope it's useful! > > > > and of course it isn't. I forgot my lambdas. Doh! > That's a great start. I noticed that many Google links are to fragments, and w

Re: [Fwd: Documentation: Google-foo lost]

2008-09-16 Thread Don Spaulding
On Tue, Sep 16, 2008 at 2:20 PM, Don Spaulding <[EMAIL PROTECTED]>wrote: > > Hope it's useful! > and of course it isn't. I forgot my lambdas. Doh! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developer

Re: [Fwd: Documentation: Google-foo lost]

2008-09-16 Thread Don Spaulding
On Mon, Sep 15, 2008 at 10:29 PM, Russell Keith-Magee < [EMAIL PROTECTED]> wrote: > > It would be > fantastic if such a mapping existed, and I don't think you'd get any > objections from the core developers if such a mapping were to > magically materialize. > poof! I took a shot at finding redir

Fwd: GSoC Final Report: Django on Jython

2008-08-25 Thread Leo Soto M.
-- Forwarded message -- From: Leo Soto M. <[EMAIL PROTECTED]> Date: Sun, Aug 24, 2008 at 2:53 PM Subject: GSoC Final Report: Django on Jython To: JythonDevelopers <[EMAIL PROTECTED]> Looks like many people already know about my SoC results. But I wanted to "officially" finish the

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: - Benchmarked and then di

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 missing the last one

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 stressful week. E

Fwd: Oldforms-admin to Newforms-Admin helper script

2008-06-11 Thread Will Hardy
Thanks for the links, I was sure someone had done this before. Looks like they're scanning the models.py source code and finding the information there. I think it would be easier and cleaner to generate it dynamically. @oggie rob, @russ magee Yep, it would only ever be needed once, and cluttering

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: JythonDevelopers <[

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 Jython To: JythonDev

Re: [Fwd: Re: Consistency between Django syndication framework & generic views (at least)]

2007-11-30 Thread Nicolas Steinmetz
Malcolm Tredinnick a écrit : > Could you please describe the problem you're asking about? I don't want > to have to watch a screencast to try and work out what the issue is > here. Yep sorry I could have provided more details. So on one side, you have generic views, in which the default name of

Re: [Fwd: Re: Consistency between Django syndication framework & generic views (at least)]

2007-11-30 Thread Malcolm Tredinnick
On Fri, 2007-11-30 at 19:39 +0100, Nicolas Steinmetz wrote: > As I did not get answer from the user list, I try on the dev list. > > Such consistency may also be nice in the {1[2}.O coming. Could you please describe the problem you're asking about? I don't want to have to watch a screencast to

[Fwd: Re: Consistency between Django syndication framework & generic views (at least)]

2007-11-30 Thread Nicolas Steinmetz
As I did not get answer from the user list, I try on the dev list. Such consistency may also be nice in the {1[2}.O coming. Message original Sujet: Re: Consistency between Django syndication framework & generic views (at least) Date: Tue, 27 Nov 2007 00:46:16 -0800 (PST) De:

Fwd: Multiple DB-Support at django

2007-10-10 Thread Ben Ford
Sorry for the forward, forgot to add the dev group when I sent the mail! -- Forwarded message -- From: Ben Ford <[EMAIL PROTECTED]> Date: 11 Oct 2007 10:14 Subject: Re: Multiple DB-Support at django To: BIERMANS Koen <[EMAIL PROTECTED]> Cc: "Adam, Mario AD/LGN-IL" <[EMAIL PROTECTED

Fwd: Ticket #5516 / Changeset 6400

2007-09-21 Thread Todd O'Bryan
I have a couple of reservations about the version of app commands that got committed and just wanted to bring them up here. In my original patch you had to use the following form for app-supplied commands: $ django-admin.py app_name.command I also separated out the help contents by app so that

Fwd: Ticket 4747 (multi-db)

2007-09-20 Thread Ben Ford
Hi folks, I'm forwarding this for all of the people who have expressed an interest in multi-db over the last few days/weeks. Koen has made the fantastic effort of updating the branch from my changes ( to r5589) up to r6110. I've attached that patch to ticket 4747

Re: [Fwd: Memory leaks]

2007-09-12 Thread Jamie
> I've got some time for testing and results are that without DEBUG is no > memory overhead. But I still wonder that if I delete connection.queries > in every cycle, why memory consumption still grows. What other > structures are created in DEBUG mode? Simple 'grep DEBUG' showed nothing > really i

Re: [Fwd: Memory leaks]

2007-09-09 Thread Tomas Kopecek
Tomas Kopecek napsal(a): > Honza Král napsal(a): >> On 9/9/07, Tomas Kopecek <[EMAIL PROTECTED]> wrote: >>> Honza Kr�l napsal(a): can you replicate this with DEBUG=False in your settings? without DEBUG turned on, no queries will be saved. I very much doubt that all these sites

Re: [Fwd: Memory leaks]

2007-09-09 Thread Tomas Kopecek
Honza Král napsal(a): > can you replicate this with DEBUG=False in your settings? > > without DEBUG turned on, no queries will be saved. I very much doubt > that all these sites built on Django are either leaking memory or not > using large quantities of objects like this one here. I've got some

Re: [Fwd: Memory leaks]

2007-09-09 Thread Tomas Kopecek
Honza Král napsal(a): > On 9/9/07, Tomas Kopecek <[EMAIL PROTECTED]> wrote: >> Honza Kr�l napsal(a): >>> can you replicate this with DEBUG=False in your settings? >>> >>> without DEBUG turned on, no queries will be saved. I very much doubt >>> that all these sites built on Django are either leakin

Re: [Fwd: Memory leaks]

2007-09-09 Thread Honza Král
On 9/9/07, Tomas Kopecek <[EMAIL PROTECTED]> wrote: > > Honza Kr�l napsal(a): > > can you replicate this with DEBUG=False in your settings? > > > > without DEBUG turned on, no queries will be saved. I very much doubt > > that all these sites built on Django are either leaking memory or not > > usin

Re: [Fwd: Memory leaks]

2007-09-08 Thread Honza Král
can you replicate this with DEBUG=False in your settings? without DEBUG turned on, no queries will be saved. I very much doubt that all these sites built on Django are either leaking memory or not using large quantities of objects like this one here. On 9/8/07, Tomas Kopecek <[EMAIL PROTECTED]> w

[Fwd: Memory leaks]

2007-09-08 Thread Tomas Kopecek
Hello, imagine following code snippets: --- class Simple(models.Model): data = models.CharField(maxlength = 1000) for id in Simple.objects.all(): Simple.objects.get(pk = id) --- For cycle should create instance of Simple and allocate corresponding memory. Immediately after that all memo

Fwd: < BEST COLLEGES OF THE WORLD >

2007-06-20 Thread Sheela Thaper
Hi Friends As we know that its time for admissions Here is the list of best colleges of the world please select the best one http://students.awepedia.info/best-colleges/ if you have info please share us and please reply me Thanks Tania --~--~-~--~~~---~--~~ You re

Fwd: << Want To Be An Astronaut ?? >>

2007-06-03 Thread REKHA
please send more info Sarah *if you want to be an Astronaut of NASA please read this guaid* http://information.100stuff.com/want-to-be-astronaut/ Thanks Rania --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Fwd: (((< TOP 10 Universities >)))

2007-06-03 Thread REKHA
Thanks please send more info Sarah Hi Friends, Here is top 10 Universities list of the World http://information.100stuff.com/top-10-universities/ enjoy it, and if you have any problem about online universities please reply me and you have any information about online courses please share with us

Fwd: <=<< Top 10 USA Universities >>=>

2007-05-25 Thread Rania Desai
we need info about Germany universities Thanks Hello Friends, *Here are Top 10 USA Universities admission open in some universities and some universities give you visa assistance. http://students.awepedia.info/top-10-usa-universities/ if you needs more information about universities please reply

Fwd: (=(=<>=)=)

2007-05-25 Thread Rania Desai
Gr8 work please send some more info *Friends Here are New 7 Wonders (Unbelievable Mega machine)* http://information.100stuff.com/unbelievable-megamachine/ if you know about any unbelievable thing please us Thanks bye --~--~-~--~~~---~--~~ You received this messa

Fwd: $$$ New 2007 Computers Collection for you $$$

2007-05-18 Thread Rania Desai
The best Computer for you [image: The best Computer for you] For 2007 Best Computer Collection Please visit: http://thebestcomputers.50webs.com/ REKHA SHARMA --~--~-~--~~~---~--~~ You received this message because you are

Fwd: $$$ Free Top rated photo editing software download now $$$

2007-05-18 Thread Rania Desai
*Top rated photo editing software download now** please visit this site:* [image: Picasa Photo Editor] *http://free-software-search.50webs.com/download/picasa/* If you need any information about *Picasa* please reply

Fwd: <$$$> FRIED CHICKEN RECIPES <$$$>

2007-05-18 Thread Rania Desai
[image: Fried Chicken Recipes] *if you need Fried Chicken** Recipes please visit this site* * http://freefoods.50webs.com/fried_chicken_recipes/** * If you need any information about *Fried Chicken* * Recipes* please reply me. *Thanks * *AN

Fwd: << Want To Be An Astronaut >>

2007-05-10 Thread Rania Desai
its a dream profession , Thanks *if you want to be an Astronaut of NASA please read this guaid* http://information.100stuff.com/want-to-be-astronaut/ Thanks Rania --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Fwd: <<< Top 10 Uk Universities >>>

2007-05-10 Thread Rania Desai
please tell me best computer science university in uk. Hello Friends, *Here are Top 10 UK Universities admission open in some universities and some universities give you visa assistance. http://students.awepedia.info/top-10-uk-universities/ if you needs more information about universities please

Fwd: Wonderful Idea

2007-05-08 Thread Shortcut Weebly
ShortIntroduction Well, cut short, Shortcut takes you to those ultimate, hand picked, genuine sites that add bucks to your pocket, without any strings attached! What you will find here: Links

Fwd: <<=( Unbelievable Mega machine )=>>

2007-05-02 Thread Rania Desai
*Friends Here are New 7 Wonders (Unbelievable Mega machine)* http://information.100stuff.com/unbelievable-megamachine/ if you know about any unbelievable thing please us Thanks bye --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Fwd: << Want To Be An Astronaut >>

2007-05-02 Thread Rania Desai
Nice work Please tell us about moon travelling *if you want to be an Astronaut of NASA please read this guaid* http://information.100stuff.com/want-to-be-astronaut/ Thanks Rania --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Fwd: <>

2007-05-02 Thread REKHA
please tell us about some unbeleaveble buildings *Friends Here are New 7 Wonders (Unbelievable Mega machine)* http://information.100stuff.com/unbelievable-megamachine/ if you know about any unbelievable thing please us Thanks bye --~--~-~--~~~---~--~~ You receive

Fwd: (((< TOP 10 Universities >)))

2007-05-02 Thread REKHA
Best work please send us some art universities in UK Hi Friends, Here is top 10 Universities list of the World http://information.100stuff.com/top-10-universities/ enjoy it, and if you have any problem about online universities please reply me and you have any information about online courses plea

Fwd: Aggregate class: a first-attempt

2007-02-22 Thread Honza Král
I think we should really move this to the developers' list On 2/23/07, Tim Chase <[EMAIL PROTECTED]> wrote: > > >> I haven't yet figured out a way to suppress the order_by portion, > >> so what's currently in there is an ugly hack. But it would need > >> to prevent the standard methods from inser

Re: Fwd: passing arguments to the login_required decorator

2007-02-08 Thread Rob Hudson
#3185 fixes these also: #3372, #3407 (there may be others). That patch would make me happy. Thanks, Rob On Feb 7, 12:12 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > Forwarding this here, because the problem would go away if we could > get some attention on ticket #3185: > > http://code.djan

Fwd: passing arguments to the login_required decorator

2007-02-07 Thread James Bennett
Forwarding this here, because the problem would go away if we could get some attention on ticket #3185: http://code.djangoproject.com/ticket/3185 -- Forwarded message -- From: Mike H <[EMAIL PROTECTED]> Date: Feb 7, 2007 6:16 AM Subject: passing arguments to the login_required

Fwd: Unpacking in template loops

2007-01-04 Thread Brian Beck
This concerns an addition/patch idea, so I'm forwarding it here... -- Forwarded message -- From: Brian Beck Date: Wed, 03 Jan 2007 22:56:42 - Subject: Unpacking in template loops To: "Django users" Sorry if this has been brought up before, I tried searching... Would it be

Re: Fwd: how are you handling i18n and m10l content?

2006-11-14 Thread Ivan Sagalaev
Ivan Sagalaev wrote: >> What about using generic relations for this? > > +1. Keeping all translations in one table instead of creating separate > tables for each user table is what I was going to propose but you beat > me :-) On a second thought I think it has certain problems (well, anything

Re: Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread Nebojsa Djordjevic
* David Blewett wrote, On 09.11.2006 14:14: > What about using generic relations for this? You could have something > like this: > class I18NText(models.Model): > language = models.ForeignKey(Language) > field = models.CharField(maxlength=25) > translated_text = models.TextField() >

Re: Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread Serg Kovrov
On Nov 9, 3:21 pm, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > +1. Keeping all translations in one table instead of creating separate > tables for each user table is what I was going to propose but you beat > me :-) This has one potential benefit - ease global search implementation. -- serg. -

Re: Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread Ivan Sagalaev
David Blewett wrote: >>> Actually this could be integrated into the core. >>> When you create a model, you could add translatable=True to fields >>> that have to be in the language-specific table. >>> When you make selections, you would need to set the language name in >>> the following or a simil

Re: Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
On Nov 9, 8:14 am, "David Blewett" <[EMAIL PROTECTED]> wrote: > What about using generic relations for this? You could have something > like this: > > class I18NText(models.Model): > language = models.ForeignKey(Language) > field = models.CharField(maxlength=25) > translated_text = mod

Re: Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
> > Actually this could be integrated into the core. > > When you create a model, you could add translatable=True to fields > > that have to be in the language-specific table. > > When you make selections, you would need to set the language name in > > the following or a similar way: > > MyModel.o

Fwd: how are you handling i18n and m10l content?

2006-11-09 Thread Kenneth Gonsalves
I am forwarding this from the django-users list as it will be of interest to developers too Begin forwarded message: > From: "Aidas Bendoraitis" <[EMAIL PROTECTED]> > Date: 9 November 2006 2:58:03 PM GMT+05:30 > To: django-users@googlegroups.com > Subject: Re: how are you handling i18n and m10

Re: [Fwd: Re: more fun with custom fields]

2006-10-12 Thread Bryan L. Fordham
>This is exactly the sort of change I was thinking of (note that it took >exactly two lines :-) ). Not sure if it covers all cases at the moment, >but you're definitely on the right track. > > heh yeah, I did notice it was two lines. And it probably does not handle all the cases since I'm self

Re: [Fwd: Re: more fun with custom fields]

2006-10-12 Thread Malcolm Tredinnick
Hey Bryan, On Thu, 2006-10-12 at 20:29 -0400, Bryan L. Fordham wrote: > forwarding to dev list from -users, since it fits dev better Yes, probably does now. [...] > > ok, I made this change to the Model.__init__() method. at the very end: > > > > for i, arg in enumerate(args): > > +

[Fwd: Re: more fun with custom fields]

2006-10-12 Thread Bryan L. Fordham
forwarding to dev list from -users, since it fits dev better the original thread: http://groups.google.com/group/django-users/browse_thread/thread/fdc940db9fd9d7a0/4a966c68c0036854?lnk=raot --B --~--~-~--~~~---~--~~ You received this message because you are subsc

Re: Fwd: [CAR] Error (EXTERNAL IP): /aggy/filter/

2006-08-31 Thread [EMAIL PROTECTED]
That's really weird. I've never seen that before - isn't 7F a control character? 7B's "}" so it's not like it's trying to guess sensible URLs. The IP looks right for google, but given that control character usage, I'd say it looks fairly dodgy. --Simon --~--~-~--~~~

Fwd: [CAR] Error (EXTERNAL IP): /aggy/filter/

2006-08-31 Thread Ian Holsman
hmm.. anyone else ever see google misbehave? check out the weird dates google is putting in it's parameter lists. car-chatter.com 66.249.65.235 - - [31/Aug/2006:11:43:57 +] "GET / aggy/filter/? date_modified__day=17&date_modified__month=7&ot=asc&date_modified__year= 2006&o=1 HTTP/1.1" 200

Fwd : NEW JOBS POSTED

2006-06-30 Thread Ritu
Hi Dear Members, FOLLOWING R THE NEW JOBS OF THE DAY : Sr. TIBCO Developer Peoplesoft Professionals self supporting trainee Sr.Software Developer ITES(bpo) IT(.net,asp,php) MNC BANKS Associate Software Developer Java Programmer Executives - Business Development HR Executive Siebel Pro

Re: Fwd: Admin interface using CharField as a primary key

2006-03-31 Thread Malcolm Tredinnick
On Fri, 2006-03-31 at 14:21 +0200, Daniel Bimschas wrote: > Thank you Malcolm, > > again it sounds like work is mainly being done on the magical-removal > branch. This is true, but it is not a bad thing for people using the trunk. Bugs / problems / interesting architectural decisions on the trun

Re: Fwd: Admin interface using CharField as a primary key

2006-03-31 Thread Daniel Bimschas
Thank you Malcolm, again it sounds like work is mainly being done on the magical-removal branch. I wonder if it would be the best to switch to MR now? Is it "stable"? Or when do you expect it to become stable? I started my project using 0.91 last week as a totally django-noob and I am close to c

Re: Fwd: Admin interface using CharField as a primary key

2006-03-31 Thread Malcolm Tredinnick
Hi Daniel, On Fri, 2006-03-31 at 12:23 +0200, Daniel Bimschas wrote: > Hi! I posted this on django-users before, but without success. Apologies for not seeing this on django-users (I am more than one day behind on reading that). > > If a field of "meta.CharField(primary_key=True)" is used in a

Fwd: Admin interface using CharField as a primary key

2006-03-31 Thread Daniel Bimschas
Hi! I posted this on django-users before, but without success. If a field of "meta.CharField(primary_key=True)" is used in a model, you get problems with the links in the admin interface, if there are colons or special characters in the string. They should be urlencoded and decoded i think. Is t

Fwd: [Changeset] r2401 - django/branches/magic-removal/django/core

2006-02-25 Thread Ian Holsman
With the removal of content types from the core framework, you will no longer be able to things like the comment application, which relies on the content-type-id to figure out what class the object belongs to. Is there any plan on putting this kind of functionality back? I personally think that t

[FWD: images path[please adrian help]]

2006-01-18 Thread mary . adel
> Dear ALL > I still have a problem with the picture feild here what i have done > 1- I write this in my page.py: full_image = meta.ImageField(upload_to > ="/media/images/", null = True, blank = True ) > 2-i opened the admin page and load the pictuer i need > i found that it creat a folder and i

Fwd: OODB with Django? Was Re: ZODB Anyone ?

2005-11-20 Thread Cheng Zhang
Cross-post from django-users list. Maybe it's a more appropriate topic to be discussed on the developers list. I'd like to stimulate some thoughts in this line of thinking: is it an even quicker way of rapid prototyping to use OODB with Django in the development phase? - Cheng Begin for