Re: Conventions around plugable backends

2009-12-07 Thread Adrian Holovaty
On Mon, Dec 7, 2009 at 6:17 AM, Russell Keith-Magee wrote: > So, I'd like to call for a quick BDFL judgement. Everyone else should > feel free to weigh in with opinions if they have opinions, > preferences, or especially compelling arguments either way. My preference is (slightly) for class-based

Re: [Changeset] r2837 - django/trunk/docs

2006-05-05 Thread Adrian Holovaty
instead of DoesNotExist, but it does indeed raise DoesNotExist properly. These docs, aside from the tutorial, are really coming together. Keep the corrections and improvements comin'! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~

Re: Detect SSL/HTTPS

2006-05-05 Thread Adrian Holovaty
post-magic-removal trunk. Run that view on your HTTPS server to see all request.META keys. If you find it, let me know, and I'll update the docs. If you're not running the new trunk yet, you should just be able to copy that view off of this page: http://code.djangoproject.com/bro

Re: [Changeset] r2837 - django/trunk/docs

2006-05-06 Thread Adrian Holovaty
ve because QuerySets are immutable). I believe there are some > bits of code external to the QuerySet class that are using ._clone() -- > shall I change them to use the [:] idiom? Let's leave it at _clone(), because it's easier to understand that way. The "[:]" can be e

Re: standalone django templates

2006-05-06 Thread Adrian Holovaty
icket for this in the ticket system: http://code.djangoproject.com/ticket/1321 . Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developer

Making URLconfs accept view objects, not just paths to views

2006-05-06 Thread Adrian Holovaty
already possible via something like this (which is a bit ugly but works): def my_view(request): return HttpResponse('Hello world') urlpatterns = patterns('', (r'^hello/$', __module__ + 'my_view'), ) Thoughts? Adrian -- Adrian H

Re: enhanced inspectdb

2006-05-06 Thread Adrian Holovaty
st, but now that the magic-removal merge is done I have more time to look at patches. I'll take a look at it in the next couple of days. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you

Re: Building the documentation locally

2006-05-09 Thread Adrian Holovaty
if not strenuous ;-P , > evangelization work by C8E. I also wanted to thank you for this > thing of beauty you made. :-) Welcome, Nicola! And thanks very much for your documentation patch; I've committed it. The changes should show up live on the site within 15 minutes. Adrian

Re: CONTENT-LENGTH not being set

2006-05-14 Thread Adrian Holovaty
ConditionalGetMiddleware middleware component. http://www.djangoproject.com/documentation/middleware/#django-middleware-http-conditionalgetmiddleware Django doesn't do this by default for performance. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~

Re: Exceptions in Templates

2006-05-14 Thread Adrian Holovaty
looks like a good start. FYI, I've checked in that patch. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To

Re: RequestContext not working?

2006-05-16 Thread Adrian Holovaty
is working perfectly for me. If you explained what part of it isn't working for you, somebody could help solve your problem. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: RequestContext not working?

2006-05-16 Thread Adrian Holovaty
2917 on Breezy seams > to fail for some reason i cannot describe. Where could I have a deeper > look? Does django depend on certain mod_python versions? Does the problem happen on both the Django development server and mod_python? Adrian -- Adrian Holovaty

Re: Standalone template -- updated patch

2006-05-16 Thread Adrian Holovaty
rget'] = value ...instead of this? self._target = value Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group

Re: psycopg2 beta?

2006-05-16 Thread Adrian Holovaty
ts psycopg1 compatibility layer. I have not tested this, so it probably doesn't work, but it's a start. One thing, for example, is that the register_type() syntax has changed in psycopg2. Please play around with the new backend and file tickets with patches that make i

Re: Standalone template -- updated patch

2006-05-16 Thread Adrian Holovaty
mart and had no doubt been > through the same process. Aha, that's it. Knew there had to be a reason! I added a comment around that code in [2929] so it's clear. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You receiv

Re: psycopg2 beta?

2006-05-17 Thread Adrian Holovaty
anges. I lightly tested the psycopg2 backend, and it appears to be working smoothly. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&q

Re: Document translations

2006-05-18 Thread Adrian Holovaty
ubstantially in the near future will be the tutorial docs. Otherwise, they're pretty stable. I'd recommend starting with translation for the non-tutorial docs, such as request_response.txt. Let me know when you've translated a couple, and we can set up the repo

Re: .91 Tarball missing files? (contrib.contenttypes/sessions/sites)

2006-05-22 Thread Adrian Holovaty
ading the development-version docs online, whereas you should read the 0.91 docs: http://www.djangoproject.com/documentation/0_91/ . At any rate, I'd encourage you to use the development version instead of 0.91 at this point. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-

Re: Additional fields in the many-to-may table?

2006-05-25 Thread Adrian Holovaty
way, you can give the GroupAttribute model as many extra fields as you want. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&

Re: Patch review procedure?

2006-05-31 Thread Adrian Holovaty
b works the same way, although he has been *super* busy traveling and moving lately. Ideas for improving this system would be much appreciated! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because yo

Re: Enable Django Quick Start / Database Evolution Support

2006-05-31 Thread Adrian Holovaty
ore friendliness! Ilias, thanks for your contributions. We'll examine each one of them on a case-by-case basis, but I cannot guarantee that all or any of them will be committed. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You

Re: Issues on making the firebird backend working

2006-06-01 Thread Adrian Holovaty
On 6/1/06, David Elias <[EMAIL PROTECTED]> wrote: > > Well, AS in FROM clause is not support... > > Thoughts, ideas...? Hey David, Sorry for the slow response -- let's take each issue one at a time. What do you have coded so far? Adrian -- Adrian Holovaty holovaty.

Re: interesting stuff in django.db.models.base.Model._get_next_or_previous_in_order

2006-06-01 Thread Adrian Holovaty
o be dead code. > Else, wouldn't it be self.opts instead? Ah, that should be self._meta instead of self.opts. Thanks for the catch! I've fixed it in [3046]. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You receive

Re: Some thoughts on Django and usability

2006-06-01 Thread Adrian Holovaty
preted as a slight against non-developers. Ideally developers and non-developers alike would find Django to be a useful tool -- and, actually, that's already happening. But as we develop the framework further, we shouldn't introduce functionality that appeals to the novices at the expense of

get_next_by_FIELD taking parameters (WAS: Re: interesting stuff in django.db.models.base.Model._get_next_or_previous_in_order)

2006-06-01 Thread Adrian Holovaty
take parameters, as it doesn't fit well with the magic-removal style...What do people think? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Issues on making the firebird backend working

2006-06-01 Thread Adrian Holovaty
ing forward to your patch! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to dj

Re: We're being had

2006-06-02 Thread Adrian Holovaty
On 6/2/06, Nicola Larosa (tekNico) <[EMAIL PROTECTED]> wrote: > Ilias Lazaridis is a known Internet troll. > > http://www.encyclopediadramatica.com/index.php/Ilias > > Let's stop feeding him/her/it, it's just a waste of time. Nice catch! Adrian -

Re: Must app names in django be unique?

2006-06-05 Thread Adrian Holovaty
ince we never actually did > anything about this as far as I remember. Yeah, let's do something about that... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Logic error in forms/__init__.py?

2006-06-05 Thread Adrian Holovaty
s that translators need to translate. Nice catch. What's the proper plural-only way to handle this with gettext? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: Site object to contain the protocol? (https..)

2006-06-05 Thread Adrian Holovaty
hat do you think? I don't think the Site object itself should contain the protocol, but I suspect we could solve your problem by making some of the Django helper functions more sensitive to http/https differences. There are probably several places within Django in which the "http://

PROPOSAL: Manager.get_or_create()

2006-06-05 Thread Adrian Holovaty
eate() returns a tuple of (new_object_created, object). This is a bit inelegant, but I can't think of any more elegant ways of returning both of those values. * Currently this assumes the model has no field named "defaults". This is a bit of a smell. Better solutions? Adrian --

insert_or_replace()

2006-06-05 Thread Adrian Holovaty
, it does an UPDATE; otherwise it does an INSERT. Or are you wanting to follow this logic for non-primary-key fields? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: PROPOSAL: Manager.get_or_create()

2006-06-06 Thread Adrian Holovaty
view. Sure, Bill -- good call. I think get_or_create() is more useful out of Web-request contexts (namely, in scripts that import data and do a lot of object creation), but I'll explicitly point the POST preference in the docs. Adrian -- Adrian Holovaty holovaty.

Re: Issues on making the firebird backend working

2006-06-06 Thread Adrian Holovaty
the "sqlall" output. We haven't had that need before, but if we need it now, no problem. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

Solving the POST-data-lost-after-redirect problem

2006-06-06 Thread Adrian Holovaty
d is POST and has an "action" whose URL doesn't end in a slash. Then it could somehow alter the page to display an error on it. This solution is horrific, but I'm mentioning it here for diversity. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~-

Re: errors vs. "advisories"

2006-06-07 Thread Adrian Holovaty
ce before Django was open-sourced! See http://code.djangoproject.com/ticket/23 , in which I call it "ValidationWarning" instead of "advisory," but the concept is the same. A patch would be very welcome... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~

Re: Solving the POST-data-lost-after-redirect problem

2006-06-07 Thread Adrian Holovaty
or something. Should we add the HTML-validation middleware to Django contrib? Luke, would you be interersted in that? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: validation-aware models... plans/future?

2006-06-07 Thread Adrian Holovaty
ph K.'s e-mail to django-developers from a couple of weeks/months ago... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers"

Re: Multiple database support (#1142) roadblock

2006-06-07 Thread Adrian Holovaty
ame thing. Wha? All that reflection magic isn't in the > model itself? The reason for that is that the reflection magic is only needed in special situations -- namely, table creation -- so there's no need to load it into memory. Adrian -- Adrian Holovaty holovaty.com | djangopr

Re: Multiple database support (#1142) roadblock

2006-06-07 Thread Adrian Holovaty
d put all the reflection stuff within the namespace of a single attribute. Or maybe they become Manager methods, to avoid that problem entirely? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message becau

Re: Solving the POST-data-lost-after-redirect problem

2006-06-07 Thread Adrian Holovaty
wrap that in a shell > script which beeps and pops up a KDE notification when a page fails. > None of this is very portable! Oh... I was assuming it was using a local copy of the W3C validator or something. I'm not sure this would work, t

Re: Solving the POST-data-lost-after-redirect problem

2006-06-07 Thread Adrian Holovaty
s > User Agents rewriting a POST as a GET, so if the original submission > intended POST then -- whether or not there is data -- we should try to > avoid the User Agents' bug in all circumstances. I've taken care of this in [3109]. Adrian -- Adrian Holovat

Re: Multiple database support (#1142) roadblock

2006-06-07 Thread Adrian Holovaty
27;s > fully functional. But I can mail or post up what I have so far tomorrow > morning, if there's any interest. Would it be worthwhile to start a > wiki page at this point? Sounds good -- looking forward to it! Yes, go ahead and start a wiki page if you get a chanc

Re: does django.contrib.comments package have a profanity filter

2006-06-08 Thread Adrian Holovaty
undocumented and may change at any time. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group,

Re: Error fetching the "Recent Code Changes" RSS feed on django website

2006-06-14 Thread Adrian Holovaty
e.djangoproject.com/ticket/1983 . If you can isolate that funky character, that would be a huge help in fixing the problem. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Custom Manipulators

2006-06-14 Thread Adrian Holovaty
atorCustomManipulator Yeah, refactoring Manipulators is one of the last things I want to have happen before Django goes 1.0. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: HttpResponseSendFile

2006-06-15 Thread Adrian Holovaty
ering about ways to do it. May I interest you in the "Authenticating against Django's user database from Apache" document? http://www.djangoproject.com/documentation/apache_auth/ Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~--

Re: validate_full never called?

2006-06-16 Thread Adrian Holovaty
sn't intended to be used yet. Move along, nothing to see here. :) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group.

Re: Django and browser game development

2006-06-17 Thread Adrian Holovaty
On 6/16/06, gastaco <[EMAIL PROTECTED]> wrote: > Also, does anyone know of any previous browser game attempts with > Python or Django in general? My research yields little to no such > projects. My Dark Secret is a Django-powered game site: http://www.mydarksecret.com/ . Adr

Re: Regressions tests: a suggestion

2006-06-19 Thread Adrian Holovaty
gt; not in any way intended to be examples of good model technique. Sounds like a good idea. Go for it! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: Development Growing Pains: Patch Acceptance

2006-06-19 Thread Adrian Holovaty
ut it," "Patch is good and should be committed with caveats," "Patch isn't good enough," and stuff like that. I think more granular categories like that would help us get more on top of the tickets/patches. Adrian -- Adrian Holovaty holovaty.com | djangoproject.

Re: Regressions tests: a suggestion

2006-06-20 Thread Adrian Holovaty
(i.e., using py.test)? No, I'd rather not introduce a dependency on py.test -- even if it's just for the testing framework. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: Proposal: default escaping (and branch request)

2006-06-20 Thread Adrian Holovaty
auto-escaping on by default. I'd rather not have the framework automatically munging my data behind my back: it'd be a case of the same type of magic that we removed in the magic-removal branch. In-bulk escaping should be an opt-in thing, not an opt-out thing. Adrian -- Adria

Re: Proposal: default escaping (and branch request)

2006-06-20 Thread Adrian Holovaty
sn't quite analogous. With a database query, you don't really care what the textual output (SQL) is. With a template, you do. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Custom Manipulators

2006-06-20 Thread Adrian Holovaty
On 6/14/06, Brantley Harris <[EMAIL PROTECTED]> wrote: > > Yeah, refactoring Manipulators is one of the last things I want to > > have happen before Django goes 1.0. > Mind if I take a shot at it? Sure, proposals are definitely welcome. Adrian -- Adrian

Re: handler404 (and 500?) should use RequestContext

2006-06-22 Thread Adrian Holovaty
couple of days ago, so you may not have seen that change. :) Good point, though, about the 500 view not using RequestContext; I've just reverted it so that it doesn't use RequestContext, to lessen the chance that something could go wrong in displaying that template. Adrian -- Adrian H

Re: Merging multi-auth to trunk?

2006-06-23 Thread Adrian Holovaty
all, but if you've been running it smoothly, let's go for it. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&q

Re: Qustion on changeset 3108

2006-06-26 Thread Adrian Holovaty
d "or"s embedded in there. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send e

Re: Single-step object creation?

2006-06-27 Thread Adrian Holovaty
n between myarticle and the > > new Author. > > Yeah, as I read over my own email I'm inclined to agree with you -- I > think ``objects.create()`` seems a bit nicer. Yeah, Klass.objects.create() seems like the best way to go. Should be simple to implement, as well. Adrian --

Re: Unicodification of Django

2006-06-28 Thread Adrian Holovaty
on't understand Unicode yet. That is a big potential pitfall. If we're going to do it, we should do it before 1.0, and we'd need extensive tests. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message

Re: Multiple db branch: tests

2006-06-28 Thread Adrian Holovaty
s essential that the examples be clear. > Are there any objections to my extending the test db setup/teardown in > runtests to include creating and destroying test dbs for all dbs > defined in DATABASES? I think I answered this question above, but if I didn't, re-as

Re: Request for history: incoming data processing

2006-06-28 Thread Adrian Holovaty
data. > > (See http://www.djangoproject.com/documentation/request_response/ > #attributes). Yeah, this is what I was gonna say, too: request.raw_post_data should do the trick, no? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You

i18n: Removing dependency on django.utils.translation from settings files

2006-07-01 Thread Adrian Holovaty
oid circular import references. This leaves the problem: Where do we put the translation strings for the available languages? For that, we could put the translation strings in in django/utils/translation/trans_null.py and change any instance of LANGUAGES to apply the gettext call

Re: i18n: Removing dependency on django.utils.translation from settings files

2006-07-02 Thread Adrian Holovaty
ce where we can put it where we can be sure it'll always be run? I'm a bit stumped... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: i18n: Removing dependency on django.utils.translation from settings files

2006-07-02 Thread Adrian Holovaty
Any other thoughts on this from anybody? I'll go ahead and commit this some time Monday, although I'm traveling at the moment and may not get to it until Tuesday. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You receiv

Re: i18n: Removing dependency on django.utils.translation from settings files

2006-07-03 Thread Adrian Holovaty
On 7/2/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > This, I like. The function can originally be installed in > django/conf/__init__.py (where the translation.install() call > currently lives), and it can load from the django.utils.translation > backend appropriately. It&#

Re: Feedback on New Middleware

2006-07-04 Thread Adrian Holovaty
, **kwargs) # ... class MyMethodDelegator(object): "My particular view class that does particular things for my app." def GET(self, request): return render_to_response(...) my_delegator = MyMethodDelegator() And in your urls.py

Re: Feedback on New Middleware

2006-07-04 Thread Adrian Holovaty
On 7/4/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > I think you may be overengineering a bit. Django's views can be any > callable object -- not just functions -- so you can pass callable > classes to them. There's no need to use a custom middleware, and > there

Re: Multi-auth branch

2006-07-04 Thread Adrian Holovaty
On 7/4/06, Douglas Campos <[EMAIL PROTECTED]> wrote: > It was merged already, should I fix the wiki start page? I've taken care of it. Thanks for the pointer! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You

Development freeze on django.db.models

2006-07-07 Thread Adrian Holovaty
ext couple of days as I get time... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email

Re: wontfix

2006-07-09 Thread Adrian Holovaty
by adrian with no explaination and no dialoging before hand > either. Hey Bradford, Like Malcolm said, usually we put a description of why a ticket is marked as wontfix. If you have any questions about particular tickets, feel free to bring it up on django-developers. Adrian -- Adrian

Re: rss for wiki?

2006-07-09 Thread Adrian Holovaty
On 7/9/06, favo <[EMAIL PROTECTED]> wrote: > Do we have rss for wiki recent change? Hi Favo, Check out the RSS link at the bottom of http://code.djangoproject.com/timeline . It looks like you can tweak the URL to include/exclude bits such as wiki changes, changesets, etc. Adrian -

Re: trac updates/changesets not being sent?

2006-07-10 Thread Adrian Holovaty
d? I have no idea what happened, but it looks like it's back in business: http://groups.google.com/group/django-updates Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Manipulators going away?

2006-07-10 Thread Adrian Holovaty
manipulators, which I've never really liked; they were originally intended for use only by the admin site, not by end users, which explains the problems such as "Why does file upload not work for the automatic manipulators" and "How can I use edit inline with the aut

Re: a Caching model.manager

2006-07-10 Thread Adrian Holovaty
r order of a dictionary, because its keys/values are to be treated as unordered. Maybe you could use a "normalized" version of the dictionary -- perhaps sort it before taking str(). Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~

Re: Test framework for end-user applications

2006-07-12 Thread Adrian Holovaty
big enough change that people want to see the patch before I > commit it? It shouldn't actually break anything already in place, just > expose some new functionality that might be useful. Yes, please post the patch before committing -- this is definitely a big thing. Adrian

Re: Model verbose name restrictions?

2006-07-13 Thread Adrian Holovaty
ut I'm cool with changing the admin site to escape the verbose_names rather than strip tags...Maybe Jacob has additional insights, as he's the core maintainer of Ellington (and pre-open-source-Django code) nowadays. Adrian -- Adrian Ho

Re: would is_loggedin be better than is_anonymous?

2006-07-14 Thread Adrian Holovaty
it and just change the docs to use is_authenticated. Yeah, I tend to agree with this solution (changing the docs to use is_authenticated or whatever the name of the new method is). Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ Yo

Re: USE_I18N = False side effect

2006-07-16 Thread Adrian Holovaty
couple of days ago; is this still an issue on the latest trunk code? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To

Re: Table options in CREATE TABLE..

2006-07-17 Thread Adrian Holovaty
-as-specifying-myisam-as-the-table-type Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, se

Re: "allow tags" attribute. stays/vanishes? :)

2006-07-17 Thread Adrian Holovaty
s be documented, or is this something that will be removed later? Hi gabor, That feature won't be removed later -- you can count on using it. And I've documented it in changeset [3358]. Thanks for the reminder! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~

Re: Default arguments for RegexURLResolver

2006-07-17 Thread Adrian Holovaty
an open a ticket and attach patch. Hi Martin, How does your patch work? In your example, would it just add {'weblog_slug': 'guestbook'} to every infodict in the included URLconf? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~-

Re: Table options in CREATE TABLE..

2006-07-17 Thread Adrian Holovaty
as long as they can be applied to a table after it has been created. :) I don't think we should add this hook to Django models, for the reasons James has outlined, and because the raw SQL hook mentioned in that FAQ should be more than adequate. Adrian -- Adrian Holovaty holov

Re: Default arguments for RegexURLResolver

2006-07-17 Thread Adrian Holovaty
ked something) Hi Martin, That answers my question! Sure, go ahead and post the patch to Django's ticket system -- it'll be a nice improvement. Thanks for the patch, and for bringing this up! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~--

Re: Generic View Bug and Issues

2006-07-18 Thread Adrian Holovaty
se a working project. I would really appreciate something - > anything! I haven't had a chance to look at this issue, but I'll point out that there's no way this is a "show-stopper" problem, given that, if generic views don't suit you, you can just write five-

Re: Wiki spam

2006-07-20 Thread Adrian Holovaty
On 7/20/06, adurdin <[EMAIL PROTECTED]> wrote: > There are three spam attachments on > http://code.djangoproject.com/wiki/TracReports -- can someone with > delete permissions get rid of them? Looks like somebody's cleared those out. Adrian -- Adrian Holovaty holovaty.com

Re: Ticket #2333 - request for some love

2006-07-20 Thread Adrian Holovaty
natively, can anyone > suggest when they will have time to give the matter some thought? Hey Russ, I don't have time at the moment but hope to have some time while I'm at OSCON next week. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~-

Django sprint / 0.95 release at OSCON

2006-07-20 Thread Adrian Holovaty
ttled down, and it's about time we had an official release. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: humanized dates

2006-07-23 Thread Adrian Holovaty
objects as text. Also, the functionality in django.utils.dateformat introduces some other formatting options, with translation strings marked for i18n. Is there another type of date pretty-printing that I'm overlooking? Adrian -- Adrian Holovaty holov

Re: [Django] #2406: [patch] new command for management -- runjobs

2006-07-23 Thread Adrian Holovaty
st create a single script that does the five things you need it to do; then point crontab at it. :) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: A proposal for URL generation

2006-07-26 Thread Adrian Holovaty
developers. If you like this, I will submit a patch with the > implemenation. Hi Ahmad, Thanks for bringing this up! Actually I've spoken with Jacob about a nice, clean solution to decoupling get_absolute_url(), and I'm hoping to get that committed to Django's trunk some time this w

Re: Re: why are the date-based views restricted to only displaying past-events?

2006-07-27 Thread Adrian Holovaty
On 7/26/06, monkeynut <[EMAIL PROTECTED]> wrote: > http://code.djangoproject.com/ticket/2433 > .. hopefully I didn't miss anything, I've been out in the sun all day. Good stuff, Pete! I've committed that patch. Adrian -- Adrian Holovaty holov

Re: Consider releasing a .95 beta

2006-07-27 Thread Adrian Holovaty
enjoying the great changes to Django over the past few months. We're working on the .95 release as I type this, though. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Strip Whitespace Middleware

2006-07-28 Thread Adrian Holovaty
contributing this! If you could, post it to the collection of user-contributed middleware here: http://code.djangoproject.com/wiki/ContributedMiddleware Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message be

Re: Default escaping -- again!

2006-07-28 Thread Adrian Holovaty
plate filename to the template contents. Altering behavior based on the name of a template seems a bit too magical. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: Bad link in 0.95 release notes

2006-07-29 Thread Adrian Holovaty
On 7/29/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > "described in the 'Removing The Magic`_ wiki page" > It appears the intent was to link, but there's no link there. Thanks, man. I've made the fix. Adrian -- Adrian Holo

Re: Trac login broken?

2006-08-01 Thread Adrian Holovaty
On 8/1/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > When I try to log into Trac at the moment, I get a 500 error. Can > somebody with access to the system have a look, please. Fixed. Adrian -- Adrian Holovaty holovaty.com | djang

Re: r3507 - django/trunk/django/db/models/fields cause many-to-many object error!

2006-08-01 Thread Adrian Holovaty
On 8/1/06, favo <[EMAIL PROTECTED]> wrote: > After updated to r3507, > meets error when visit m2m field. > AttributeError: 'ManyToManyRel' object has no attribute > 'get_related_field' Fixed in [3508]. Adrian -- Adrian Hol

Re: Add support for IP, IP:PORT, or PORT command-line arguments

2006-08-01 Thread Adrian Holovaty
eck, you'd save *dozens* of characters! :) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send e

Convince us to continue using setuptools

2006-08-02 Thread Adrian Holovaty
ools, but I'm drawing a blank... Insights are appreciated! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" g

  1   2   3   4   5   6   7   8   9   >