Re: You've broken Oracle

2008-08-20 Thread Matt Boersma
7;ll look at it today and see if I can come up with a fix. Matt On Aug 20, 10:27 am, Justin Bronn <[EMAIL PROTECTED]> wrote: > > Rather than flag "row_number()" as an extra_select parameter (and then > > try to clean up after it later), Oracle now just uses the default

Re: You've broken Oracle

2008-08-20 Thread Matt Boersma
the module path when pickle attempts to resurrect it. Ian Kelly and I stared at this one for a while but didn't come up with a good fix yet. (If anyone out there uses Komodo, here's my tip of the day. Use manual breakpoints: from dbgp.client import brk; brk() That's the o

Re: You've broken Oracle

2008-08-20 Thread Matt Boersma
On Aug 20, 1:01 pm, Justin Bronn <[EMAIL PROTECTED]> wrote: > > Item.objects.dates('created', 'day')[0] > > DatabaseError: ORA-00923: FROM keyword not found where expected > > That's the exact error that's giving me problems -- I think it's one > of the same issue as I'm having.  It's because of t

Oracle IntregrityError and get_or_create test case

2008-08-21 Thread Matt Boersma
I noticed that in the get_or_create test case, Oracle fails because the cx_Oracle database driver raises a DatabaseError, not a more specific IntegrityError, when an INSERT lacks a required field. (Malcolm anticipated this in his commit message for r8450.) Looking at the C code for the driver, it

Re: Oracle IntregrityError and get_or_create test case

2008-08-23 Thread Matt Boersma
On Aug 22, 5:56 pm, Justin Bronn <[EMAIL PROTECTED]> wrote: > FYI, r8471 fixed my problems and all Oracle GeoDjango tests pass > again.  Thanks. That's good news, Justin--thanks for verifying! (I have access to 9i and 10g servers--not just XE--but spatial isn't licensed for any of them so I had

Re: Oracle IntregrityError and get_or_create test case

2008-08-25 Thread Matt Boersma
side the oracle backend. Let me know if you think that's acceptable. On Aug 23, 10:47 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2008-08-23 at 08:07 -0700, Matt Boersma wrote: > > [...] > > > However, I grep'ed the Django source and found t

Re: Oracle IntregrityError and get_or_create test case -- MySQL also

2008-08-25 Thread Matt Boersma
On Aug 25, 10:51 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > I just noticed that the MySQL backend also fails on this get_or_create > test.  It is returning an OperationalError instead of an IntegrityError. > Looks like MySQL returns errno 1364 (ER_NO_DEFAULT_FOR_FIELD) in this case > but this

Re: Absolute paths in settings.py

2008-10-30 Thread matt westerburg
I would like to see this, it seems to be an idiom that most people use. I know i have to implementent that exact same thing for every project I have ever done with django. On Thu, Oct 30, 2008 at 1:34 PM, Ole Laursen <[EMAIL PROTECTED]> wrote: > > Hi, > > There are a couple of things in settings

Re: #7611 contrib.auth PasswordResetTest requires specific templates for tests to pass

2008-11-10 Thread Matt Brown
used by ChangePasswordTest, to ensure that the correct templates are used during the test. - Matt Brown --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send

Re: Multi-Threaded Dev Server

2008-11-17 Thread matt westerburg
Is there any documentation as to why Django is not threadsafe? It just seems to me that with the Global Interpreter Lock and all, it would be threadsafe. I don't intend to start a flame, I am just curious about learning why this might be. I am favor of the mutlitprocess approach layed out by Lud

Non-trivial patches question, + whether mine qualifies

2008-11-18 Thread Matt Brown
I have a bit of confusion about how possibly "non-trivial" patches are supposed to be handled. Common practice here seems to be that if someone wants to propose a change and has a patch ready, they open a ticket first and then a discussion here. The docs indicate that if the patch is non-trivial

Re: Using pysqlite2 instead of sqlite3 when desired

2008-11-24 Thread Matt Hancher
n is, what should the configuration option look like? Here are two options: 1: SQLITE_MODULE_NAME = 'pysqlite2' 2: DATABASE_OPTIONS = {'module': 'pysqlite2'} 3: USE_PYSQLITE2 = True 4: # Other Preferences? My current vote is option 2, because it does not introd

Re: Testing speedup checked in

2009-01-16 Thread Matt Boersma
ce in helping Ian Kelly and I to keep the Oracle backend in shape. Matt On Jan 16, 8:17 am, "Karen Tracey" wrote: > On Fri, Jan 16, 2009 at 9:43 AM, Alex Gaynor wrote: > > PgSQL is indeed PostgreSQL.  Yes, I do still get the failures pre-fast > > tests, I guess I

Re: Controlling form/widgets output

2009-01-22 Thread Matt Boersma
On Jan 22, 2009, at 9:23 PM, catsclaw wrote: > > On Jan 22, 12:12 am, Jacob Kaplan-Moss > wrote: >> Why don't we start over here: what is the problem? What did you try >> do >> do? What did you expect to happen? What actually happened? > > Here's another problem I'm stuck at. I'm trying

[PATCH] Trivial typo in testing documentation

2009-03-07 Thread Matt Doran
Hi all, Attached is a trivial patch for a typo in the testing documentation. Regards, Matt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email

Re: [PATCH] Trivial typo in testing documentation

2009-03-07 Thread Matt Doran
Thanks Malcom. Will do. I saw the patch contribution guidelines, but wasn't sure if a ticket was required for such a trivial patch. Matt On Sun, Mar 8, 2009 at 2:54 PM, Malcolm Tredinnick wrote: > > On Sun, 2009-03-08 at 14:19 +1100, Matt Doran wrote: > > Hi all, >

Re: [PATCH] Trivial typo in testing documentation

2009-03-07 Thread Matt Doran
Done. http://code.djangoproject.com/ticket/10433 On Sun, Mar 8, 2009 at 3:20 PM, Matt Doran wrote: > Thanks Malcom. > > Will do. I saw the patch contribution guidelines, but wasn't sure if a > ticket was required for such a trivial patch. > > Matt > > > On Sun,

Re: Is the Oracle backend passing the model_forms_regress test?

2009-05-06 Thread Matt Boersma
On May 6, 2009, at 8:50 PM, Karen Tracey wrote: > On Wed, May 6, 2009 at 10:34 PM, Leo Soto M. > wrote: > > While testing the django-jython oracle backend I get an ugly failure > on model_forms_regress, Yes, I saw this too. I'll check in a fix tomorrow a.m. if no one beats me to it. >

Re: Oracle savepoints

2009-05-16 Thread Matt Boersma
On Sat, May 16, 2009 at 1:42 PM, Richard Davies wrote: > > My question is effectively the same as asking if the test suite passed > on Oracle between [8314] in August 2008 and [10022] in March 2009. > > I assume that it must have passed during those six months (Django 1.0 > was [8961] in Septembe

Avoid unbounded memory consumption when running `manage.py test`

2013-07-26 Thread Matt McClure
t_result.test_method)) +_XMLTestResult._test_method_name(test_result.test_id)) testcase.setAttribute('time', '%.3f' % test_result.elapsed_time) if (test_result.outcome != _TestInfo.SUCCESS): With these two changes, I can see memory fluctuate, increasin

Re: Avoid unbounded memory consumption when running `manage.py test`

2013-07-31 Thread Matt McClure
report your findings to the upstream maintainers. > > That way if it's actually confirmed as an issue, the solution will benefit > much more people than people doing testing in Django. > Thanks for the lead, Ramiro. Is the ultimate upstream the CPython repository now? Or a

Re: Avoid unbounded memory consumption when running `manage.py test`

2013-08-02 Thread Matt McClure
On Thursday, August 1, 2013 3:50:33 AM UTC-4, Florian Apolloner wrote: > For Python >= 2.7 it should be CPython; for everything below the separate > unittest2 repository. > Thanks. Just closing the loop. Now there's a conversation[1] on python-dev which led to an existing ticket[2] that's alm

Possible breakage of queryset week_day lookup - potential 1.6 release blocker?

2013-09-12 Thread Matt Austin
s the correct approach. Should an empty list be the desired behaviour, should an exception be raised, or should the old behaviour (which doesn't honour timezones) be maintained when tzinfo is not available? -- Matt m...@mattaustin.me.uk http://mattaustin.me.uk/ -- You received this message b

Re: Possible breakage of queryset week_day lookup - potential 1.6 release blocker?

2013-09-12 Thread Matt Austin
#x27; does appear to return the correct results. Thanks for investigating. -- Matt -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+

Re: [Feature Request] Having an middleware to be able to force authentication on views by default

2020-03-19 Thread Matt Magin
s works well, and managing the exclusions through settings is not a big deal. Having said that, I do like the idea of putting it inside the Auth middleware as well. +1 from me to put this into core functionality, I include django-stronghold in basically all my projects already. Cheers, Matt O

HTML escaping of help_text in Django 4.0

2022-01-06 Thread Matt Westcott
ecreed by the core team a long time back (https://code.djangoproject.com/ticket/6041#comment:6), and I can't find any indication of that decision being reversed. Was this change intentional? Cheers, - Matt -- You received this message because you are subscribed to the Google Groups "

Jenkins resources

2018-07-11 Thread Matt Cooper
our CI system is as good a home for Python (and PHP, and Ruby, and ...) projects as any system out there. One of the research activities I'm doing is trying to get a CI pipeline set up for well-known Python projects. Then I can see where we have gaps, where we have better features, et

Re: Jenkins resources

2018-07-12 Thread Matt Cooper
r several years, but greatly improved it over the last year. From an open source perspective, the worst problem the "black box" nature -- the community couldn't see built results, test failures, etc since VSTS projects were always private. Now with public projects, we're hoping

Re: Jenkins resources

2018-07-12 Thread Matt Cooper
Thanks Josh, I'll take a look at that. Also, I got past the pylibmc problem (I wasn't running `apt-get update` before attempting to install libmemcached-dev). On Thu, Jul 12, 2018 at 8:58 AM Josh Smeaton wrote: > Hi Matt, > > The django-box project[0] uses very close

Re: Jenkins resources

2018-07-12 Thread Matt Cooper
ing/issues/168> with the xmlrunner folks to make the same change. I'm also going to see if I can track down the right person to be more liberal in what the uploader accepts. On Thu, Jul 12, 2018 at 9:40 AM Carlton Gibson wrote: > Hi Matt, > > The settings files from the django-box p

Re: Jenkins resources

2018-07-19 Thread Matt Cooper
ut shortly. Other than that (major) gap, I'd love to hear if I've missed anything important. The build script is here <https://github.com/vtbassmatt/django/blob/ci/.vsts-ci.yml>. On Thu, Jul 12, 2018 at 10:36 AM Matt Cooper wrote: > Thanks! I'll keep in on list as long as no

Re: #29752 Adding a ALLOWED_HOSTS_IGNORABLE_URLS setting

2018-09-14 Thread Matt Pegler
se in production to support AWS health checks that may help give some more context: http://dpaste.com/2BS0C5M -Matt On Fri, Sep 14, 2018 at 10:44 AM, Tim Graham wrote: > What would be the value of that setting for your use case? > > On Friday, September 14, 2018 at 11:52:46 AM UTC-4, Jonas H w

Re: #29752 Adding a ALLOWED_HOSTS_IGNORABLE_URLS setting

2018-09-14 Thread Matt Pegler
properly. -Matt On Fri, Sep 14, 2018 at 11:29 AM, Tim Graham wrote: > Sorry, I still don't understand what "whitelisting the health check path" > looks like. > > Here's the snippet for anyone reading the thread after the pastebin expires. > > ALLOWED_H

Missing support for gettext fallback translations

2017-05-20 Thread Matt Westcott
an just our translation management not being up to scratch, and B) whether there's been any previous work on addressing this? Cheers, - Matt -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To

Re: Oracle branch: review notes

2007-06-01 Thread Matt Boersma
dex.html and download the .deb or .rpm and give it another try. Oracle installs used to be tricky, but since they packaged XE this way it's been painless for me, and obviously having a working setup would be essential for a buildbot environment. If you see specific errors, mail me at matt (at)

Re: textile mysql unicode and newforms

2007-06-19 Thread Matt Davies
Here's the add_event in my views which uses the newforms and calls the save. http://pastie.textmate.org/71706 It will probably help :-) On 19/06/07, vanderkerkoff <[EMAIL PROTECTED]> wrote: > > Hello everyone > > I'm running django from the trunk, so using the most up to date > version, python

Re: textile mysql unicode and newforms

2007-06-19 Thread Matt Davies
Hi Waylan I tried it the uicode branch on my local machine and it didn't make any difference. I'm still keeping it on my local box though. So, I tweaked the code a bit, so it looks like this at the top of the save overide now, not at the bottom and it's working as expected. if self.summary:

Re: Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread Matt Davies
Hi John You need to install the python Markdown Module, it doesn't come with django mate or python, it's like an add on. I think on gentoo linux you can install it using emerge and etc-update. Not sure though, check your gentoo documentation on installing python modules. On 21/06/07, john-f <

Reverse URL lookups after the Unicode merge

2007-07-06 Thread Matt Riggott
se return iri_to_uri(u'/' + get_resolver(urlconf).reverse(viewname, *args, **kwargs)) File "[]...]/django/core/urlresolvers.py", line 273, in reverse raise NoReverseMatch NoReverseMatch Is anyone else suffering from this problem? M. -- Matt Riggott (mailto:[EMAIL PROTECTED]). D

Re: Time for a new release?

2007-08-25 Thread Matt McClanahan
refer to the latest release, rather than trunk. Would we see the same amount of confusion from the other direction, or is it safer to assume that users of trunk are more aware that the documentation has versions than users of the releases? Matt --~--~-~--~~~---~--~~

Re: Visual recognition of Django website

2007-09-21 Thread Matt Boersma
On Sep 21, 2007, at 2:22 PM, SmileyChris <[EMAIL PROTECTED]> wrote: > > On Sep 19, 11:44 pm, Ned Batchelder <[EMAIL PROTECTED]> wrote: >> Now we just need to get someone to put it on the site... > > +1. Easy to do, looks good. +1. It's excellent. --~--~-~--~~~---~

Django Trac signup broken?

2007-09-25 Thread Matt Boersma
In reviewing bug #5579 (see http://code.djangoproject.com/ticket/5579), I discovered I never receive the confirmation email from Trac at http://www.djangoproject.com/accounts/register/. I've tried four times since Sunday, using two email addresses in different domains. I can't actually verify th

Re: Would a web search be a good addition to the contribs framework?

2007-10-01 Thread Matt Davies
yes please shabda we're currenlty moving away from webglimpse and into solr for our search engine technology, but something inside django itself would be really useful. Especially if you could query other django appilcations from within one application. ooh, now dat be tasty burgers On 01/10/2

Re: Django Trac signup broken?

2007-10-01 Thread Matt Boersma
On Sep 26, 8:38 am, Barry Pederson <[EMAIL PROTECTED]> wrote: > Matt Boersma wrote: > > In reviewing bug #5579 (seehttp://code.djangoproject.com/ticket/5579), > > I discovered I never receive the confirmation email from Trac at > >http://www.djangoproject.com/accounts/

Re: Django Trac signup broken?

2007-10-01 Thread Matt Boersma
That fixed it--I got the confirmation email immediately this time after registering. I'll close #5579. Thanks, Jacob. On Oct 1, 2:20 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > OK, it should be fixed for real this time -- emails are now being sent > from &

Re: Would a web search be a good addition to the contribs framework?

2007-10-03 Thread Matt Davies
n it :-) See, I'm lazy really, but I think I'm going to have to learn java as my boss is also a rails fan, so Sorl is looking like the most likely candidate. I love it by the way, it's fab! On 03/10/2007, Ian Holsman <[EMAIL PROTECTED]> wrote: > > Matt Davies wrote:

Re: Would a web search be a good addition to the contribs framework?

2007-10-03 Thread Matt Davies
Thanks for the tips Ian Building this search solution is the next job on my every growing list, I think I'll blog it as it'll be a really good example of someone who is starting from the beggining with very little knowledge :-) On 03/10/2007, Ian Holsman <[EMAIL PROTECTED]>

Re: Oracle slicing and backend refactor

2007-10-03 Thread Matt Boersma
On Oct 3, 6:23 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Oracle changes on the queryset-refactor branch are probably going to be > about the last thing to land on that branch because it's very time > consuming to test and work with for me. It sure is--we tend to run only single tests du

Re: Call for testing: New setup.py

2007-12-23 Thread Matt Good
quires a connection if you want to use the dependency feature. So, from what I can tell your problems should have been fixed with a 2-line change to remove ez_setup from setup.py. If you prefer to stick with distutils, that's fine, but don&

Re: Django expertise

2008-04-04 Thread Matt Davies
Aaron try this site http://djangogigs.com/ On 03/04/2008, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > > On Thu, Apr 3, 2008 at 9:07 AM, Aaron <[EMAIL PROTECTED]> wrote: > > My apologies in advance if this is not the correct channel for this > > message, > > > It is not. From the group's

Re: new to django / web development altogether

2008-04-13 Thread Matt Davies
Hi Joyanta You have so many questions that it's impossible to answer them all, and some of them are unanswerable, 'who knows', 'it depends' type answers. Django is good though, damn good. On 11/04/2008, Patryk Zawadzki <[EMAIL PROTECTED]> wrote: > > 2008/4/11 joyanta <[EMAIL PROTECTED]>: > >

Re: Consider releasing a .95 beta

2006-07-27 Thread Matt the Destroyer
Joe wrote: > I saw this post, but I wasn't sure a consensus had been reached. I thought simonslaw summed it up pretty nicely. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to t

Re: Consider releasing a .95 beta

2006-07-27 Thread Matt the Destroyer
Todd O'Bryan wrote: > On Jul 27, 2006, at 3:49 PM, [EMAIL PROTECTED] wrote: > > > Tom Tobin wrote: > >> On 7/27/06, Joe <[EMAIL PROTECTED]> wrote: > > > >> In line with other sentiments I've expressed here in the past: IMHO, > >> this means your *project manager* is addled, not Django's release >

Re: Consider releasing a .95 beta

2006-07-27 Thread Matt the Destroyer
Tyson Tate wrote: > > [...] If you can't handle using an in-development framework that's > improving by the hour [...] see it become the best web > application framework in the world > -Tyson Very ambitious words there, Tyson. While I can agreeably forsee Django eventually maturing into a great

Re: simonslaw/matt the destroyer

2006-07-27 Thread Matt the Destroyer
Thanks again. :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMA

[Feature Request] Allow a Field/DeferredAttribute object everywhere a field name as a string is currently expected

2020-01-13 Thread Matt del Valle
ango where such field name strings are expected and wrapping the input in this function. Is there any chance something like this could be considered as a new feature? Thanks in advance, Matt -- You received this message because you are subscribed to the Google Groups "Django developers (C

[Feature Request] Option to implicitly create tables within a database schema based on their model's app

2020-02-16 Thread Matt del Valle
Hi, So currently django seems to take the name of your models (either inferring it from the model class name or, if provided, it takes it from the model Meta options), and prepends the name of the app the model belongs to with an underscore to avoid table name conflicts. It then creates that t

Re: [Feature Request] Option to implicitly create tables within a database schema based on their model's app

2020-02-16 Thread Matt del Valle
EDIT: Actually, after some further digging it turns out it's worse than I thought. Unless I'm missing something it looks like there currently isn't any non-hacky way at all to set a table's schema in django. There are workarounds that involve SQL escaping hacks such as setting a model's db_na

<    1   2