Re: Anybody used Google app engine, and wanna share their experience?

2008-04-08 Thread Adrian Holovaty
> wsgi.multiprocess > wsgi.multithread > wsgi.run_once Here you go, Graham: 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': True, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0), Adrian -- Adrian Holovaty holovaty.com | djan

Re: Anybody used Google app engine, and wanna share their experience?

2008-04-08 Thread Adrian Holovaty
__name__ == "__main__": main() ======== Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | everyblock.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Best Practices to Make your Apps Portable

2007-07-25 Thread Adrian Holovaty
ethod to use if you want to distribute your application, however. We need better documentation about best practices to make apps portable. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are su

Re: development server

2007-03-29 Thread Adrian Holovaty
I use it almost every day. Are you on Windows? What are you doing when it crashes? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: Django/mod_python high memory usage - possible leak?

2007-03-29 Thread Adrian Holovaty
lidator.org whose main purpose is to retrieve Web pages dynamically and do some operations on them, you're stuck making the requests from within the view. Anyway, hope this helps. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You rec

Re: raw_id_admin and newforms

2007-03-29 Thread Adrian Holovaty
n option -- i.e., it is configuration for the Django admin site. As such, it doesn't have much to do with the newforms library. You can easily replicate its fundamental functionality using newforms, though -- just use a TextField rather than a ChoiceField. Adrian -- Adrian Holovaty holovaty.com | dj

Re: Forms vs. Models: Redundant?

2007-03-27 Thread Adrian Holovaty
> well? Patience, TaMeR, patience. :) The form_for_model and form_for_instance functions, which Tim Chase mentioned earlier in this thread, are not yet documented (or 100% complete). Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~

Re: Does the server have to restarted when you make a change to the code?

2007-03-27 Thread Adrian Holovaty
mory at the production-server level far outweigh the convenience of being able to make changes without restarting. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Nested edit_inline?

2007-03-14 Thread Adrian Holovaty
uestion and Answer models, but of course, it didn't work. Hi Daniel, No, this isn't currently possible. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

Re: new forms admin

2007-03-08 Thread Adrian Holovaty
ormsAdminBranch Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroup

Re: newforms form_for_instance returning IntegerField for PhoneNumberFields

2007-02-20 Thread Adrian Holovaty
ld widget, however, I'd like to be able to use > form_for_instance(). Hey Matt, This should be fixed in revision [4556]. Thanks for pointing it out! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message becau

Re: Database changes

2007-02-19 Thread Adrian Holovaty
nges to a model, how do I update the database?" http://www.djangoproject.com/documentation/faq/#if-i-make-changes-to-a-model-how-do-i-update-the-database Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because yo

Re: Custom validator equivalent for newforms

2007-02-19 Thread Adrian Holovaty
aches. The unit tests are linked-to from the newforms documentation. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: Newforms, form_for_model, help_text and unicode.

2007-02-19 Thread Adrian Holovaty
..): > self.help_text = smart_unicode(help_text) Thanks, Sandro. I fixed the bug in changeset [4543]. Note that the patch wasn't exactly that, as it had to account for the case of empty help_text (help_text is None). Adrian -- Adrian Holovaty ho

Re: Preliminary or draft Django Book as PDF?

2007-02-13 Thread Adrian Holovaty
m the site. > > Do the authors have something of the sort somewhere? Not yet, but stay tuned. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Clone DjangoBook.com -- Open book platform beta release

2007-02-11 Thread Adrian Holovaty
. Thanks, Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com

Re: Using __str__ with DateField

2007-02-10 Thread Adrian Holovaty
) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com

Re: Forms inheritance

2007-02-05 Thread Adrian Holovaty
Honza suggested, but in the long term, you'll be able to subclass forms and add fields declaratively. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: create_object(follow) what is parameter follow?

2007-02-05 Thread Adrian Holovaty
On 2/4/07, James Bennett <[EMAIL PROTECTED]> wrote: > Its existence has always been a bit of a hack, and I'm hoping newforms > will get rid of it once and for all. Yes, "follow" is going away, and good riddance. Adrian -- Adrian Holovaty holovaty.c

Re: Newforms usage and documentation

2007-02-05 Thread Adrian Holovaty
is here: http://www.djangoproject.com/documentation/newforms/ I can't vouch for any non-djangoproject.com documentation, or anything posted on our wiki (code.djangoproject.com). In those cases, the docs may or may not be correct. Adrian -- Adrian Holovaty holovaty.com | dj

Re: New Forms + Validation

2007-02-01 Thread Adrian Holovaty
ther implement a custom Field class *or* implement a clean_* method. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: fiter for week

2007-01-30 Thread Adrian Holovaty
On 1/30/07, Rob Slotboom <[EMAIL PROTECTED]> wrote: > Before re-inventing, I want to ask if there is some build-in for > getting objects for [a || this] week. > > Something like: > > objects.filter(pubdate__week=now.week) Hi Rob, That database lookup type doesn't ex

Re: Help with Last Seen (why doesn't this work???)

2007-01-29 Thread Adrian Holovaty
On 1/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > C'mon guys... anyone? Hey there, Please don't "bump" your threads like this -- it's unacceptable mailing-list behavior. Adrian -- Adrian Holovaty holovaty.com

Re: OT: .pystartup

2007-01-28 Thread Adrian Holovaty
, we'll integrate it into Django. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: Sites crashing after moving to 4431

2007-01-26 Thread Adrian Holovaty
ges made to the Django repository. This is always a risk when you make local changes to your copy of the Django framework. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: dynamic form with newforms

2007-01-23 Thread Adrian Holovaty
s dictionary. Judging by what you said about your lack of Python experience, my advice would be for you to wait until we've got documentation on building forms dynamically. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You

Re: UnicodeDecodeError with labels of choices (for newforms.ChoiceField with RadioSelect widget)

2007-01-23 Thread Adrian Holovaty
s the problem, one solution would be to change django/newforms/fields.py to wrap every occurrence of gettext() in smart_unicode(), like so: smart_unicode(gettext(u'Some characters')) Would you be willing to test this out in your local copy of Django, and report back? Adrian -- A

Re: dot asp files in wiki

2007-01-22 Thread Adrian Holovaty
On 1/22/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > on this page of the wiki: > http://code.djangoproject.com/wiki/AJAX > > i see something that looks like asp and vb files ... do they belong > here? I've removed them. Thanks for the heads-up. Adrian -- Adrian

Re: newforms: max_length or maxlength

2007-01-22 Thread Adrian Holovaty
t; too? Hi Michel, The newforms.CharField class intentionally uses max_length rather than maxlength. We'll eventually be changing the model field syntax to use max_length rather than maxlength, so this was a futureproofing decision. Adrian -- Adrian Holovaty holovaty.com |

Re: SSL and Django ?

2007-01-21 Thread Adrian Holovaty
ages, except pages which are using render_to_response. > > Is it because of render_to_response ? Or some apache configuration ? It's because of Apache configuration. There's nothing in render_to_response that would have any effect on SSL. Adrian -- Adrian Holovaty holovaty

Re: Stephane += Aspen 0.7 (Python webserver)

2007-01-19 Thread Adrian Holovaty
le.com/p/aspen-commons/wiki/Stephane Does this address the issue? Looks much better! Good work. :-) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: newforms validation

2007-01-17 Thread Adrian Holovaty
does this help my Field.clean(self, value) validator? With respect, I think you should wait until the library is fully documented. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Stephane += Aspen 0.7 (Python webserver)

2007-01-17 Thread Adrian Holovaty
uction, but it looks promising. However, it's super inelegant to require a Django project to be called "stephane" in order to use it with Stephane. Surely you could remove that requirement somehow? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~

Re: newforms validation

2007-01-17 Thread Adrian Holovaty
t request objects. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups

Re: anyone got Django running on Redhat ES in production?

2007-01-17 Thread Adrian Holovaty
t sure whether they're still using ES for everything, but it certainly works well with Django, if that's what you're asking. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: subclassing in newforms

2007-01-17 Thread Adrian Holovaty
me way. But you're not the first person who's tried to do this, so there's something intuitive about just subclassing a form and specifying some more fields as class attributes... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You re

Re: Initialize _big_ form

2007-01-16 Thread Adrian Holovaty
vement are welcome! Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@

Re: CheckboxSelectMultiple widget

2007-01-16 Thread Adrian Holovaty
ct.com/ticket/3312 Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@

Re: date format other than YYYY-MM-DD

2007-01-12 Thread Adrian Holovaty
On 1/12/07, Andres Luga <[EMAIL PROTECTED]> wrote: > Any idea if newforms simplifies this? Yes, newforms DateFields let you specify the input format(s). This has yet to be integrated into the Django admin, but it will be sooner rather than later. Adrian -- Adrian Holovaty hol

Re: The order of ""Add-on applications (contrib)" section

2007-01-11 Thread Adrian Holovaty
r easy navigation. The Django Book, on the other hand, is meant to be a more linear way of learning the whole framework, so its "contrib" chapter (http://www.djangobook.com/en/beta/chapter15/) does indeed mention Sites before Flatpages. Adrian -- Adrian Holovaty holovaty.com | djangoproject

Re: Django i18n How

2007-01-10 Thread Adrian Holovaty
columns." I'll be adding a section to that chapter about how strategies for internationalizing data. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: dynamic newforms in a template

2007-01-08 Thread Adrian Holovaty
mplate, rather than using something like {{ form.as_p }}. Pass the whole Form object to the template, not a list of Fields. Then use lookup syntax to access the field: {{ form.field_name }} Adrian -- Adrian Holovaty holovaty.com | djangoproje

Re: Removing SQL From Templates

2007-01-08 Thread Adrian Holovaty
te system itself knows nothing about SQL. So, I'm not sure what you're proposing here... Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: newforms and umlaut

2007-01-08 Thread Adrian Holovaty
play "Überschrift" instead of berschrift", use "Überschrift" instead of berschrift" for the label. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: License Terms

2007-01-06 Thread Adrian Holovaty
of BSD license. But what about thee code we have written? Can we sell it with our own license? Yes, you can sell it with your own license. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subs

Re: newforms & object save

2007-01-06 Thread Adrian Holovaty
alues. We should improve it so that it handles foreign-key values properly. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Handling bad URLs

2007-01-05 Thread Adrian Holovaty
uldn't be a good thing. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@

Re: RFC newforms usage

2007-01-05 Thread Adrian Holovaty
correct the error(s) below"} else: context = {'form': AcademicYearForm()} return render_to_response('academic_year.html', context) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you

Re: Django on REDHAT ES

2007-01-04 Thread Adrian Holovaty
http://www.djangobook.com/en/beta/chapter14/ Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: django.core.handlers.modpython imported several times

2007-01-04 Thread Adrian Holovaty
sense or is wrong, no one seems to make an attempt to address it. Hi Graham, Could I trouble you to bring up those issues again? I did a quick search and assume you're talking about this comment of yours: http://www.djangoproject.com/documentation/modpython/#c2029 Adrian -- Adrian Holovaty holova

Re: FormGen Script

2007-01-04 Thread Adrian Holovaty
_model and form_for_fields? They're intended to do these things in a dynamic way. See the unit tests in tests/modeltests/model_forms/models.py for examples. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message becau

Re: django.core.handlers.modpython imported several times

2007-01-03 Thread Adrian Holovaty
for me. :) With that said, I would be grateful if anybody could explain why that happens, and if we need to change something on Django's end so that, at the very least, people's logfiles won't get cluttered with this. Adrian -- Adrian Holovaty holovaty.com | djangoproje

Re: Newforms clean_data

2007-01-03 Thread Adrian Holovaty
d idea -- I agree it would help avoid confusion. In changeset [4284], I've changed the Form class so that Form.clean_data only exists if a Form is valid. Otherwise, you'll get an AttributeError if you try to access it. Thanks for the suggestion! Adrian -- Adrian Holovaty holovaty.com | djangoproje

Re: Newforms and composite widgets

2007-01-03 Thread Adrian Holovaty
three values instead of one. Make sense? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Need a little push with Newforms

2006-12-31 Thread Adrian Holovaty
ending it to the template, like so: ProjectForm = forms.form_for_model(Project) f = ProjectForm() return render_to_response('crm/addproject.html', {'theform': f}) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You re

Re: What's the best way to learn newforms?

2006-12-31 Thread Adrian Holovaty
pages are intended to be suggestions and corrections for the docs themselves -- not tech support questions. We delete anything that doesn't comment directly on the docs, so that the comments section remains helpful. The place to ask questions is on django-users, not in the doc comments. Adrian --

Re: optional arg. 'description' for widget?

2006-12-30 Thread Adrian Holovaty
thing stopping you from implementing it in your own Widget subclasses, as you've already done. BTW, future questions/proposals like this should go to the django-developers mailing list -- that's where we talk about changes and improvements to Django itself. Adrian -- Adrian Holov

Re: UnicodeDecodeError with labels of choices (for newforms.ChoiceField with RadioSelect widget)

2006-12-30 Thread Adrian Holovaty
around it. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To

Re: UnicodeDecodeError with labels of choices (for newforms.ChoiceField with RadioSelect widget)

2006-12-30 Thread Adrian Holovaty
e byte 0xc3 in position 13: ordinal not in range(128) Hi Jannis, Could you please paste the whole traceback for that error? Looks like there's a place in the newforms library that doesn't convert bytestrings properly, but in order to find the bug, I'll need to see the full traceback. Adrian --

Re: Forms With Dynamic Numbers of Items

2006-12-30 Thread Adrian Holovaty
for the newforms library, for which we're firming up the code and documentation. The docs we have so far are here: http://www.djangoproject.com/documentation/newforms/ Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this

Re: newforms validation

2006-12-29 Thread Adrian Holovaty
lasses with custom validation. A Field *is* a validator. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Newforms clean_data

2006-12-29 Thread Adrian Holovaty
me you accessed form.clean_data? I'm trying to decide whether that would be convenient or too magic. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: Crazy idea!

2006-12-27 Thread Adrian Holovaty
lchemy? :) If you're willing to go to "crazy" lengths, you might as well run Django as CGI. Check this ticket out for more information: http://code.djangoproject.com/ticket/2407 Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~

Re: Complex Data Models.

2006-12-27 Thread Adrian Holovaty
ow you how to do it. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@

Re: What does get_object_or_404 return?

2006-12-27 Thread Adrian Holovaty
rt} ...tells the template system to make available the object wkreport as the template variable called "object". Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: OneToOne in Models

2006-12-27 Thread Adrian Holovaty
we got that figured out. :) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@

Re: OneToOne in Models

2006-12-27 Thread Adrian Holovaty
directly answer your question about one-to-one relationships, but wouldn't Comment -> Entry be a many-to-one relationship? Or would your blog only allow a single comment for each entry? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~

Re: ChoiceField and dynamic input?

2006-12-27 Thread Adrian Holovaty
hoices are in order to do validation correctly. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Project and App Layout.

2006-12-27 Thread Adrian Holovaty
mework for storing one-off pages like the about/contact pages. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Creating an empty queryset

2006-12-27 Thread Adrian Holovaty
to get an empty QuerySet without hitting the database. Maybe we should add one? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Adrian Holovaty
easing "official" releases, to be honest. The good stuff is always in the development version, and many people use it rather than the released versions. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this mes

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Adrian Holovaty
such as from svn), but not with 0.95. There is an explanation in the comments there that tell how to fix it. FYI, that's not a bug -- rather, it's a new feature in the Django development version. Callable objects in URLconfs were added after 0.95 was released. Adrian -- Adrian Holov

Re: 'function' object has no attribute 'rindex'

2006-12-26 Thread Adrian Holovaty
lowing error: Are you using the Django 0.95 release or the Django development version? The Django book code refers to the Django development version, not to Django 0.95. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You re

Re: Please comment on this small newforms sample

2006-12-26 Thread Adrian Holovaty
ecause the AddEditCustomerForm could be generated from the model. (Of course, you might not want to do that, depending on whether your model has fields that you don't want to edit via that form.) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You re

Re: old plain db-api

2006-12-26 Thread Adrian Holovaty
conn = psycopg2.connect('dbname=foo') cursor = conn.cursor() cursor.execute('xxx') There is no magic to be aware of. It's just plain Python. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this m

Re: Newforms and composite widgets

2006-12-24 Thread Adrian Holovaty
t combined into a single datetime.date object by the widget value_from_datadict() method. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Re: Wrapping up new site - Django observations

2006-12-18 Thread Adrian Holovaty
we add "general tools for integrating arbitrary SQL with Django QuerySets" -- any ideas on syntax? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Django meetup in San Francisco this Thursday?

2006-12-18 Thread Adrian Holovaty
Hello to any Bay Area Django folks out there -- I'll be in San Francisco later this week. Anybody interested in having a Django meetup Thursday night? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message

Re: Limiting select_related()

2006-12-18 Thread Adrian Holovaty
ty but don't have time to code it myself; any takers? Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Newforms and composite widgets

2006-12-17 Thread Adrian Holovaty
On 12/17/06, Brian Victor <[EMAIL PROTECTED]> wrote: > Adrian Holovaty wrote: > > On 12/9/06, Brian Victor <[EMAIL PROTECTED]> wrote: > >> One of the things I was hoping for in newforms but haven't found is a > >> way to do a composite form field that u

Re: Switching branches (was "Schema Evolution code")

2006-12-15 Thread Adrian Holovaty
aylan, A patch to the documentation would be welcome. :) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: Looser date entry in admin...

2006-12-15 Thread Adrian Holovaty
n month, but whether that's a problem depends on your application. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: Switching branches (was "Schema Evolution code")

2006-12-14 Thread Adrian Holovaty
too/ much > damage. :) Hey Tim, I've added some more instructions to the "Using branches" part of our documentation. Let me know if this helps. http://www.djangoproject.com/documentation/contributing/#using-branches Adrian -- Adri

Re: newforms: MultipleChoiceField with CheckboxSelectMultiple

2006-12-12 Thread Adrian Holovaty
On 12/10/06, Ceph <[EMAIL PROTECTED]> wrote: > Ah. I was hoping wrongly that newforms would be able to handle getting > passed POST instead of having the parse the data manually into a dict. This has been fixed as of [4196], thanks to a patch from Honza. Adrian -- Adrian Holovaty

Re: Property overrides

2006-12-12 Thread Adrian Holovaty
self.post_date = datetime.datetime.now() > > posted = property(get_posted, set_posted) Ah, right, good catch! Thanks for pointing out my mistake. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this mes

Re: Property overrides

2006-12-11 Thread Adrian Holovaty
e scenes. Like I said, though, I'm not sure whether that would work with the way models are currently implemented. (But if not, let's go ahead and fix that!) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message bec

Re: mysql MyISAM save woe

2006-12-11 Thread Adrian Holovaty
M tables, as opposed to the other MySQL table types?) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: How would I add a custom widget in the admin for a ManyToMany relationship?

2006-12-08 Thread Adrian Holovaty
On 12/8/06, naitsirhc <[EMAIL PROTECTED]> wrote: > I'm kind of surprised that I didn't find > mention of the 'raw_id_admin' in my previous searches - is it > relatively new? Nope, it's not new -- raw_id_admin has been around since before Django was open-sourced. Adrian --

Re: Auto generate url patterns

2006-12-08 Thread Adrian Holovaty
ages application that comes with Django? http://www.djangoproject.com/documentation/flatpages/ Also, I think you may be thinking about URLs in the wrong way. The URLconf is intended to be a collection of *patterns*, not a collection of every single *literal* URL possible. (Does that make sense?)

Re: Where to start with the upcoming newforms module?

2006-12-08 Thread Adrian Holovaty
ortError: cannot import name newforms I suspect you have multiple versions of Django installed, and your Python was pointed at the wrong one when you ran that import statement. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~

Re: Where to start with the upcoming newforms module?

2006-12-08 Thread Adrian Holovaty
ake a look at those unit tests again, even though you said you looked at them. Feel free to use newforms in your own applications. Otherwise, just stay patient until we update the documentation. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---

Re: Upgrading from .95 to Development Version

2006-12-07 Thread Adrian Holovaty
em which shows how the admin looks through Firefox... > > http://static.flickr.com/108/316578699_11591b364d_o.gif I have never seen anything like that. I suspect the images are corrupted somehow, and I have no idea how that might have happened. Did you try redownloading and reinstalling Django? Adr

Re: HTTP PUT and DELETE with Django?

2006-12-07 Thread Adrian Holovaty
est_response/#attributes Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegro

Re: Admin 404s on users

2006-12-07 Thread Adrian Holovaty
o.contrib.contenttypes.management import create_contenttypes from django.db.models import get_apps for app in get_apps(): create_contenttypes(app, created_models=None, verbosity=2) """ Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~

Re: Optimizing Templates

2006-12-07 Thread Adrian Holovaty
e may be able to give you concrete suggestions. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Re: is there a way to combine generic views?

2006-12-07 Thread Adrian Holovaty
I > don't need in that case -- just the processing. > I suppose it's just not the use case of the generic views -- they are not > for this. Hi Anton, You suppose correctly. :) None of the generic views combine an "object detail" with "object list." Adrian -- Adri

Re: Admin 404s on users

2006-12-07 Thread Adrian Holovaty
code, assuming you're using the Django development version. Then, making sure DEBUG=True, try loading the admin user page again. You will get a more useful error message. Let's cross our fingers that the error message will help you debug what's wrong. Adrian -- Adrian Hol

Re: problems turning debug off

2006-12-05 Thread Adrian Holovaty
gs are correct -- then, Django will e-mail you the tracebacks for any error. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Admin: recursive edit_inline possible?

2006-12-05 Thread Adrian Holovaty
is to write custom admin views/templates. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dja

Re: SQLAlchemy Progress

2006-12-05 Thread Adrian Holovaty
u can follow the progress on this page, which lists all of the changes to the branch: http://code.djangoproject.com/log/django/branches/sqlalchemy Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~-~--~~~---~--~~ You received this message because you ar

  1   2   3   4   5   6   7   >