Re: Django Deployment Headache (Apache Permissions?)

2007-06-06 Thread Michael Trier
Actually from what I can tell he has his path incorrect. If you have a structure like this: /home/thebest/TheBest Then you need to have your apache configuration like this: SetHandler python-program PythonPath "['/home/thebest'] + sys.path" PythonHandler django.core.handlers.modpython Set

Re: [django-users] FileBrowser v 2.0

2007-06-07 Thread Michael Trier
Very Nice! Thanks for your work. Michael On 6/7/07, patrick k. <[EMAIL PROTECTED]> wrote: > > > Am 07.06.2007 um 19:24 schrieb Simon Drabble: > > > On Thu, 7 Jun 2007, patrickk wrote: > > > >> > >> I´ve just released a new version of the filebrowser: > >> http://trac.dedhost-sil-076.sil.at/trac

Re: newforms semicolon

2007-06-07 Thread Michael Trier
Since it's hardcoded my only suggestion would be to use the granular form of outputing your forms: http://www.djangoproject.com/documentation/newforms/#more-granular-output Michael On 6/7/07, Enquest <[EMAIL PROTECTED]> wrote: > > I wonder how I can remove the most easy way the semicolon in the

Admin Date and Time as NewForms Widget

2007-06-07 Thread Michael Trier
Has anyone converted the admin date and time controls to a New Forms widget format? Michael --~--~-~--~~~---~--~~ 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: Including [django-users] in subject line?

2007-06-10 Thread Michael Trier
Michael, I'd be happy to send you a gmail invite. It's really a good choice when subscribing to newsgroups like these. Let me know. Michael On 6/10/07, Nimrod A. Abing <[EMAIL PROTECTED]> wrote: > > Hello, > > Prior to switching to GMail exclusively, I used to use Outlook or > Outlook Express

Re: tutorial 4, generic views won't load from db?

2007-06-10 Thread Michael Trier
I found that a couple of the changes required stopping and restarting the server to be picked up correctly. Also, if you want I have the polls app working as a demo for an EC2 image I'm using. You can download the code here for a comparison: http://s3.amazonaws.com/eminent-ami/mysite.sql.gz Mi

Re: remove inline item

2007-06-10 Thread Michael Trier
You need to provide some view and template code so we can see what you are trying to do. Michael On 6/9/07, Manuel Meyer <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hey, > > to a model Event i attach some images. But how can I delete images > from an Even

Re: new Django site: critterwatch.org

2007-06-13 Thread Michael Trier
Nice work. You need someone to spice up the UI, but the content rocks. Great job. Michael On 6/13/07, Bryan L. Fordham <[EMAIL PROTECTED]> wrote: > > Jeremy Dunck wrote: > > Nice. Screen-scraping the votes, or is there actually an API? > > > Screen scraping, I'm afraid. Georgia was easy, which

Re: Introducing DjangoSites.Org

2007-06-20 Thread Michael Trier
Nice job Ross!! Michael On 6/20/07, Bryan L. Fordham <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > A week ago I posted about a project I was working on, Djangosites.org. > > It's intended to be a showcase of what's out there in Django Land. > > > Very nice. > > A few minor things:

Re: admin date filter bug

2007-06-20 Thread Michael Trier
Any chance your field name is causing you problems? Look at the generated sql. Michael On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I had some doubts about my testing because my fields are datetime. > So I tested it some more and the same problem came up but not only on > the ad

Re: admin date filter bug

2007-06-20 Thread Michael Trier
NM, just saw Malcolm's post. Michael On 6/20/07, Michael Trier <[EMAIL PROTECTED]> wrote: > Any chance your field name is causing you problems? Look at the generated > sql. > > Michael > > On 6/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > &g

Re: Announcing the birth of Fluther.com

2007-06-27 Thread Michael Trier
Very well done. Michael On 6/27/07, Andrew <[EMAIL PROTECTED]> wrote: > > Hello Fellow Djangoers! > > After many late-night IRC sessions and countless visits to the django > docs, we're very proud to announce the launch of Fluther.com, our > Django-powered social Q&A site. > > Yes, it's similar

Re: prettier html

2007-06-29 Thread Michael Trier
Make sure you have an __init__.py in that directory. Michael On 6/29/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > > Carl Karsten wrote: > > Christian Joergensen wrote: > >> Carl Karsten wrote: > >>> nicely formated template code generates lots of CRs in the resulting > >>> html. I am > >>> tr

Re: prettier html

2007-06-30 Thread Michael Trier
Yeah, thanks for the info. It's a nice addition. Michael On 6/30/07, Carl Karsten <[EMAIL PROTECTED]> wrote: > > oh yeah... thanks. > > I have head of BeautifulSoup - never used it before. my pages html are now > much > more readable. > > Carl K > &g

Re: YUI tags

2007-07-04 Thread Michael Trier
I like it. Good luck to you and keep us posted on how you progress. Michael On 7/4/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > > I just looked at YUI yesterday and am pretty impressed. What I'm not > impressed by is how complicated it is to write the markup in HTML for > things like menus so

Re: Efficient method to execute a query

2007-04-15 Thread Michael Trier
lp me execute this query (I don't > > think select_related works backwards). Also on a related note, how do > > I find out what queries Django is running? > > > > thanks > > > > > > http://www.djangoproject.com/documentation/faq/#how-can-i-see-the-raw-

Re: Efficient method to execute a query

2007-04-15 Thread Michael Trier
On 4/15/07, Tejas Shah <[EMAIL PROTECTED]> wrote: > Thanks guys > > The problem in this case with querying against ItemRatingsByGroup is that > not all Items are in there. > > Only the items that have been rated are in items rated by group > > I'm looking to display as following: > > The Group >

Re: Efficient method to execute a query

2007-04-15 Thread Michael Trier
Tejas, Can you not use the select_related on the queryset to eager load the relationships? Michael On 4/15/07, Michael Trier <[EMAIL PROTECTED]> wrote: > On 4/15/07, Tejas Shah <[EMAIL PROTECTED]> wrote: > > Thanks guys > > > > The problem in this case with qu

Re: Need dedicated hosting for Django

2007-04-17 Thread Michael Trier
> I like RimuHosting, and would happily recommend it to anyone. > +1 RimuHosting is awesome and you can get managed server plans. Michael --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: error separating apps from projects

2007-04-20 Thread Michael Trier
I recently did something similar but what I ended up doing was creating a symbolic link to a path that was already in my sys.path location. For me since I have site-packages/django I just created a site-packages/djangoapps subdirectory and then reference each application with djangoapps.registrat

Re: Django Urls object_id/xxxxxx/object_id

2007-04-22 Thread Michael Trier
Great blog post. Michael On 4/20/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-04-20 at 22:26 +0100, Oliver Charles wrote: > > Just write your own view that in turn calls a generic view? Create a new > > view, with a similiar signiture, but change the object_id for team_id >

Re: Is it really this hard?

2007-05-16 Thread Michael Trier
These two posts gave me everything I needed to tackle these type of issues: http://weblog.bignerdranch.com/?p=31 http://code.pui.ch/2007/01/07/using-djangos-newforms/ Michael On 5/16/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 5/16/07, John M <[EMAIL PROTECTED]> wrote: > > Thanks for i

Re: django vps hosting

2007-05-16 Thread Michael Trier
I love Rimuhosting. They've been great. I'm also using EC2, but in a similar place as Frederic. There are a lot of issues to work through, but they're actually very good issues to address early on. Michael On 5/16/07, Frédéric Sidler <[EMAIL PROTECTED]> wrote: > I do use Amazon EC2 for our pr

Re: [Announce] Django on Gentoo (DoG) Linux EC2 Image

2007-06-03 Thread Michael Trier
Thanks for the kind words. I have the dyndns stuff implemented for myself but didn't include in the image. I'm still working all that out. Here's a good post with some great ideas on scalability: http://developer.amazonwebservices.com/connect/thread.jspa?messageID=57395 It looks like he is h