Re: RSS...my parameters are not correct

2008-12-22 Thread Mike Ramirez
On Tuesday 11 December 2007 12:33:23 pm Greg wrote: > Hello, > I'm trying to get my RSS feed items to link to the right url, however > I'm having trouble. I was orginally having my blogs appear in my RSS > feed. When I clicked on one of them I would get the error: > > ' Invalid feed parameters.

Re: django-registration & django-profile together

2009-02-11 Thread Mike Ramirez
On Wednesday 11 February 2009 01:19:14 pm Alex Rades wrote: > It's "django-profiles" not "django-profile" > > On Wed, Feb 11, 2009 at 10:15 PM, Alex Rades wrote: > > Hi, > > I'm developing a site using django-registration and I'm pretty happy > > with it. Now, I need to attach a profile to each us

Re: django-registration & django-profile together

2009-02-11 Thread Mike Ramirez
On Wednesday 11 February 2009 02:13:53 pm Alex Rades wrote: > On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote: > > I don't know about django-profiles, but django-registration provides a > > couple signals, user_registered and user_activated. By connecting a > > hand

Re: django-registration & django-profile together

2009-02-11 Thread Mike Ramirez
On Wednesday 11 February 2009 02:13:53 pm Alex Rades wrote: > On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote: > > I don't know about django-profiles, but django-registration provides a > > couple signals, user_registered and user_activated. By connecting a > > hand

Re: Installing Django with rpm on RHEL4

2009-02-13 Thread Mike Ramirez
On Friday 13 February 2009 06:48:11 am cswebb wrote: > I've attempted to install Django via the rpm created with "setup.py > bdist_rpm". RPM is created, however when attempting to install it, I > get the following dependency error: > > error: Failed dependencies: > /usr/local/bin/python is

Problem looping queryset in template

2009-02-13 Thread Mike Ramirez
This is the traceback for the error. http://dpaste.com/120271/ This error happens whenever I return a List of QuerySets on this page with more than one item. With one item, it works as expected. The code is here: http://dpaste.com/120278/ Using those queries in the shell are fine and iterabl

Re: Problem looping queryset in template

2009-02-13 Thread Mike Ramirez
On Friday 13 February 2009 11:17:05 am Alex Gaynor wrote: > You shouldn't have commas between the arguments to the cycle tag. > > Alexx Thank you for helping this blind bat. Mike -- I'm going to raise an issue and stick it in your ear. -- John Foreman signature.asc Descriptio

Re: Three Physical Tiers

2009-03-04 Thread Mike Ramirez
On Wednesday 04 March 2009 05:43:41 pm ruffeo wrote: > This was extremely helpful. What about the need to protect the > database from intrusion? Since there is only one hop from the > webserver to the database server (2 tiers). At my job, the school of > thought is that the middle tier is the only

Re: django ORM not compatible with postgres

2009-03-22 Thread Mike Ramirez
On Sunday 22 March 2009 09:25:42 am Brian Neal wrote: > On Mar 22, 8:15 am, Joshua Partogi wrote: > > Dear all, > > > > I just encounter this error using pyscopg2 as my db adapter > > Exception Type:         ProgrammingError > > Exception Value:        can't adapt > > Exception Location: > >      

Re: django ORM not compatible with postgres

2009-03-22 Thread Mike Ramirez
On Sunday 22 March 2009 03:33:41 pm Brian Neal wrote: > On Mar 22, 2:56 pm, Mike Ramirez wrote: > > On Sunday 22 March 2009 09:25:42 am Brian Neal wrote: > > > But from what you posted, I'm guessing that line needs to read: > > > > > > obj.user = User.obj

Re: django ORM not compatible with postgres

2009-03-22 Thread Mike Ramirez
On Sunday 22 March 2009 03:59:10 pm Joshua Partogi wrote: > On Mar 23, 6:56 am, Mike Ramirez wrote: > > I think what you want to do with this style is: > > > >         obj.user = User.objects.get(username=request.user.username) > > > > > or maybe just > &

Re: Question IMAGE in Django

2009-06-22 Thread Mike Ramirez
On Monday 22 June 2009 03:04:03 am Vlad(L) wrote: > Unfortunately, it is impossible. Through a browser has looked html > code - p> > > And how should be correctly registered MEDIA_URL in my case if I work > on built in server Django? In your settings.py check the context processors and make sure

Re: Question IMAGE in Django

2009-06-22 Thread Mike Ramirez
On Monday 22 June 2009 08:06:25 am Vlad(L) wrote: > Mike, I work on Django 1.0.2 - in this version in settings.py is not > mentioned at all about Media context processor and RequestContext. To > me they need to be added in addition most??? It's not mentioned in the settings.py file, but that's why

Re: Question IMAGE in Django

2009-06-22 Thread Mike Ramirez
On Monday 22 June 2009 09:14:41 am Vlad(L) wrote: > art.html > > {% for art in art %} > {{ art.title }} > {{art.anonce }} > > > {% endfor %} > > This will add the media url that you set for MEDIA_URL in settings.py (as long as the context processor for media is also set) an ex

Re: Question IMAGE in Django

2009-06-22 Thread Mike Ramirez
On Monday 22 June 2009 10:27:22 am Vlad(L) wrote: > Mike, excuse that I occupy your time. > > All has made also, but is not present Image. > I will write more in detail. When I instal, for example, "{{MEDIA_URL}} {{art.image}}" width=200;/> image it is not displayed > on html page, but the place u

Re: Best distro for django

2009-07-03 Thread Mike Ramirez
On Friday 03 July 2009 11:36:04 am developingchris wrote: > Looking for opinion of the best distro for a developer machine for > django. > > I'm on ubuntu now, its going ok. I'm having keyboard issues, and > wondering if I should put the time in on fixing it, or just ditch it > for say, pc-bsd, if

Re: Apache with Django

2009-07-06 Thread Mike Ramirez
On Sunday 05 July 2009 09:01:13 pm Kenneth Gonsalves wrote: > On Monday 06 July 2009 09:01:53 WilsonOfCanada wrote: > > When running a production server, I was wondering if I still use > > "python manage.py runserver [ip]:[port]" because the cmd says it is > > running a development server. > > > >

Re: Apache with Django

2009-07-06 Thread Mike Ramirez
On Monday 06 July 2009 10:16:14 am WilsonOfCanada wrote: > I am using Apache and mod_python with the some of the changes > suggested in > http://docs.djangoproject.com/en/dev/howto/deployment/modpython/ as shown > in the fourth posting. I can start Apache Service Control and the Test > Configurati

Re: Django RSS Feeds with adsense

2009-07-08 Thread Mike Ramirez
On Wednesday 08 July 2009 12:35:29 pm Alessandro Ronchi wrote: > I need to put an HTML code in my feeds, but if I put the adsense code in my > feed description it's escaped for XML. Is there a way to add the code > without having it escaped? > > This is my code: > >