Re: Scalability / Traffic-Volume Numbers

2007-05-10 Thread David Cancel
We use Django for all our Compete.com websites, performance is great, We've been DUGG and Slashdot'd several times. We are averaging 200-300k users / per month and about 25k django-powered pageviews per day. Cheers, David --~--~-~--~~~---~--~~ You rec

Solution to multiple models on one form?

2007-05-17 Thread David Priest
ome Very Smart Person can implement this. Or, at least, provide some pointers on how to do it. I suspect it involves some introspection magic, which so far has completely evaded me. Thanks in advance! david --~--~-~--~~~---~--~~ You received this message b

Re: Solution to multiple models on one form?

2007-05-21 Thread David Priest
On 07-May-18, at 6:33 AM, Malcolm Tredinnick wrote: > > On Thu, 2007-05-17 at 20:08 -0700, David Priest wrote: >> It occurs to me that were I able to write the following: >> models_list = ( >> 'project.app1.models.Claim', >>

Re: Solution to multiple models on one form?

2007-05-21 Thread David Priest
After bashing at it some more, I had to conclude I was out to lunch. It is killing me to wait for newforms. It's senseless for me to learn old forms, but I'm having a helluva time making heads or tails of newforms. Some things that I swear must be common as mud -- like a form that sends t

WANTED: Demonstration of good FK & M2M form creation

2007-05-21 Thread David Priest
I believe I have performed exhaustive research on the challenge of creating forms that incorporate fields from multiple tables. I have not found *any* comprehensive, best-practices examples of this problem. It really quite surprises me, as any web application of even moderate complexity re

Re: WANTED: Demonstration of good FK & M2M form creation

2007-05-22 Thread David Priest
On 07-May-21, at 5:56 PM, Malcolm Tredinnick wrote: > It sounds like you want the django.newforms.formsets capability that > isn't on trunk yet. > > A little more patience will be required. Is this patience measured in days and short weeks, or in long weeks turning to months? I need to decide

A bizarre Forms-via-Templates idea...

2007-05-22 Thread David Priest
Templates can output any textfile we care, right? And django's got this nifty auto-updating thing going, where changes to a file are immediately reloaded into the running application. So... We use forms_for_model to get the fields, put it into a request context, and call a template which

Where did you put your homepage view?

2007-05-23 Thread David Larlet
Hi, I'm juste curious, where did you put your homepage view when you've got a project with a lot of apps? Is there a best practice here? Thanks, David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: A Few Questions with How to Work With Views

2007-05-23 Thread David Reynolds
ate a tagging app that allows tags for blog posts and for photos. I know how the database model for this might look, and I've read a bit on the many-to-many relationship in Django, but does anyone have any pointers here? Someone has made a fairly generic tagging application: http://code.google.

Re: conditional block tag

2007-05-23 Thread David Robinson
I'm probably missing something about your question, and please excuse me if that's the case, but wouldn't you be able to do this: {% if header %} {% block header %}Page Heading{% endblock %} {% endif %} Dave Trey wrote: > I have an interesting case that I would like to get some input on

Re: Where did you put your homepage view?

2007-05-24 Thread David Larlet
2007/5/23, David Larlet <[EMAIL PROTECTED]>: > Hi, > > I'm juste curious, where did you put your homepage view when you've > got a project with a lot of apps? Is there a best practice here? > Thanks a lot for your answers! David --~--~-~--~~--

Re: profiling django / import error: no module named profile

2007-05-24 Thread David Reynolds
r/lib/python2.4/hotshot/stats.py", line 3, in ? import profile ImportError: No module named profile any ideas? If you're on Debian or Ubuntu: # aptitude install python-profiler Thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: Unicode-branch: testers wanted

2007-05-25 Thread David Larlet
gt; is intended. There may be others and I'm sure we'll discover what they > are as the questions pop up. Why don't we use the slughifi function: http://amisphere.com/contrib/python-django/ ? I already use it to replace the django

Re: single-sign-on

2007-05-29 Thread David Larlet
007/Apr/24/openidconsumer/ And if you don't know what OpenID is: http://simonwillison.net/2006/Dec/19/openid/ Cheers, David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Where did you put your homepage view?

2007-05-31 Thread David Larlet
2007/5/30, Panos Laganakos <[EMAIL PROTECTED]>: > > direct_to_template sounds like a nice way to handle the index page > serving. > > But how can it be fed the dynamic content of one or more apps to > display? Not sure how it's supposed to be done > through "template tags" as Michel mentioned. Yo

Re: reassessing our Operating System

2007-09-18 Thread David Reynolds
nfs to edit the files using Textmate. At home, I just use OS X. Hope that's of some help. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Does anyone have an easy way to debug the values in a session?

2007-09-24 Thread David Reynolds
pe stuff. This will then give you a print out of the items in the session as a dictionary. You need to use Requestcontext on your views and have 'django.core.context_processors.request' in your TEMPLATE_CONTEXT_PROCESSORS Hope that helps, Dave -- David Reynolds [EMAIL PROTECTE

ImportError: No module named core.servers.fastcgi

2007-09-30 Thread David Brown
Hello everyone! I am trying to setup FastCGI for my Django project, using the following dispatch.fcgi script: #!/usr/bin/env python import sys, os # Add a custom Python path. sys.path.insert(0, "/home/me/projects/django/trunk") sys.path.insert(0, "/home/me/projects/flup/trun

Re: trying to make Django work with fastcgi

2007-10-02 Thread David Brown
flup are already in my path). I was able to run manage.py without any errors, so that pretty much rules out import exceptions and such. Any ideas what else might be causing this? Thanks, David Brown [EMAIL PROTECTED] wrote: > Hi, > > I'm new at this - learning as I go, but I

Re: Admin Media on a VServer

2007-10-08 Thread David Reynolds
/contrib /admin/media/ and then... SetHandler None This is using mod_python, it's a bit different with fastcgi, etc. Hope that helps, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

OT: How did you handle asynchronous tasks?

2007-10-14 Thread David Larlet
, David --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to [EMAIL PROTECTED

Re: OT: How did you handle asynchronous tasks?

2007-10-15 Thread David Larlet
t). Still no decision, though. Thanks for your suggestion, I didn't know AMPQ, it looks very interesting. I'd love to know your final decision :). 2007/10/15, johan de taeye <[EMAIL PROTECTED]>: > David, > > It's a very common requirement, and some people have run i

Re: OT: How did you handle asynchronous tasks?

2007-10-16 Thread David Larlet
2007/10/15, Joseph Heck <[EMAIL PROTECTED]>: > > Hi David, > > If you'd be willing to indulge me, why doesn't DQS doesn't fit your > requirements? I'd love to have some explicit feedback on where it > could be improved to match your needs. And yes, I k

Re: OT: How did you handle asynchronous tasks?

2007-10-16 Thread David Larlet
projects and DQS can be a perfect example of what can be done in this way. Another interesting thing could be a concrete example (like using DQS instead of send_mass_mail or something like that). I can help on the REST part (at least for advices, my todo-list is... well, is.) if

Re: Need help selecting a Django hosting provider

2007-10-18 Thread David Reynolds
any hosting providers that I should avoid? Another vote for Webfaction - their interfaces makes it very easy to set up django (and lots of other things too). Another option to perhaps consider is to get a VDS and do your own install. Thanks, David -- Davi

Generic relations - reasonable usage?

2007-10-22 Thread David Reynolds
Hi, I have the requirement to have an active/inactive function for all contenttypes in a site I'm working on. Is this a valid usage for a Generic Relationship? If so, any tips as to how I'd go about implementing this? Thanks, David -- David Reynolds [EMAIL

Re: Python 2.5, Postgres, Psycopg2 on OS X

2007-10-26 Thread David Reynolds
; You can probably install everything from there as well. Fink > installs everything under /sw (you can change it). Macports [0] is, I think the more up to date version of that. [0] - http://www.macports.org/ -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~-

Re: form_for_instance and form argument, empty form?

2007-11-07 Thread David Larlet
RajeshD a écrit : > > On Nov 7, 9:42 am, David Larlet <[EMAIL PROTECTED]> wrote: > >> I thought that it was more appropriated to post it on the devlist >> because it sounds like a bug but ok let's move it on the userlist, sorry >> for the noise he

Re: form_for_instance and form argument, empty form?

2007-11-07 Thread David Larlet
I thought that it was more appropriated to post it on the devlist because it sounds like a bug but ok let's move it on the userlist, sorry for the noise here. I'll be glad to hear your solution. David Marty Alchin a écrit : > This should probably be asked on django-users, as it

Re: Using GeoDjango features with current trunk?

2007-11-07 Thread David Hancock
On Nov 6, 9:17 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > ... > So anybody who's staying away from the GIS branch because of some > perception that it's less stable than trunk and they can do a better job > locally should re-evaluate. Trunk maintainers (well, at least one of > them) are p

Re: parsing Django RSS feeds for content reposting

2007-11-08 Thread David Reynolds
sed blog. > > Can someone suggest some script or tool where we can have the > content made available in another web site through some Javascript. Take a look at the magpie library [0] for PHP. 0 - http://magpierss.sourceforge.net/ -- David Reynolds [EMAIL PROTECTED] --~--~-~--~

Re: Will there be a django 0.97 release ?

2007-11-10 Thread David Reynolds
release of the django book, by any chance? ;) -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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@

How to define choices that works in admin interface?

2007-11-20 Thread David Marko
t;"), null=False, blank=False) Thanks for any hint. David --~--~-~--~~~---~--~~ 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 T

Re: How to define choices that works in admin interface?

2007-11-20 Thread David Marko
I would like to make specific choices available: type = models.CharField(verbose_name='OS', maxlength=30, choices = Choice.get_choices_for('os_type'), null=False, blank=False) ... but using this technique doesnt work as Django runs Choice.get_choices_for('os_type') only

Re: Django Web Hosting Service

2007-11-24 Thread David Sissitka
that they've DEBUG set to True in their settings.py. -David Sissitka --~--~-~--~~~---~--~~ 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.c

Re: Django Web Hosting Service

2007-11-24 Thread David Sissitka
top of my head I can think of nearly half a dozen reasons and I'm just WebFaction's Django monkey. With that said the memory usage related Apache/Django tips that we've in our blog are by no means a one size fits all solution for decreasing Apache's memory usage. -David Sissitka --~

Cambridge and East Anglia Python Users Group

2007-11-27 Thread David Reynolds
st regarding this if you like. > > Cheers, > Richard > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Richard Lewis - UEA, MUS PG > http://www.richard-lewis.me.uk/ > JID: [EMAIL PROTECTED] > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > http://www.thecarltonarms.co.uk/ > http://groups.google.com/group/campug > h

IRC Channel

2007-11-27 Thread David Reynolds
on #django -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 unsubscribe f

Re: How to display the euro currency EURO and choose the comma as the decimal separator

2007-11-27 Thread David Reynolds
How about: CURRENCY = u'€' ? That's what we had to do to get the pound sign working. Thanks, David On 27 Nov 2007, at 1:39 pm, Song.qk wrote: > > I am just using the basic Satchmo templates WITHOUT ANY > modifications. > > On Nov 27, 8:04 pm, "Horst

Re: IRC Channel

2007-11-29 Thread David Reynolds
ng, as there's no current way to change the topic! -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Re: IRC Channel

2007-11-29 Thread David Reynolds
On 29 Nov 2007, at 11:01 am, Kenneth Gonsalves wrote: > but who locked the topic? It was open before This perhaps: ./freenode/2007/09/20/#django.log:10:44 -!- mode/#django [+t] by rob (pulled from my log files) -- David Reynolds [EMAIL PROTEC

Re: IRC Channel

2007-11-29 Thread David Reynolds
On 29 Nov 2007, at 11:08 am, David Reynolds wrote: > > > On 29 Nov 2007, at 11:01 am, Kenneth Gonsalves wrote: > >> but who locked the topic? It was open before > > This perhaps: > > ./freenode/2007/09/20/#django.log:10:44 -!- mode/#django [+t] by rob Extra c

Re: IRC Channel

2007-11-29 Thread David Reynolds
can't be changed unless we go through the > bureaucracy of registering the channel, setting up contact people and > ops and such (which we're working on, but isn't necessarily the top > priority). Rght, now I see :) If you need a contact person or op I'd be happy

Re: Template Tag and Javascript Best Practices

2007-11-30 Thread David Reynolds
mplate tag,like any other template > tag). > > If b) is an ok solution, do you know where to find a sample of doing > so? We tend to make a block tag (called extrahead) in the head section of the base template and then just shove

Re: Django implementation of AssetPackager, anyone?

2007-12-10 Thread David Reynolds
pressed files on the fly with the correct svn number associate with > it. If there's a python library for compressing javascript files (which I suspect there is) it shouldn't be too difficult to make your own templatetag to do this. Thanks, Dave -- David Reynolds [EMAIL PROTECTE

Re: Django implementation of AssetPackager, anyone?

2007-12-10 Thread David Reynolds
On 10 Dec 2007, at 4:36 pm, David Reynolds wrote: > If there's a python library for compressing javascript files (which I > suspect there is) it shouldn't be too difficult to make your own > templatetag to do this. For example this... http://aspn.activestate.com/ASPN/Coo

Re: File upload on external server

2007-12-12 Thread David Reynolds
.. I think the general way that is suggested is to nfs share the folder from the media server to the application folder. I seem to remember it being talked about in the djangobook. Thanks, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You re

Re: Tableless models?

2007-12-13 Thread David Reynolds
t;tableless"). This may be a silly point and may not do what you want, but a form (using newforms) is kind of like a model without a database table. -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are

Fwd: Country, State and City data

2007-12-14 Thread David Blewett
This didn't make it the first time -- Forwarded message -- From: David Blewett <[EMAIL PROTECTED]> Date: Dec 11, 2007 6:57 PM Subject: Re: Country, State and City data To: django-users@googlegroups.com On Dec 11, 2007 4:59 PM, <[EMAIL PROTECTED]> wrote: &

Re: os x tiger macports install postgres81 python25 - py25-psycopg2 python manage.py runserver error

2007-12-19 Thread David Reynolds
b > > So why is the program looking in /usr/local/pgsql/lib/ when the > library is in /opt/local/lib/postgresql81/ ? All of these programs > were installed with MacPorts, so shouldn't they know where each other > reside? You'll need to also do: port

Re: newforms tricks

2007-12-29 Thread David Larlet
estions): self.fields['question_%d' % i] = forms.ChoiceField(label=questions, ...) I know that it's a wiki and I can fix that myself but I prefer that you validate this choice, maybe I miss something? Regards, David --~--~-~--~~~---~--~~ You rec

Re: Add Add "georss" tag to feeds

2008-01-02 Thread David Larlet
one:" test. If you replace force_unicode by to_unicode it works. I'd submitted a bug and a patch on Trac, see #6303. While we are at feeds, I got a "cosmetic" question. It seems that each generated feed in Django is not highlighted by Firefox when you read the source. Is

Re: Fast hosting for Django

2006-09-24 Thread David Sissitka
I am a WebFaction customer, definitely not a bad company. A few thoughts about WebFaction:1) It's a one man show, at least, support is. Support ticket response times are anywhere from three hours to a day and a half. 2) The control panel may be appealing but it is definitely flawed. It supports Fir

Re: Fast hosting for Django

2006-09-25 Thread David Sissitka
e not comfortable with administering your own server. Hope it helps. On 9/25/06, iain duncan <[EMAIL PROTECTED]> wrote: On Sun, 2006-24-09 at 23:18 -0400, David Sissitka wrote:> I am a WebFaction customer, definitely not a bad company. A few> thoughts about WebFaction:>> 1) It

Re: Fast hosting for Django

2006-09-25 Thread David Sissitka
In case anyone is wondering, that is Remi from WebFaction, and that's also why I am a WebFaction customer. :)On 9/25/06, Remi < [EMAIL PROTECTED]> wrote: Just a few comments about WebFaction.> I am a WebFaction customer, definitely not a bad company. A few thoughts> about WebFaction:>> 1) It's a on

order admin list view

2006-10-03 Thread David S .
ld it? Is there a workaround besides implementing the admin interface for this class myself? Peace, David S. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: order admin list view

2006-10-04 Thread David S .
> some details So, I looked at the admin code and noticed that in the absence of any ordering it orders by PK DESC. I submitted a patch that would change the behavior to use the ordering returned by a custom default manager. http://code.djangoproject.com/ticket/2870 Peace, Davi

Re: Implementing entity relationships that use compound keys in a Django application

2006-10-04 Thread David S .
load: results_for_post, error: function(type, error) { alert("Error getting accounts: " + error); }, }); } return false; } It also makes it so they can not enter an illegal value in this view. Anyway, perhaps the SQLAlchemy branch might someday address t

Re: Support for static content?

2006-10-05 Thread David Abrahams
Tim Chase <[EMAIL PROTECTED]> writes: >> Django's database-centric approach seems to make certain kinds >> of mostly-static sites harder to build. > [cut] >> Yes, Django is a framework, so I could build components that >> make this possible, but it seems to me that it should be a >> fundamental,

Re: Support for static content?

2006-10-05 Thread David Abrahams
"Adrian Holovaty" <[EMAIL PROTECTED]> writes: > If you just want to use the HTTP request/response part of Django, > there's no requirement that you need to use a database. > > All Django cares about is that your view functions return an > HttpResponse. What they do internally -- whether it's conn

Re: django - kit

2006-10-07 Thread David Sissitka
Another vote for WebFaction if you'd like to take the shared hosting route.-David SissitkaOn 10/7/06, zehi < [EMAIL PROTECTED]> wrote: http://www.webfaction.com/ is very cool including good screencasttutorials and support forums. They work with all &#x

Re: Support for static content?

2006-10-07 Thread David Abrahams
"Adrian Holovaty" <[EMAIL PROTECTED]> writes: > On 10/5/06, David Abrahams <[EMAIL PROTECTED]> wrote: >> So the idea is to map certain URLs into that view, have the view parse >> the URL to find the files in the SVN working copy that it should use >&g

Re: django - kit

2006-10-07 Thread David Sissitka
I'm not sure what you mean by a kit, something like InstantRails for Django? If so, I'm not aware of one, but Django is pretty easy to install. On 10/7/06, Picio <[EMAIL PROTECTED]> wrote: I know webfaction is very good and I saw a screencast about it.But what I'm searchin for is a kit or a way to

Re: What IDE do you use? (semi-OT)

2006-10-09 Thread David Johansson
d nice and uses gnome-vfs, so it's easy to edit files directly on another host (I run my django inside a vmware appliance). [1] http://pydev.sourceforge.net /david --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

default manager and contrib.Admin

2006-10-09 Thread David S .
://code.djangoproject.com/ticket/2892. A work-around is to use the undocumented Admin.manager field to explicitly set the manager you want the Admin interface to use. For ordering, you need to apply the patch. Peace, David S. --~--~-~--~~~---~--~~ You received this message because

Re: Custom admin page

2006-10-10 Thread David S .
patterns('', (r'^admin/manager/sale/add/$', 'sale.add'), (r'^admin/', include('django.contrib.admin.urls')), ) If you go this route, you may still be able to take advantage of generic views, e.g. django.views.generic.create_update.create_object. Peac

Re: Django comments system and ajax

2006-10-10 Thread David S .
dding the necessary javascript. Peace, David S. --~--~-~--~~~---~--~~ 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 unsubscribe from thi

Re: What IDE do you use? (semi-OT)

2006-10-10 Thread David Sissitka
ert the snippet named "HTML - SPAN". -David SissitkaOn 10/10/06, limodou <[EMAIL PROTECTED]> wrote: On 10/10/06, Giovanni Giorgi <[EMAIL PROTECTED]> wrote:>> I am using emacs but I am looking for a editor easier to customize.> For instance I'd like to be able

Re: What IDE do you use? (semi-OT)

2006-10-13 Thread David Sissitka
cations that do just that, on OS X there is iTerm, on Windows there is Console2 and PromptPal, not sure about Linux. -David SissitkaOn 10/13/06, Norjee <[EMAIL PROTECTED]> wrote: Rob Hudson schreef:> Should Django look at creating something like what RadRails is for RoR?> http://www.radr

Re: Pro Django Book preview

2006-10-18 Thread David Larlet
I hope the book is written as an entire doctest too, it could be useful to test each line of code with the last version. 2006/10/17, Peter Bailey <[EMAIL PROTECTED]>: > > It would be cool if Apress could use some type of process with that > book like Dave Thomas did with Agile Web Development Wit

Re: mnemosyne - a django wiki

2006-10-19 Thread David Larlet
ut identification? if yes, it could be useful to test the edit function on the demo wiki (there is no register page, right?). * what about spam? I test functionalities, then code :-). Cheers, David --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: some problems that make my work hard or force me to use AntiPatterns

2006-10-20 Thread David Larlet
tp://www.symfony-project.com/book/trunk/generator This way, it can be easy to create admin for users and not only administrators. Cheers, David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" g

Re: Project URL-prefix

2006-10-24 Thread David Sissitka
trick. My host said that this was a bug in Django, and that Andy from ReportLab planned on writing about the issue in more detail. -David Sissitka On 10/24/06, Dmitry Azhichakov <[EMAIL PROTECTED]> wrote: > Hello, everyone. > > A little background for a problem first. I'm

Re: Project URL-prefix

2006-10-24 Thread David Sissitka
Hrm, just double checking now and I cannot replicate the problems you've listed. Anyways, it looks like ticket #285 mentions a very similar problem, but they've determined that the cause is CGI related and I'm using mod_python. -David SissitkaOn 10/24/06, Dmitry Azhichakov &l

UnicodeEncodeError with templatetags

2006-11-07 Thread David Abrahams
I've been running into a problem that seems very similar to http://code.djangoproject.com/ticket/170, although I see that that issue was fixed so I am betting the bug is on my end somewhere. Unfortunately, I'm a little green w.r.t. unicode issues so I'm hoping someone else can correct my misconcep

Re: Logging in an application

2006-11-07 Thread David Blewett
an has an example here: http://feh.holsman.net/articles/2006/06/13/django-signals There is example code in the counter app at: http://svn.zyons.python-hosting.com/trunk/zilbo/common/counter/ in models.py and signals.py. David Blewett --~--~-~--~~~---~--~~ You received

Re: UnicodeEncodeError with templatetags

2006-11-07 Thread David Abrahams
Ivan Sagalaev <[EMAIL PROTECTED]> writes: > David Abrahams wrote: >> I've been running into a problem that seems very similar to >> http://code.djangoproject.com/ticket/170, although I see that that >> issue was fixed so I am betting the bug is on my end somewhere

Re: Django, RDF & XUL

2006-11-09 Thread David Larlet
2006/11/9, James Bennett <[EMAIL PROTECTED]>: > > On 11/8/06, benj <[EMAIL PROTECTED]> wrote: > > Does anyone have experience translating django models into RDF graphs? > > My ideal views would look something like this: > > Off the top of my head I don't know of anyone who's done this, but it > wo

Re: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
e('Spanish')) You can get the text for a specific translation like this: a.translations.filter(field='bar', language=Language('Spanish')) David Blewett --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
On Nov 9, 8:17 am, "David Blewett" <[EMAIL PROTECTED]> wrote: > Then you can add translations of field(s) by doing: > a = ModelNeedingTranslation(1, 'nothing') > a.translations.create(field='bar', translated_text='nada', > language=La

POST Behavior

2006-11-10 Thread David S .
reate" brings you to a page with a link to download the PDF. Any thoughts on whether this is the "right" way to do this? Thanks for any advice. Peace, David S. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: A Rails/Django Comparison

2006-11-13 Thread David Sissitka
erience or the Rails programmer's prior Ruby experience. -David Sissitka --~--~-~--~~~---~--~~  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: A Rails/Django Comparison

2006-11-14 Thread David Sissitka
If you're going to include works in progress then it's also worth mentioning that the Rails documentation drive has collected over $16,000 USD for professionally written documentation. Just trying to keep things even. -David SissitkaOn 11/14/06, Adrian Holovaty <[EMAIL PROTECTED]> wr

Re: Database design

2006-11-14 Thread David S.
Data Modeling Essentials by Graeme Simsion, Graham Witt http://preview.tinyurl.com/yy6vlc --~--~-~--~~~---~--~~ 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@goo

Re: apache2 mod-fcgid with django?

2006-11-17 Thread David Johansson
I'm not really sure what you're asking for, but I've used mod-fscgi with apache2 without any problems. Using the FastCgiExternalServer directive. It seems to work well. /david 2006/11/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > According to the django docu

Re: Want to see your favorite branch merged? Here's how you can help!

2006-11-17 Thread David Johansson
MultipleDatabaseSupport! I havn't tried it yet, but it's precisely what I need. I'll be glad to test it out. /david --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Moving from development server to apache

2006-11-27 Thread David Abrahams
I've been very happily developing my Django site with the development server, and decided it was time to start it under Apache. I ran into several problems that really slowed my development down. I'm posting here because: a. I'd love some help with these if anyone can offer it; many of my

Apache auto-reload?

2006-11-29 Thread David Abrahams
Hi, I'm developing a site locally, and managing its code and static data in a subversion repository. I also have it running on a real apache server on the web with mod_python, but I don't want to login to the server, restart, etc. every time I check something in. I've got a post-commit hook al

How To: Project-wide custom template tags

2006-12-01 Thread David Smith
gister = templatetags.register def some_comment_op(x, y): return 'some string value' register.simple_tag(some_comment_op) 3. In one of your blog templates, use: {% load mytags %} I've read that 'load' should come after and 'extends' -- I didn&#x

Django on Server Axis

2006-12-20 Thread David Zhou
Does anyone have any experience with Django on Server Axis? I've been looking at Rimu Hosting, but came across a couple positive reviews of Server Axis. Their available memory and HD/transfer is much more than Rimu at the $30 price point. Thanks,

Re: Ordering flatpages?

2006-12-22 Thread David Blewett
a tree structure out of any django model. There's a page on the wiki about it, and an updated version on the list. http://code.djangoproject.com/wiki/ModifiedPreorderTreeTraversal http://groups.google.com/group/django-users/browse_thread/thread/ad54ef8b858c2d33/43b586c683a31129

OneToOne in Models

2006-12-27 Thread David Zhou
wn commenting models and views. What are people using for OneToOne relations (Comment->Entry)? The Django documentation says that it may change, and is not recommended for use. What do you use instead, or do most people ignore and use it a

Re: OneToOne in Models

2006-12-27 Thread David Zhou
On Dec 27, 2006, at 6:06 PM, Adrian Holovaty wrote: On 12/27/06, David Zhou <[EMAIL PROTECTED]> wrote: What are people using for OneToOne relations (Comment->Entry)? The Django documentation says that it may change, and is not recommended for use. What do you use instead, or do mo

Re: Smart quotes filter

2006-12-27 Thread David Zhou
martypants. I don't think Markup support's it as a filter though. You may have to process the chunk through smartypants before passing to the template. --- David Zhou [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you a

Re: noob help, many to one, model

2006-12-28 Thread David Zhou
ost1.save() And then to access the related user of post1: post1.user.alias which should spit out 'bob' (I haven't tested any of this, but it's basically a variation of the sample page at: http://www.djangoproject.com/documentation/mod

Re: A basic problem with templates (I think)

2006-12-28 Thread David Zhou
entities. Even if you have the encoding set correctly on the server and source side, the user can still explicitly set the (possibly wrong) encoding in the browser. --- David Zhou [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you

Re: Workflow engine for python?

2007-01-04 Thread David Larlet
his implementation will be really appreciated. Cheers, David --~--~-~--~~~---~--~~ 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 unsubs

Re: multiple projects one server

2007-01-04 Thread David Zhou
e django+flup fcgi things described on the official site, but in theory, you could use apache as well, I suppose. --- David Zhou [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

Why so slow?

2007-01-04 Thread David Abrahams
I am developing a Django-based site, and it *really* seems to be slow... sometimes. It's running in an Apache virtual server on the same machine as my static site. When things are good, the Django-based site approaches the static site in speed, but when things are bad, there's just no comparis

Re: multiple projects one server

2007-01-05 Thread David Zhou
. If so does nginx provide some mechanism to start them up or is it all handomatic? I have a script that starts them up, but yeah, AFAIK, there isn't anything in nginx or Django that starts them automatically. --- David Zhou [EMAIL PROT

<    4   5   6   7   8   9   10   11   12   13   >