Re: ANN Satchmo 0.7 Release

2008-05-27 Thread Empty
On Mon, May 26, 2008 at 11:05 PM, Chris Moffitt <[EMAIL PROTECTED]> wrote: > I am very happy to announce the immediate availability of Satchmo version > 0.7. Congratulations to you Chris and the rest of the team. I'm looking forward to digging into all the new features. Good work. Michael

Re: Ajax widget

2008-01-04 Thread Empty
So I'm really confused. You asked this same question on 12/14: http://groups.google.com/group/django-users/browse_frm/thread/3415d1b0bf21cf7a/c26747fb42ae3b24?lnk=st=AJAXWidgetComboBox#c26747fb42ae3b24 The original author of the Wiki page that you're referring to responded. The code is a year

Re: How do I connect to development server with my browser?

2008-01-01 Thread Empty
http://www.djangoproject.com/documentation/django-admin/#runserver-optional-port-number-or-ipaddr-port "Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP

Re: Blogango - a blog software written with django

2008-01-01 Thread Empty
> Hi everyone, > Its almost the new year here, so Happy new year! > Let me just say a big thanks to every one on the django-users list, > who helped me with most of my questions, many of them inane. In > particular James Bennet and Malcolm Tredinnick were very helpul. > Django wont be as much fun

Re: Problem with media_root, OLDPHOTO template

2007-12-30 Thread Empty
You need to provide more information. Django doesn't serve your media, so what are you using to serve media? Is it apache? If so you probably need to provide your apache conf for your site and information on where in your filesystem your media is stored. Michael Trier blog.michaeltrier.com

Re: How to create an "iffirst" tag?

2007-12-28 Thread Empty
> I'm making a list of objects, and only including some of them in the output: > > {% for thing in mylist %} >{% if thing.test %} > {{thing}} >{% endif %} > {% endfor %} > > Now if I want to comma-separate the list, how do I do it? The natural > thing to my mind

Re: Cannot redirect after login

2007-12-28 Thread Empty
> Also, I don't understand what the last tag is for, either. Any > help would be greatly appreciated. > The last form tag is an error. It should be the closing form tag Fix that and see if your problem persists. Michael Trier blog.michaeltrier.com

Re: How to add a parent class to the Poll class? (First tutorial)

2007-12-27 Thread Empty
On Dec 27, 2007 5:22 PM, Robert <[EMAIL PROTECTED]> wrote: > > Hi, Sorry about the misunderstanding. > > I am supposed to get this message when I try to add a new object: > > > However, after having added a foreign key in the poll class I receive > this error instead: > > "Poll has no attribute

Re: How to add a parent class to the Poll class? (First tutorial)

2007-12-27 Thread Empty
I'm not seeing the problem. You might try doing a reset (if you don't mind losing all your data) to be sure that the database is in sync. Michael Trier blog.michaeltrier.com On Dec 27, 2007 10:36 AM, Robert <[EMAIL PROTECTED]> wrote: > > Hi, > > I wanted to expand the Poll example in the first

Re: forms.form_for_model

2007-12-26 Thread Empty
> Thanks for the reply I tried using the method you described and > searched the __init__.py, but just couldnt make any sense of it, > > def my_callback(field, **kwargs): > if f.name == 'customer': >return f.formfield(formfclass=forms.HiddenInput) Since you're receiving the

Re: cannot run django with Apache

2007-12-24 Thread Empty
> Add this line in the urls.py > (r'^$','temp.helloworld.index'), > Your url pattern is not going to match a subfolder. Remember as you have it setup everything after the http://localhost/ is what will be sent to be matched. If you want to use /temp in apache as a sub, then you need also

Re: Inheritance

2007-12-24 Thread Empty
> I have a lot of models for classifications. All of them have similar > attributes. When I try to use inheritance in the models design, the > admin interface doesn't work with ForeignKey fields. > > Example: > > class BasicModel(models.Model): > name=models.CharField(maxlength=30) > def

Re: no one on the IRC?

2007-12-24 Thread Empty
> I have from time to time tried to bump into someone on the #django IRC. > Unfortunately, I always get a blank. > It seems the french and german #django channels are more active? > or maybe its my timezone (africa/lagos)? > can someone plese give me a hand on when i am likely to meet people on >

Re: Templates, filesystem, caching?

2007-12-21 Thread Empty
On Dec 21, 2007 4:50 PM, SmileyChris <[EMAIL PROTECTED]> wrote: > > After reading this thread the other day, I decided to write up a patch > [1]. > > [1] http://code.djangoproject.com/ticket/6262 Of course you did. Always with the patches. :) P.S. Thank you Michael Trier blog.michaeltrier.com

Re: django newforms and base_fields

2007-12-20 Thread Empty
This is not a very secure thing to do. But if you must, then just use initial to set the value. Michael Trier blog.michaeltrier.com On Dec 20, 2007 2:32 PM, mike <[EMAIL PROTECTED]> wrote: > > Hello, I am looking for a way to auto-populate a newforms field, I > would like to have the input

Re: Form result notices

2007-12-20 Thread Empty
> I'll look into it, but before I go too far down one track, could > anybody give some advice on how to approach it using sessions? Here's an example: http://staticallytyped.com/2007/05/17/rails-flash-now-for-django/ It's simply middleware that handles stuffing, retrieving, and clearing.

Re: Foreignkey / Relationship / Views

2007-12-15 Thread Empty
I'm not sure where you are getting the "u" from. It should be user, such as: AppointmentParticipant.objects.filter(participant_user__pk=user.id).select_related() You don't really need the depth in this case, unless you have more to your models I'm not seeing. The rest of it looks fine.

Re: Putting django on Amazon DB

2007-12-14 Thread Empty
On Dec 14, 2007 7:44 PM, James Bennett <[EMAIL PROTECTED]> wrote: > > On Dec 14, 2007 5:55 PM, Empty <[EMAIL PROTECTED]> wrote: > > As an aside, if the database backends were truly pluggable, like > > sessions, then we could prove the stability, usability, and commit

Re: Attribute Error on Dumpdata

2007-12-07 Thread Empty
Added ticket http://code.djangoproject.com/ticket/6155 with patch. Still need to write tests. Michael On Dec 7, 2007 3:15 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > > On Dec 7, 2007 2:31 PM, Empty <[EMAIL PROTECTED]> wrote: > > > > > > > > > Seems

Re: Attribute Error on Dumpdata

2007-12-07 Thread Empty
> Seems dumpdata is coded to require a Manager named 'objects' for the Models > it dumps, even though (as described here: > http://www.djangoproject.com/documentation/model-api/#manager-names), Django > does not require that a Manager named objects exists for all Models. > Whether this is just an

Re: serving static files with apache on windows with mod_python

2007-12-07 Thread Empty
> to the apache httpd.conf file > but when i turn off debug in the settings file as well as turning > PythonDebug Off in the httpd.conf, > my media files (css,images,...) disappear. > I have also done > > SetHandler None > > as well as > > SetHandler None > > I have read that my media files

Re: mark form field as required in markup

2007-12-07 Thread Empty
Well each field has and id that in your case here appears as 'id_age'. So you can attach a style sheet item to that field directly but that will not do anything for the whole row. If you just wanted to add something to the label like 'Age *" so the user can see that it's required that way, then

Re: ordering. missing FROM-clause entry for table "locations_location"

2007-12-06 Thread Empty
Read this: http://www.mail-archive.com/django-users@googlegroups.com/msg37967.html and this: http://www.djangoproject.com/documentation/db-api/#order-by-fields Michael Trier blog.michaeltrier.com On Dec 6, 2007 10:21 AM, sector119 <[EMAIL PROTECTED]> wrote: > > Hi! > > I use current trunk

Re: how to let textField accept only clear text?

2007-12-02 Thread Empty
Would it not be possible to run it through the striptags filter first and then pass it into markdown? Michael Trier blog.michaeltrier.com On Dec 2, 2007 9:50 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On Sun, 2007-12-02 at 18:26 -0800, [EMAIL PROTECTED] wrote: > > i have field like

Re: Django's doctest clashes with coverage.py

2007-11-24 Thread Empty
I could be off base here but in regards to the the execution of translation initialization I believe that is occurring because the django.core.management.base attempts to switch the translation to english if the can_import_settings attribute is set: if self.can_import_settings: from

Re: Detecting Object with Empty Relation Ship

2007-11-23 Thread Empty
I'm not sure I follow you completely, but I think my blog post on the subject of finding lookup items that are not being used may get you going in the right direction. http://blog.michaeltrier.com/2007/8/12/finding-lookup-items-that-are-not-used I hope it helps. Michael On Nov 23, 2007 5:54

Re: Django-based forum software?

2007-08-30 Thread Empty
http://code.google.com/p/counterpoint/ Empty blog.michaeltrier.com On 8/30/07, daev <[EMAIL PROTECTED]> wrote: > > http://code.google.com/p/diamanda/ > > > > > > --~--~-~--~~~---~--~~ You received this message because you are s

Re: error with Admin

2007-08-13 Thread Empty
might be wacky with your install. > > Are the permissions on that directory and every directory above it > > such that the webserver can read them? > > yes Empty --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: a generic JSON serializer???

2007-07-29 Thread Empty
I have pulled together pieces to do this. I posted about it here: http://blog.michaeltrier.com/2007/7/30/json-generic-serializer I don't know if it's exactly what you're looking for, but check it out. Empty On 7/26/07, Eric St-Jean <[EMAIL PROTECTED]> wrote: > > Hi, > Ther