Re: JOINs with Django ORM

2009-10-19 Thread Michael P. Jung
> I was unclear, but SQL should explain what I want to do - select > all ObjectRevision-s that are latest in Object-s that they belong to. > Moreover, I want to do this in with one ORM query, without resorting > to SQL or splitting the query too much. I'd go for a denormalized database: class Fo

How to disable autoescape in django feeds?

2009-10-19 Thread Alexey Moskvin
Hi! I use django feed framework to organize rss feeds for my website. I need to put some hyperlinks to feed items, but al of them are autoescaped ( "<" is replaced with "<" and so on). Is it possible to keep tags in my feed (as I understand, I can't use {% autoescape off %} tag in feed templates)?

Re: simplelazyobject breaks code

2009-10-19 Thread Eric Holscher
Went ahead and filed a ticket for this. If you would chime in with your example it probably wouldn't hurt, but I will link to this thread as well. http://code.djangoproject.com/ticket/12060 Cheers, Eric --~--~-~--~~~---~--~~ You received this message because you a

Re: Django methodologies and best practices

2009-10-19 Thread Mike Ramirez
On Monday 19 October 2009 18:11:38 Sam Lai wrote: > I am tempted to ask a related question though - what do people use to > plan out their projects (for those that do :)? Large sheets of paper, > diagramming software (e.g. Visio), mindmaps, plain old text files... > > (Feel free to tell me to lo

Re: Django methodologies and best practices

2009-10-19 Thread Sam Lai
2009/10/20 Shakefu : > So ... I feel slightly guilty about asking this, because I might as > well be throwing napalm on the stove but which editors/IDEs/whatever > do people prefer for their Djangoing? Don't mean to rain on your parade, but this topic's been done to death, even recently - here'

Re: Django methodologies and best practices

2009-10-19 Thread Shakefu
Definitely +1 to Mike's post. Lots of great advice. I'm ashamed to admit that I'm usually the sort who goes about projects without any written planning what so ever. Generally I spend some time forming an idea in my head as to what I'd like and what I want to implement, but often that gets twiste

Re: How to get a queryset?

2009-10-19 Thread adelaide_mike
Thanks Max. In an ideal world left_connector, right_connector would be the way to go. However, I need to account for a cable that, at one or both ends is split into separate conductors, that go to separate connectors (thus breaking the rule I had specified.) Nodes, with a little embellishment,

Re: Django Admin: DateField (Year and Month) only

2009-10-19 Thread Joshua Russo
I don't have an example of a date field but here is an example of how I extended the Decimal field in making a Currency field. http://www.djangosnippets.org/snippets/1527/ In the description there are also links to the entire series of objects, includi

Re: Django Admin: DateField (Year and Month) only

2009-10-19 Thread The Danny Bos
APologies for my naivety, how would I do that. Any examples you can point me toward? Thanks for the fast reply, d On Oct 20, 10:38 am, Joshua Russo wrote: > On Mon, Oct 19, 2009 at 10:28 PM, The Danny Bos wrote: > > > > > Hiya, > > > In the Django Admin for the DateField I only want to di

Re: Django Admin: DateField (Year and Month) only

2009-10-19 Thread Joshua Russo
On Mon, Oct 19, 2009 at 10:28 PM, The Danny Bos wrote: > > Hiya, > > In the Django Admin for the DateField I only want to display the Year > and Month as select lists. I'll default the day to the 1st every time. > Is this possible? > > I want to keep the dates very simple, as I'll be adding many

Re: Help with splicing models to a legacy DB, please

2009-10-19 Thread Joshua Russo
On Mon, Oct 19, 2009 at 8:03 PM, John Handelaar wrote: > > Hello > > For reasons I won't bore you with, a Mysql legacy DB *whose schema I > cannot alter* contains (inter alia) two tables. I'm trying to write > an alternative front-end to this DB in Django which would be > read-only. > > tableone

Django Admin: DateField (Year and Month) only

2009-10-19 Thread The Danny Bos
Hiya, In the Django Admin for the DateField I only want to display the Year and Month as select lists. I'll default the day to the 1st every time. Is this possible? I want to keep the dates very simple, as I'll be adding many items from 1900 to now. So using the current DateField calendar in Dja

Re: JOINs with Django ORM

2009-10-19 Thread Joshua Russo
2009/10/19 Tomasz Zieliński > > On 19 Paź, 20:21, Daniel Roseman wrote: > > > > You can't do this in one query with Django's ORM. > > > > One way of doing it in two queries might be to get use .annotate() to > > add the max id of the related objectrevision for each revision, then > > get all tho

[django-tinymce] Adding a custom toolbar button

2009-10-19 Thread eka
Hi, Is there any way to achieve this with django-tinymce? http://tinymce.moxiecode.com/examples/example_20.php I tried configuring it, but seems to not like the way I pass the function. Any clues? --~--~-~--~~~---~--~~ You received this message because you are s

Re: How to get a queryset?

2009-10-19 Thread Max Battcher
adelaide_mike wrote: > Hi > My models are, essentially : > class Cable(models.Model): > cable = models.CharField(max_length=8) > > class Connector(models.Model): > connector = models.CharField(max_length=8) > > class Node(models.Model): > cable = models.ForeignKey(Cable) > connec

How to get a queryset?

2009-10-19 Thread adelaide_mike
Hi My models are, essentially : class Cable(models.Model): cable = models.CharField(max_length=8) class Connector(models.Model): connector = models.CharField(max_length=8) class Node(models.Model): cable = models.ForeignKey(Cable) connector = models ForeignKey(Connector) So, a r

Help with splicing models to a legacy DB, please

2009-10-19 Thread John Handelaar
Hello For reasons I won't bore you with, a Mysql legacy DB *whose schema I cannot alter* contains (inter alia) two tables. I'm trying to write an alternative front-end to this DB in Django which would be read-only. tableone has a primary key called tableone_id tabletwo contains rows which have

Re: JOINs with Django ORM

2009-10-19 Thread Tomasz Zieliński
On 19 Paź, 20:21, Daniel Roseman wrote: > > You can't do this in one query with Django's ORM. > > One way of doing it in two queries might be to get use .annotate() to > add the max id of the related objectrevision for each revision, then > get all those objectrevisions (untested): > >    objects

starting a project in windows xp

2009-10-19 Thread Nick
FYI, If anyone in general has trouble starting a new project in Windows xp, this might help you. When I first tried creating a project, I cd'd into the appropriate directory in a cmd prompt and then typed the path to the django-admin.py file, then startproject, and the project name. All this woul

Re: Best way to generate a local file from a models + views ?

2009-10-19 Thread Nicolas Steinmetz
Михаил Лукин a écrit : > For purpose of generating apache config files I would recommend to use > management commands [1], so that you could generate config like this: > ./manage genconf --server apache2 > /etc/apache2/vhosts.d/myapp.conf > where genconf is your custom management command. > > [1

Re: Best way to generate a local file from a models + views ?

2009-10-19 Thread Nicolas Steinmetz
Daniel Roseman a écrit : > There's nothing magical about creating a file in Django, it's just > Python. Assuming you have rights to write to a file, that should work. It's what I was assuming but looks I did not find the right way to do it :-( > Is render_to_string producing anything? Can you t

Re: Django methodologies and best practices

2009-10-19 Thread kRON
I really like Mike's post and I think it all boils down to what he's said. There's not much to add except other personal preferences and delicacies you take onto a new project. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-19 Thread selena
hello everyone i apologize for being so quick on asking for help, before i double checked my paths and local settings - which i thought i did but i have just realized that i had the old computer's name SSAVIC in the database_name path - and that was the only reason this was not working! thank

Re: JOINs with Django ORM

2009-10-19 Thread Daniel Roseman
On Oct 19, 5:25 pm, Tomasz Zieliński wrote: > On 19 Paź, 17:52, Daniel Roseman wrote: > > > On Oct 19, 4:17 pm, Tomasz Zieliński > > > It's not clear what you mean by 'all latest ObjectRevisions'. Do you > > mean all ObjectRevisions for a particular object? If so: > >     myobject.objectrevision

Re: Custom Comments

2009-10-19 Thread andreas schmid
check this link: http://www.yashh.com/blog/2008/nov/21/django-comments-authenticated-users/ simonecare...@gmail.com wrote: > Post more information about errors you get, including you traceback. > It will be more helpful. > > Bye. > > On Oct 19, 4:34 pm, ToTmX wrote: > >> Hi, I'm new django us

Re: Django SAAS projects

2009-10-19 Thread hcarvalhoalves
On Oct 16, 7:09 pm, Savy wrote: > Hi Djangonauts, > > I am developing  a Django project (with a few pluggable apps). > > I want to offer this project as a SaaS (something like 37signals.com). > > i.e: customer1.product1.com , customer2.product2.com etc > > product1 could be the basecamp product2

Re: JOINs with Django ORM

2009-10-19 Thread Tomasz Zieliński
On 19 Paź, 17:52, Daniel Roseman wrote: > On Oct 19, 4:17 pm, Tomasz Zieliński > > > It's not clear what you mean by 'all latest ObjectRevisions'. Do you > mean all ObjectRevisions for a particular object? If so: >     myobject.objectrevision_set.all() I was unclear, but SQL should explain what

Re: Custom Comments

2009-10-19 Thread simonecare...@gmail.com
Post more information about errors you get, including you traceback. It will be more helpful. Bye. On Oct 19, 4:34 pm, ToTmX wrote: > Hi, I'm new django user. > > I want use Comments application and custom the input form with only > comment field in my form, without email field, site field, etc

Re: Django methodologies and best practices

2009-10-19 Thread Mike Ramirez
On Saturday 17 October 2009 21:55:39 Shakefu wrote: > So my questions are simple: > > What are your opinions on the best methodologies and practices for > developing django apps and projects? > > What sort of planning do you do for an application or project? I've been thinking about this and fi

Re: JOINs with Django ORM

2009-10-19 Thread Daniel Roseman
On Oct 19, 4:17 pm, Tomasz Zieliński wrote: > Say I have Object model, which has ObjectRevision-s (ObjectRevision > has ForeignKey to Object). I want to fetch from database all latest > ObjectRevision-s. In SQL I can do it like this: > > SELECT r1.some_data > FROM objectrevision r1 > LEFT OUTER J

Re: Add Request Parameters

2009-10-19 Thread Shawn Milochik
Keith, Depending on what you're doing, it might be a good place to use a context processor. http://docs.djangoproject.com/en/dev/ref/templates/api/#writing-your-own-context-processors Also, if you're using (or can use) the session middleware, you can store these values in the session. Shaw

Re: How to enforce uniqueness based on two model fields

2009-10-19 Thread Shawn Milochik
Guillermo, Please see the 'unique_together' syntax: http://docs.djangoproject.com/en/dev/ref/models/options/#unique-together --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Uploaded file always fails validation

2009-10-19 Thread mike.thon
On Oct 19, 4:36 pm, "mike.thon" wrote: > Hi all - I am quite new to python and Django but I'm starting to learn > my way around.  I am writing a form for uploading files but the form > always seems to fail the form.is_valid() test.  if I print the form > errors using: > > errors = form.errors >

JOINs with Django ORM

2009-10-19 Thread Tomasz Zieliński
Say I have Object model, which has ObjectRevision-s (ObjectRevision has ForeignKey to Object). I want to fetch from database all latest ObjectRevision-s. In SQL I can do it like this: SELECT r1.some_data FROM objectrevision r1 LEFT OUTER JOIN objectrevision nr2 ON (r1.object_id = r2.object_id AND

Re: python manage.py syncdb error: sqlite3.OperationalError: unable to open database file

2009-10-19 Thread selena
sure, here it is: # Django settings for mysite project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ('selena', 'idealnig...@gmail.com' # ('Your Name', 'your_em...@domain.com'), ) MANAGERS = ADMINS DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqli

Re: Django methodologies and best practices

2009-10-19 Thread Tomasz Zieliński
On 19 Paź, 12:00, bruno desthuilliers wrote: > On 18 oct, 23:15, Mike Ramirez wrote: > > Or write a custom migration script, or just fire your favorite db > client and issue a couple SQL queries. > > > I tend to start with the models first and when I add a field, I just use > > alter > > to u

Re: Data Looping with a Join? Perhaps ...

2009-10-19 Thread Javier Guerra
On Mon, Oct 19, 2009 at 9:55 AM, The Danny Bos wrote: > Will this display all CollectionTypes even if there is no record for a > user in CollectionUserPile? no. in that case try this (untested): in the view: mytypes = ((t, t.collectionuserpile_set.filter(user=request.user)) for t in Collectio

Uploaded file always fails validation

2009-10-19 Thread mike.thon
Hi all - I am quite new to python and Django but I'm starting to learn my way around. I am writing a form for uploading files but the form always seems to fail the form.is_valid() test. if I print the form errors using: errors = form.errors print errors I get this string: fileThis field is re

Custom Comments

2009-10-19 Thread ToTmX
Hi, I'm new django user. I want use Comments application and custom the input form with only comment field in my form, without email field, site field, etc. I followed djangoproject.org guide for customing comments, but don't work :-( Please, help me. Thank's you and sorry for my english. S.C.

Re: Data Looping with a Join? Perhaps ...

2009-10-19 Thread The Danny Bos
Will this display all CollectionTypes even if there is no record for a user in CollectionUserPile? As I'd want to set a default item if there isn't, but still loop through all Types. d On Oct 20, 1:35 am, Javier Guerra wrote: > On Mon, Oct 19, 2009 at 6:53 AM, The Danny Bos wrote: > > > >

simplelazyobject breaks code

2009-10-19 Thread ozgurisil
Here's a template filter that has been working without problems till recently, before I updated Django source: from pm_core.models import PMUser @register.filter def can_manage_market(user, market): if not isinstance(user, PMUser): return False return user.can_manage_market(market) The

Re: Data Looping with a Join? Perhaps ...

2009-10-19 Thread Javier Guerra
On Mon, Oct 19, 2009 at 6:53 AM, The Danny Bos wrote: > > K, I've got one for ya. > > I've created a new table to handle Users latest "owned" item, how > would I get this joined data up in my views.py where I'm currently > just looping through CollectionTypes. Tables and current Query is > below:

Re: unable to see SQL even after DEBUG=True in settings

2009-10-19 Thread Indu
On Oct 16, 8:22 pm, Javier Guerra wrote: > On Fri, Oct 16, 2009 at 1:55 AM, Jani Tiainen wrote: > >> I have run the app such that it has executed number of db queries and I > >> know for sure there must be some sql.  But still I don't see any in > >> connection.queries.  what am I doing wrong?

Keeping sexes apart helps girls to thrive ... find Western Morning

2009-10-19 Thread jhonsan
Keeping sexes apart helps girls to thrive ... find Western Morning News, The Plymouth (UK) articles. New report has been published which concludes girls are ... Keeping sexes apart helps girls to thrive ... find Western Morning News, The Plymouth (UK) articles. New report has been published whic

Re: Caching performance regression between django 1.0 and django 1.1.1

2009-10-19 Thread mt
On Oct 19, 1:08 pm, Russell Keith-Magee wrote: > On Mon, Oct 19, 2009 at 6:52 PM, mt wrote: > > > Hi All, > > I recently upgraded a high traffic site from django 1.0 to django > > 1.1.1 and noticed that the load on the server went through the roof, > > so I had to revert to django 1.0. > > I'v

Re: using ajax with django

2009-10-19 Thread Kenneth Gonsalves
On Monday 19 Oct 2009 4:19:19 pm Jorge Bastida wrote: > > To use ajax you need to be able to make AJAX connections through > > javascript and make your view.py code to return the right format > > depending on the request (html, xml, json). So theres nothing special > > you need to install. > > As

Re: Caching performance regression between django 1.0 and django 1.1.1

2009-10-19 Thread Russell Keith-Magee
On Mon, Oct 19, 2009 at 6:52 PM, mt wrote: > > Hi All, > I recently upgraded a high traffic site from django 1.0 to django > 1.1.1 and noticed that the load on the server went through the roof, > so I had to revert to django 1.0. > I've done some testing and noticed that the caching behaviour bet

Data Looping with a Join? Perhaps ...

2009-10-19 Thread The Danny Bos
K, I've got one for ya. I've created a new table to handle Users latest "owned" item, how would I get this joined data up in my views.py where I'm currently just looping through CollectionTypes. Tables and current Query is below: models.py class CollectionType(models.Model): title = mode

Re: using ajax with django

2009-10-19 Thread Tom Evans
On Mon, 2009-10-19 at 03:41 -0700, neetu wrote: > Thanks a lot. > > Can u tell me how can i make ajax connections. > http://lmgtfy.com/?q=make+ajax+request Cheers Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: using ajax with django

2009-10-19 Thread neetu
Thanks jorge On Oct 19, 3:49 pm, Jorge Bastida wrote: > > To use ajax you need to be able to make AJAX connections through > > javascript and make your view.py code to return the right format > > depending on the request (html, xml, json). So theres nothing special > > you need to install. > > A

Re: using ajax with django

2009-10-19 Thread neetu
Thanks a lot. Can u tell me how can i make ajax connections. On Oct 19, 3:24 pm, Antoni Aloy wrote: > 2009/10/19 neetu : > > > Hi All > > > I want to use ajax for my website.I am new to ajax.The backend code > > for my website uses django. > > I want to know the what are the things i need to in

Caching performance regression between django 1.0 and django 1.1.1

2009-10-19 Thread mt
Hi All, I recently upgraded a high traffic site from django 1.0 to django 1.1.1 and noticed that the load on the server went through the roof, so I had to revert to django 1.0. I've done some testing and noticed that the caching behaviour between 1. 0 and 1.1.1 has changed. Basically I was caching

Caching performance regression between django 1.0 and django 1.1.1

2009-10-19 Thread mt
Hi All, I recently upgraded a high traffic site from django 1.0 to django 1.1.1 and noticed that the load on the server went through the roof, so I had to revert to django 1.0. I've done some testing and noticed that the caching behaviour between 1. 0 and 1.1.1 has changed. Basically I was caching

Re: using ajax with django

2009-10-19 Thread Jorge Bastida
> > > To use ajax you need to be able to make AJAX connections through > javascript and make your view.py code to return the right format > depending on the request (html, xml, json). So theres nothing special > you need to install. > As Anton says, you didn't need any special library to use ajax

Re: Best way to generate a local file from a models + views ?

2009-10-19 Thread Михаил Лукин
For purpose of generating apache config files I would recommend to use management commands [1], so that you could generate config like this: ./manage genconf --server apache2 > /etc/apache2/vhosts.d/myapp.conf where genconf is your custom management command. [1] http://docs.djangoproject.com/en/de

Re: using ajax with django

2009-10-19 Thread Antoni Aloy
2009/10/19 neetu : > > Hi All > > I want to use ajax for my website.I am new to ajax.The backend code > for my website uses django. > I want to know the what are the things i need to install before using > ajax for my website.should i download and install ajaxcontroltoolkit. > To use ajax you need

using ajax with django

2009-10-19 Thread neetu
Hi All I want to use ajax for my website.I am new to ajax.The backend code for my website uses django. I want to know the what are the things i need to install before using ajax for my website.should i download and install ajaxcontroltoolkit. --~--~-~--~~~---~--~~

Re: django & flex

2009-10-19 Thread beOn
> I guess long story short, stick with JSON, REST, SOAP, etc... it will make > future expansion easier (if you can see it going that route). That's a little too short for me. Not everything is likely to expand beyond wildest expectations, so sometimes PyAMF will be the way to go. Unfortunately,

Re: "django-pagination" and generic.views.date_based.archive_index()

2009-10-19 Thread Михаил Лукин
Finally, I see only 3 ways: 1. copy/paste archive index code and change it's behaviour so it can eat num_latest=None 2. patch date_based.py in same way as (1) 3. use list_detail.object_list Since 1-2 are dirty, I would recommend 3rd way. I'll let you know if I could suggest something else :) 2009/

Re: "django-pagination" and generic.views.date_based.archive_index()

2009-10-19 Thread tezro
Surely I could use the list_detail.object_list, but the use of date based generics though )) On Oct 18, 11:45 pm, Михаил Лукин wrote: > Sorry, didn't look at condition well...:( > > So, you see the source and you see that there's no way to get all the > records with this view. > Why don't you u

Re: Django methodologies and best practices

2009-10-19 Thread bruno desthuilliers
On 18 oct, 23:15, Mike Ramirez wrote: > On Sunday 18 October 2009 13:57:58 Shakefu wrote: > > > > > a first working implementation of my models (remember you can test > > > > your models from the interactive shell and/or python scripts). > > > > Or write unit tests, which are more suited for te

Re: django + mod_python + apache2 config problem

2009-10-19 Thread Graham Dumpleton
On Oct 19, 6:10 pm, Lars Stavholm wrote: > Bit of an annoying problem with apache2 + mod_python configuration. > > I've got my django site setup and working. When adding a > directive in the apache config which then includes authentication, > the SetHandler None directive doesn't seem to work,

Re: About Django Notify

2009-10-19 Thread Daniel Roseman
On Oct 19, 10:17 am, aju mathew wrote: > Hi Daniel, > > I want to create a forum application using djangobb. > > For this it need django-notify, openauth etc. > > I install all these and specified in the INSTALLED_APPS in settings.py > > Inside openauth views.py It calls the methods in notify_use

Re: About Django Notify

2009-10-19 Thread James Bennett
On Mon, Oct 19, 2009 at 12:12 AM, aju wrote: > I installed django-notify. But in that django-notify folder it does > not contain the file notify_user.py. I need this file. Plese send me > the file notify_user.py It is likely that you will get a better response by contacting the author of the app

Re: About Django Notify

2009-10-19 Thread aju mathew
Hi Daniel, I want to create a forum application using djangobb. For this it need django-notify, openauth etc. I install all these and specified in the INSTALLED_APPS in settings.py Inside openauth views.py It calls the methods in notify_user.py in django-notify. So i need notify_user.py. Plea

Re: Add Request Parameters

2009-10-19 Thread Daniel Roseman
On Oct 19, 5:20 am, Keith wrote: > I'm writing some code that does something like... > > 1. check url for specific information > 2. do some logic based on named group > 3. pass results along on request > > It is easy for me to do this through urls.py for a single request. > However, i want to per

Re: Best way to generate a local file from a models + views ?

2009-10-19 Thread Daniel Roseman
On Oct 19, 9:41 am, Nicolas Steinmetz wrote: > Re, > > Anybody for helping me in my quest ? > > Nicolas > > On 16 oct, 21:58, Nicolas Steinmetz wrote: > > > > > Hello, > > > I'm building a django app to manage the reverse proxies of my firm. I'm > > at the step where I want to generate configura

Re: About Django Notify

2009-10-19 Thread Daniel Roseman
On Oct 19, 6:12 am, aju wrote: > Hi > > I installed django-notify. But in that django-notify folder it does > not contain the file notify_user.py. I need this file. Plese send me > the file notify_user.py What do you think this file is supposed to do? What makes you think you need it? -- DR. --~

Re: Best way to generate a local file from a models + views ?

2009-10-19 Thread Nicolas Steinmetz
Re, Anybody for helping me in my quest ? Nicolas On 16 oct, 21:58, Nicolas Steinmetz wrote: > Hello, > > I'm building a django app to manage the reverse proxies of my firm. I'm > at the step where I want to generate configuration files for apache and > then send it from the server that host th

Re: django + mod_python + apache2 config problem

2009-10-19 Thread Kenneth Gonsalves
On Monday 19 Oct 2009 12:40:48 pm Lars Stavholm wrote: > > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /var/trac/bfact > PythonOption TracParentEnv /var/trac > PythonOption TracUriRoot /trac > PythonOp

Re: TemplateDoesNotExist at /admin/ on Centos with Django 1.1.1

2009-10-19 Thread nausikaa
Hi Christophe Can you post some more information? What does settings.py look like? What does urls.py look like? How do you register the Models at the admin interface? On Oct 19, 2:41 am, Christophe Pettus wrote: > Greetings, > > I'm installing Django on a Centos 5.3 system, running under mod

Re: Django doesnt create sqlite database

2009-10-19 Thread nausikaa
Hi mfever How do you mean 'didn't create' ? What's the error message? What does your settings.py look like? What does the code look like that is doing something with the db? On Oct 19, 8:18 am, mfever wrote: > Hi Buddy, > > I am newbie in Django. Recently I try out the Django tutorial from web

django + mod_python + apache2 config problem

2009-10-19 Thread Lars Stavholm
Bit of an annoying problem with apache2 + mod_python configuration. I've got my django site setup and working. When adding a directive in the apache config which then includes authentication, the SetHandler None directive doesn't seem to work, i.e. I get a "Page not found" error in my django sit