Re: New feature request - Run only a random subset of tests.

2024-02-17 Thread Jason Johns
agreed about this is a unittest/pytest specific focus, not django. This is pretty straightforward to do with pytest, can have a custom flag and then randomize the test collection. With unittest, not sure. On Monday, February 12, 2024 at 11:36:57 AM UTC-5 Jörg Breitbart wrote: > I also think th

Re: The problem of versioning a large project.

2023-04-01 Thread Jason Johns
>Now we have organized versioning, where our project is divided into separate GIT repositories which are created for each application. why? what's the reasoning for this? django already has apps, so why do you need to make multiple projects for single components? On Friday, March 31, 2023 at 1

Re: dynamically added INSTALLED_APPS

2023-02-21 Thread Jason Johns
I'd be a -1 on dynamic modification with installed apps. that's the developer's responsibility to add in, and should be implicit by design. The list of apps needs to come somewhere via configuration, and django defines that configuration to be done explicitly. I be;ieve some of the major secu

Re: Proposal for an "Age" PostgreSQL ORM function

2023-01-19 Thread Jason Johns
the AGE function takes in two timestamps and returns an interval. You can do this in python by subtracting two date/datetime objects and getting a timedelta. what would the difference be to kick this out to the db? On Tuesday, January 17, 2023 at 11:11:37 AM UTC-5 niccol...@gmail.com wrote: >

Re: Intention behind `adelete` being a queryset method, and not available on a model instance?

2022-10-22 Thread Jason Johns
s-orm-interface> >> >> says “QuerySet now provides an asynchronous interface...”. >> >> On Fri, Oct 21, 2022 at 3:51 PM Jason Johns wrote: >> >>> gotcha, then perhaps a documentation tweak would be in order, on both >>> queryset and model pages? becau

Re: Intention behind `adelete` being a queryset method, and not available on a model instance?

2022-10-21 Thread Jason Johns
ethods, not async Model methods. Async model methods like adelete(), and > perhaps asave(), would be the next logical step. > > On Fri, Oct 21, 2022 at 1:47 PM Jason Johns wrote: > >> I came across a reddit post yesterday >> <https://www.reddit.com/r/django/comments/y

Intention behind `adelete` being a queryset method, and not available on a model instance?

2022-10-21 Thread Jason Johns
I came across a reddit post yesterday about `adelete` raising an attribute error r = await mymodel.objects.aget(some_name=myname) await r.adelete() would throw an `AttributeError`, whereas r = await mymodel.objects

Re: Configuration of "level" in LOGGING

2022-04-04 Thread Jason Johns
How would this work with secret stores like hashicorp vault, aws secrets manager? Or even via environment variables? This approach would work if you define the logging level in your configuration, but not so friendly for other approaches. On Monday, April 4, 2022 at 9:26:02 PM UTC-4 Dan Swain

Re: Feature requests for queryset

2022-04-04 Thread Jason Johns
filter takes in a decomposed dict of keys and values, ie filter_dict = { "id_in": SomeIterable } qs = SomeModel.objects.filter(**filter_dict) from your example, IGNORE_FILTER does not return an iterable, so how is that to work with a SQL query? Seems to me that ths might be an x-y problem

djangocon eu slack and contact information

2022-03-15 Thread Jason Johns
At the django-users google group, someone made a recent post https://groups.google.com/g/django-users/c/E4SX505gTCY about the djangocon EU announcement . Looks like there's two references to the conference Sla

Roadmap and communication of features planned for releases

2022-01-29 Thread Jason Johns
This came up via a query at Reddit https://reddit.com/r/django/comments/setc9n/official_roadmap/ and I wasn’t able to find anything other than what is already in the comments. That also made me curious and feel that more communication about planned features and changes could be useful. Thanks!

Re: Feature Request: Provide an option to disable static files caching during development

2021-10-25 Thread Jason Johns
https://docs.djangoproject.com/en/3.2/ref/contrib/staticfiles/#django.contrib.staticfiles.storage.ManifestStaticFilesStorage Are you using this? basically, it converts static asset filenames from `styles.css` to `styles.2932y382.css` and other random-seeming hashes in the filename. Useful for

Re: RSS access to Google groups?

2021-07-28 Thread Jason Johns
https://support.google.com/groups/thread/118690869/when-will-googlegroups-rss-feed-be-back-online?hl=en Apparently you're not the only one having this error, and seems the solution only applies to public groups. On Tuesday, July 27, 2021 at 11:38:47 AM UTC-4 Claude Paroz wrote: > > Hi, > It l

Re: The certificate for code.djangoproject.com expired on 7/4/2021.

2021-07-04 Thread Jason Johns
FWIW, a user at pyslackers said they got a 503 about the same time about 50 minutes after Asif's initial message. Then about two hours later (about an hour before Adam's reply), someone else responded that they weren't able to replicate. Maybe there was a delay in applying the cert rotation?

Re: Should a queryset avoid using a pk of a deleted object?

2020-11-07 Thread Jason Johns
Does https://code.djangoproject.com/ticket/22553 cover this case? It was closed as a documentation update with this commit in the docs: https://github.com/django/django/pull/2974/files >From your example, re-doing the book.authors.all() call will refresh the queryset's cache. On Wednesday, No

Re: Proposal - Warn user when creating or applying a delete migration?

2020-06-12 Thread Jason Johns
I appreciate the feedback! I do agree with you, Adam, that this may not be something that would strictly be Django's responsibility, but I also feel that if a thing is causing a number of footguns, regardless if its primarily the user's fault, Django is getting the blame. I do like your sugg

Proposal - Warn user when creating or applying a delete migration?

2020-06-12 Thread Jason Johns
Should Django output a warning and/or require a prompt when a DeleteModel or RemoveField are to be executed when applying migrations? Over at the pythondev slack group, a user wanted to rename a model to another name, and wasn't aware of the `db_table` attribute in Model Meta. So a new model

Re: Forms submitted by bots

2019-12-14 Thread Jason Johns
We use Signal Sciences at work, integrated with nginx I'm looking for a solution which will be zero time wasting for human users, > not even clicking on the recaptcha's button, but on the other hand will > prevent bots from submitting the form > welcome to the

Re: Add Optional Slash Syntax for Path

2019-08-29 Thread Jason Brill
Hi Carlton, Thanks so much for the reply. We are temporarily migrating to re_path, however are definitely missing the slug syntax :) Best, Jason On Wednesday, August 28, 2019 at 10:15:29 PM UTC-7, Carlton Gibson wrote: > > Hi Jason > > I think in this case “just use re_path()” i

Add Optional Slash Syntax for Path

2019-08-28 Thread Jason Brill
As re_path and url syntax utilize regex, true optional trailing slashes are allowed for with the following example: re_path(r'^about/?$', AboutView.as_view(), name='about') In this example, a request to both /about and /about/ would yield a 200 response. Using *path* would look like this: p

Re: Ideas for a new DEP on long-term Django API compatibility

2019-08-17 Thread Jason Johns
Pascal, I don't think anyone here disagrees with your overall goal to reduce the breaking changes. As someone that got handed a 1.2 project with zero tests and updated it to 1.8, good test coverage to lay the foundation for reviving an ambitious project that went comatose before being prioriti

Re: ipdb throws AttributeError in autoreload.py with 2.2.2

2019-06-23 Thread Jason Johns
Wow, that was quick! Thank you! -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups

ipdb throws AttributeError in autoreload.py with 2.2.2

2019-06-23 Thread Jason Johns
Hello, About two weeks ago, work updated the base docker image to use django 2.2.2 and I noticed an issue right off the bat with using ipdb 0.12 and ipython 7.5.0 (which are also defaults for the docker image). I really didn't have the time to dig more, and got along well enough with pdb in th

Re: Extend FAQ with "How do I get Django and my JS framework to work together?"

2019-02-04 Thread Jason Johns
Tom Christie wrote this about what DRF brings to the table over plain Django: Django REST framework isn't required, but it helps you get a lot of things right that will be time consuming and error prone if you're working from core Django. • Serializers The Django serializers are not really suit

Re: revisiting the Python version support policy

2019-01-21 Thread Jason Johns
In addition, with tools like https://github.com/pyenv/pyenv available that make changing the currently applicable python version in any given shell extremely easy, I feel pinning support to a specific operating system version, however stable, is not the optimal approach -- You received this m

Re: A faster paginator for django

2018-12-05 Thread Jason Johns
https://www.citusdata.com/blog/2016/03/30/five-ways-to-paginate/ has some interesting alternatives. I believe Django uses the first one. But the others have some tradeoffs that might not apply to all the dbs that django supports. -- You received this message because you are subscribed to the

Re: Widening participation (Thoughts from DjangoCon)

2018-11-22 Thread Jason Johns
This is prompted by James Bennet's article yesterday which prompted a discussion with a coworker of mine. I've been using django for a while now, am a mid-level at a company that uses django/DRF heavily, and am a regular lurker here because its

Re: Django and Cython

2018-08-03 Thread Jason Johns
Not at all, just that Cython itself is probably not the approach to take. Andrew Godwin recently posted a proposal for a Django ASGI roadmap and there's a good amount of work to be done there. Benchmarks have their place.

Re: Django and Cython

2018-08-02 Thread Jason Johns
There was a discussion a while back about this https://groups.google.com/forum/#!searchin/django-developers/cython/django-developers/Fi4U602GxHA/mE50LOPkBgAJ tl;dr not sure what benefits Django would get from it, since the bottlenecks you experience are most likely non-Django/Python parts of you

Team of 7 students will be contributing to Django for a school project. What's the best way to work on features without stepping on toes?

2016-01-21 Thread Jason Atkins
code while we write it or if we will wait until the end of the semester in 4 months time. - Jason Atkins -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop r

Re: Strange behavior when running simple query via script versus view code

2014-06-17 Thread Jason Skicewicz
lease use django-users for usage questions. This list is for the > discussion of the development of Django itself. > > On Tuesday, June 17, 2014 7:41:04 PM UTC-4, Jason Skicewicz wrote: >> >> I have a many to many relationship from my UserProfile object to an >> obje

Strange behavior when running simple query via script versus view code

2014-06-17 Thread Jason Skicewicz
sys.exit(0) It results in a traceback with the following message: Traceback (most recent call last): > File "test_script.py", line 13, in > users = > UserProfile.objects.filter(theme_times__timestamp__gt=datetime.now()).distinct() > File > "/home/

Re: Perception of attitude in tickets

2013-05-12 Thread Jason Reethisma
@Russell "can't compel anyone to do anything"... you can compel people to NOT do something, such as, "don't close a ticket as won't-fix without giving a detailed explanation of why it should be closed". Saying that people cannot be compelled is an excuse to not take action. Ignoring the 3 out

Re: Kickstarter for Django Admin?

2013-04-04 Thread Jason Kraus
Currently you get the links through a link collection provider object attached to state; state.links.get__links() which collects links from its parents (endpoint and resource) and returns an empty set if none exist. I have been thinking about re-factoring this to something more robust. I find t

Re: Kickstarter for Django Admin?

2013-04-03 Thread Jason Kraus
On Sunday, March 31, 2013 9:46:59 AM UTC-7, Serge G. Spaolonzi wrote: > > > On Sat, Mar 30, 2013 at 7:20 PM, Victor Hooi > > wrote: > >> >> From the existing projects, we can draw two clear requirements that >> people want: >> >>- Changing the look and feel - I'm not sure what Django core's

Re: Django Admin Revamp - Any updates?

2013-01-10 Thread Jason Kraus
Thought I would share another admin rewrite effort currently in progress: https://github.com/zbyte64/django-hyperadmin -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/ms

Re: Why doesn't DjangoProject.com downloads provide a Windows installer like web2py does?

2012-12-22 Thread Jason Goldstein
C-extensions. After that, "pip install django, startproject, runserver" are easy instructions to follow even if you're not familiar with the command line. Cheers, Jason On Saturday, December 22, 2012 7:38:25 PM UTC-5, James Bennett wrote: > > On Sat, Dec 22, 2012 at 6:28

Re: Django is not a serious framework, really

2012-04-11 Thread Jason Ma
e are all human being right? We will get more fun if we get more helpful document. Forget it if it bother you. Regards, Jason 在 2012年4月11日 下午8:27,Jan Schotsmans 写道: > Hi Jason, > > pyc are compiled py files ... it means you most likely ran the code before > doing the "ls".

Django is not a serious framework, really

2012-04-11 Thread Jason Ma
Hi, I download and tried to use the Django 1.4 yesterday. I am a dummy and I just follow the official document, but When I just start a project. I found that it is what I see from my computer: jason@jason-pc:~/workspace/hunqing$ tree . . ├── hunqing │   ├── __init__.py │   ├── __init__.pyc

Re: Adding SASL support to Pylibmc backend

2011-11-22 Thread Jason Mayfield
nilla client; for example, Amazon's ElasticCache. Best, Jason -- 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 django

Re: Django POST Broken

2010-11-10 Thread Jason Mayfield
SERVER_PROTOCOL$server_protocol; uwsgi_param REMOTE_ADDR$remote_addr; uwsgi_param REMOTE_PORT$remote_port; uwsgi_param SERVER_PORT$server_port; uwsgi_param SERVER_NAME$server_name; - Jason -- You received this message because you are subscribed to the Google

Re: ANNOUNCE: Django 1.0 released

2008-09-04 Thread Jason Davies
On Sep 4, 1:07 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > The Django team is pleased to announce the release of Django 1.0 this evening +1! Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Updated patch for ticket #6213

2008-07-22 Thread Jason Davies
Anyone? Where's SmileyChris! :-) Thanks, Jason On Jul 12, 4:00 am, Jason Davies <[EMAIL PROTECTED]> wrote: > Hello, > > I recently attached an updated patch to #6213, "PREPEND_WWW and > APPEND_SLASH settings don't work with flatpages middleware"

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

2008-07-21 Thread Jason Yan
> However, if the user is _not_ using the views (e.g., they're using the > auth.User model, but providing their own login views), there is an > argument to be made for skipping the tests. Is it safe to say that if we try to reverse('django.contrib.auth.views.password_reset'), we should not run th

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

2008-07-19 Thread Jason Yan
I attached a new patch to the ticket in the original post. The hard- coded URL felt like it went against your reasoning for testing the auth application in your own project, so hopefully this approach gives us the best of both worlds. Without a proper way to skip test cases yet, I decided to fol

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

2008-07-18 Thread Jason Yan
Re: http://code.djangoproject.com/ticket/7611 The current situation is that if you create a new Django project and run the unit tests, the contrib.auth baisc tests fail due to missing templates. These templates are provided by the admin app, which is not installed by default. Russell brought up

Updated patch for ticket #6213

2008-07-11 Thread Jason Davies
atch also fixes #6167. Could someone review the patch please? Thank you, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-devel

Re: dict variable in template

2008-07-04 Thread Jason
t;[EMAIL PROTECTED]> wrote: > On Sat, Jul 5, 2008 at 10:20 AM, Jason <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I'm a newbie and using Django in the context of Google App Engine. > > Hi Jason, > > 1) Django-developers is a mailing list for discussing

dict variable in template

2008-07-04 Thread Jason
Hello, I'm a newbie and using Django in the context of Google App Engine. In my Python code I have: url = users.create_login_url(self.request.uri) data['attribute1'] = 10 data['attribute2'] = 20 formdata = { 'data': data, 'url': url, 'attribute_list': [attribute1, attribute2] }

Using RequestContext by default in default 500 handler

2008-06-23 Thread Jason Davies
reasoning, but it seems to me that my patch does fall back to using the "plain" Context if any new exceptions are raised, thus alleviating the problem mentioned in the comment. Is there something I've missed here? Any thoughts would be appreciated, Jason [1] http://code.djangopro

Re: Race condition in ModelChoiceIterator (affects ModelChoiceField and ModelMultipleChoiceField)

2008-06-19 Thread Jason Davies
On Jun 19, 8:49 pm, Jason Davies <[EMAIL PROTECTED]> wrote: > 2. Utilise simple thread synchronisation mechanisms to control access > to the queryset in question.  This would only need to be done when > cache_choices is True, so in the usual case when it is False there > would

Re: Race condition in ModelChoiceIterator (affects ModelChoiceField and ModelMultipleChoiceField)

2008-06-19 Thread Jason Davies
(e.g. using the cache framework) if really necessary. I feel that #2 is the best choice, what do other people think? Cheers, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To

Re: Errors in django/tests/regressiontests/views/fixtures/testdata.json?

2008-06-19 Thread Jason Davies
s better than it not working at all! Jason --~--~-~--~~~---~--~~ 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 fr

Race condition in ModelChoiceIterator (affects ModelChoiceField and ModelMultipleChoiceField)

2008-06-19 Thread Jason Davies
ndition in ModelChoiceIterator. See ticket #7475 [1] for a patch and more details. I'm not sure there's good way to add a regression test for something like this, any comments would be appreciated. Cheers, Jason [1]: http://code.djangopro

Re: GSoC: Effortless Model Testing

2008-04-04 Thread Jason Ledbetter
y have noticed, I kinda like to talk. ;) A mailing list and continually-updated documentation, definitely. A wiki eventually, but not until after SoC, where I'll have the time to manage one. Unless, of course, you or some other kind soul ends up wanting to maintain one. Thanks for your rep

Re: GSoC: Effortless Model Testing

2008-04-04 Thread Jason Ledbetter
de. Then I use my vast SoC riches to buy a castle in Europe where I will live off of cigars and brandy. What could go wrong? ;) -Jason L. P.S. I'm going to rewrite my proposal this weekend to properly focus on the real features. I'm used to writ

Re: GSoC: Effortless Model Testing

2008-04-03 Thread Jason Ledbetter
rue if you're thinking in "make a blog" context. But if you're thinking in "make an intranet page to track the insurance policies for seven sattelite offices" context, this sort of provability becomes terribly useful. And now I'll stop replying. Probably. -Jaso

Re: GSoC: Effortless Model Testing

2008-04-03 Thread Jason Ledbetter
ble data for the programmer to work with while developing his feature. He can finish his feature and even include performance metrics to prove he's not slowing anything down. So yeah, my idea is a lot more ambitious and useful than it would appear at first glance. Especially if the glance is at my

Re: GSoC: Effortless Model Testing

2008-04-03 Thread Jason Ledbetter
ve" tracking in the past with undo/redo functionality. Regardless, I'm really sold on working with Django this summer. Whatever you want me to work on, I'll work on it. It's no exaggeration to say that Python and Django rekindled by love for programming and jumpstarted

GSoC: Effortless Model Testing

2008-04-01 Thread Jason Ledbetter
bie.net Anyone willing to take a look and give me feedback would be most appreciated. I'm new to open source contribution but I'm really excited about Django in general, so I'll gladly change anything that'll take me a step closer to being accepted f

Re: Django admin Error at /admin/auth/user/1/?

2008-03-30 Thread jason krac
Jacob, Good response from a leader. I like that. No need to scare o users. keep up the good work Jason On Sun, Mar 30, 2008 at 11:40 AM, Jacob Kaplan-Moss < [EMAIL PROTECTED]> wrote: > > On Sun, Mar 30, 2008 at 9:53 AM, James Bennett <[EMAIL PROTECTED]> > wrote: > >

Re: Splitting django.newforms.models

2007-12-18 Thread Jason Davies
Sounds like a sensible cleanup to me. Regards, Jason On Dec 17, 8:21 pm, Brian Rosner <[EMAIL PROTECTED]> wrote: > I would like to propose splitting django.newforms.models. The reasoning > behind this stems from the work going on in newforms-admin. > django.newforms.models

Re: Auto-escaping comitted

2007-11-14 Thread Jason Davies
lock.super|safe }}, but perhaps it's even more template-developer > friendly to not escape {{ block.super }} by default. I discovered this problem too. I'd expect {{ block.super }} not to be escaped by default; can it be safely marked as safe though? Jason --~--~-~--~--

Re: Let's schedule a Django sprint

2007-09-07 Thread Jason Yan
I have a friend who can join in during the evening if it's held at Mountain View, though I am surprised there aren't more Django hackers in the Silicon Valley. On Sep 7, 9:51 am, "Adrian Holovaty" <[EMAIL PROTECTED]> wrote: > On 9/7/07, David Cramer <[EMAIL PROTECTED]> wrote: > > > Only 3 of us f

Re: full Atom Publishing Format support almost done

2007-08-01 Thread Jason Davies
On Aug 1, 5:21 pm, James Tauber <[EMAIL PROTECTED]> wrote: > As of r11, the full data model for the Atom Format (RFC 4287) is now > implemented. Great stuff. How easy is it to extend feeds with additional attributes, e.g. for Google

Re: Autoescaping: good time?

2007-08-01 Thread Jason Davies
On Aug 1, 7:31 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > We've seen how bad XSS can be; I think we have an almost moral obligation > here. Agreed; I'm +1 on this proposal for this reason. Genshi [1] seems to do a similar thing: autoescape is

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-15 Thread Jason Davies
On Jun 15, 4:58 am, "Joseph Kocherhans" <[EMAIL PROTECTED]> wrote: > I just checked in a bunch of > changes.http://code.djangoproject.com/changeset/5473 Excellent :-) Jason --~--~-~--~~~---~--~~ You received this message because you

Re: Volunteer(s) needed: Django needs a buildbot

2007-06-05 Thread Jason Sankey
s (e.g. diff view) in Trac. Plugging in the other way should also be possible by pulling out information via the XML-RPC remote API. > If you're interested let me know and I'll flesh out the details of > what I'd want to be able to test. Let me know if you would to try out Pulse

Re: django-values -> django-policy?

2007-05-30 Thread Jason Davies
tatorial call to paint the > bikeshed MY color. +1. Jason --~--~-~--~~~---~--~~ 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

Re: django-values -> django-policy?

2007-05-29 Thread Jason Davies
t do that), but I can > change all the documentation and add a note explaining the > discrepancy. Sounds a bit too generic for me. I'd prefer something like "dynamic settings". Maybe you should just name it after an animal or a plant ;-) Jason --~--~-~--~~

Re: django-values update

2007-05-18 Thread Jason Davies
rty apps like this. For instance, django-values expects you to put it in django.contrib.values, which seems a bit ugly. I've seen others which expect you to just put the module in the root namespace (e.g. the django-registration app). Is there any way around this, or i

Re: Field.contribute_to_class and contrib fields

2007-05-16 Thread Jason Davies
id cross my mind some time ago actually. It makes more sense to have model_instance.file_field.url instead of model_instance.get_file_field_url(). Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django devel

Re: Oracle patch is ready

2007-05-02 Thread Jason F. McBrayer
wever, I don't think these are very reproducable, and I didn't save the output; if I see anything like them again I'll make a point of recording as much information about it as I can. -- +---+ | Jason F. McBrayer

Re: Oracle patch is ready

2007-05-02 Thread Jason F. McBrayer
on between sqlreset and the Oracle recycle bin, but I'm not sure those would happen with a clean schema (the schema I am testing with is hand-coded and in flux). -- +-------+ | Jason F. McBrayer[EMAIL PROTECTED] |

Re: Disable admin pagination completely: discussion for ticket #4027

2007-05-01 Thread Jason Davies
t the edit_inline functionality that we're waiting for, according to the wiki? Is anyone working on that or should I work on it and submit a patch? Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django de

Re: newforms: better table markup

2007-04-04 Thread Jason Davies
patch? > > > +1 on adding "headers", -1 on adding (for the same reason we > > leave out). > > -1 on for the same reason. > > As for "headers," I'm +0. I'm -0 on the "headers" idea, as it makes the HTML bulkier. On the other hand

Re: admin-interface: move up/down proposal

2007-01-22 Thread Jason Davies
bject. It would be useful to be able to order objects in and of themselves, too. Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-d

Re: DecimalField

2006-10-26 Thread Jason Davies
. I think we should fix FloatField to use the correct type in the DB backend though (and document possible backwards-incompatibilities) - it's a shame to leave it half-broken before a 1.0 release. Jason --~--~-~--~~~---~--~~ You received this message because

Re: DecimalField

2006-10-25 Thread Jason Davies
Jacob Kaplan-Moss wrote: > On 10/24/06 5:25 PM, Jason Davies wrote: > > I think we should just distribute decimal.py to maintain Python 2.3 > > compatibility. > > I'm +1 on the patch if someone can resolve two things: > > * Is the license for decimal.py compatible

DecimalField

2006-10-24 Thread Jason Davies
distribute decimal.py to maintain Python 2.3 compatibility. Cheers, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-

Re: django and LDAP support

2006-08-16 Thread Jason F. McBrayer
ccount, search your username's full DN, bind with your full DN and password). -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | A flower falls, even though we l

Re: If there was massive security hole found in Django, are there plans in place to deal with it?

2006-08-10 Thread Jason Huggins
Adrian Holovaty wrote: > On 8/10/06, Jason Huggins <[EMAIL PROTECTED]> wrote: > > At this point, I'll leave it to the project admins to decide how to > > procede. But a new "django-announce" Google group sounds like the > > logicial next step. > &g

Re: If there was massive security hole found in Django, are there plans in place to deal with it?

2006-08-10 Thread Jason Huggins
t;django-announce" Google group sounds like the logicial next step. - Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-deve

Re: If there was massive security hole found in Django, are there plans in place to deal with it?

2006-08-09 Thread Jason Huggins
a fix, including patches against the current and two previous releases." Thanks for answering my questions, everyone. I'll try to read the docs more closely next time... :-) - Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: If there was massive security hole found in Django, are there plans in place to deal with it?

2006-08-09 Thread Jason Huggins
to keep an evil blackhat from subscribing to the very same list so he he knows when to get busy cracking sites using the same information? -Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django develope

Re: If there was massive security hole found in Django, are there plans in place to deal with it?

2006-08-09 Thread Jason Huggins
tate up-front how long Django devs expect to support various versions so people can weigh the risks of staying on an old release later on. This is a good thing to decide on when 1.0 ships. By comparison, the Ubuntu project is very upfront in how they promise to support each release. - Jason --

If there was massive security hole found in Django, are there plans in place to deal with it?

2006-08-09 Thread Jason Huggins
he mind of an "enterprise" flirting with the idea of going Django. It's also an area where Django can really shine compared to other web frameworks (Python or otherwise). -Jason --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: BinaryField in database

2006-08-07 Thread Jason F. McBrayer
ast two ways to work around that. So you don't actually need to store files in the database in order to do this. -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | A flower falls, even though we love it; and a weed

Re: Multi-db branch feedback/questions

2006-07-11 Thread jason pellerin
A wrinkle occurred to me last night that I really should have thought of earlier, and that calls into question my whole connection-handling setup. When served as a WSGI app in a container like Paste, settings can be different on every request. That means, first off, that however we decide to stru

Re: Multi-db branch feedback/questions

2006-07-10 Thread jason pellerin
Hi all, Thanks, Jacob. And yes please, more eyes are badly needed. Aside from dropping tables, the branch is fully functional -- please try it out! > I'd like to see this done the other way around, which the DATABASES > settings defining which *models* are used. I'm picturing something > like t

Re: multi-auth branch... time to merge?

2006-05-31 Thread Jason F. McBrayer
e running as root to read /etc/ldap_secret. This caused me to abandon the idea of writing a PAM backend. But I can see from your example that there are some environments in which it would work. -- ++ | Jason F. McBrayer

Re: oracle support patch for MR (0.92)

2006-05-09 Thread Jason Huggins
peter_k wrote: > hi jason, i am willing to help but i am not a python expert (yet). that > being said, if you'd explain how this backend works (especially the > oracle-related tweaks) we could work on it together. > > thanks, > peter Peter, I posted some of my explana

Re: Making URLconfs accept view objects, not just paths to views

2006-05-07 Thread Jason Davies
+1. Seems more consistent and Pythonic. Cheers, Jason --~--~-~--~~~---~--~~ 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@googlegro

Re: oracle support patch for MR (0.92)

2006-05-05 Thread Jason Huggins
tch, but... if there are other Oracle/Django hackers that would like to pick up the torch and officially maintain the patch going forward, please step in! -Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Automated builds

2006-05-02 Thread Jason Sankey
I do not want to spam you if you are not interested. If you are interested, however, just let me know and I will pass on the relevant details. Cheers, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: Opinions requested about validating edit_inline fields

2006-04-28 Thread Jason Davies
Malcolm Tredinnick wrote: > On Thu, 2006-04-27 at 09:19 -0700, Jason Davies wrote: > > > > > A solution that fits all needs would be to create an extra parameter for > > > these validators (the ones that take field names) that indicates that > > > only fields

Re: Opinions requested about validating edit_inline fields

2006-04-27 Thread Jason Davies
would be something like 'foo.0.' or 'foo.1.' when edit_inline is used. Regards, Jason --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, sen

Re: Removing TEMPLATE_FILE_EXTENSION

2006-04-15 Thread Jason Davies
gic#Includetemplateextensionexplicitly > > Please poke around and file a ticket if I've missed anything. I think generic views still need to be updated, see ticket #1643 . Cheers, Jason --~--~-~--~~~---~--~~ You received this message because you are sub

Re: Django auth magic

2006-02-09 Thread Jason Huggins
it comes time to "do LDAP right" in Django. I blogged about a "hack" I did to boot strap LDAP support into Django, but I think that was a very "monkypatch/Zope2" way to do it. If I (or Django) don't learn from history, we're bound to repeat it, until Django 3.2 comes about 10 years from now. :-) -Jason

Re: content types and packages need reworking for magic-removal

2006-02-07 Thread Jason Davies
Jason Davies wrote: > Luke Plant wrote: > > In addition to your patch, I'd propose changing 'get_model_module()' to > > 'get_model_class()' (also, your patch has a 'get_object', which should > > be just 'get'). > > OK

  1   2   >