Beginner desperately seeking Django experts.

2008-11-15 Thread Innergy
Thanks for reading my question. I may not be asking all the right questions. I am looking for a fast way to build a ecommerce site with many of the qualities of threadless.com. I was told Django is an excellent language and allows for rapid fast implementation. My back ground is not in

Re: Beginner desperately seeking Django experts.

2008-11-15 Thread Malcolm Tredinnick
On Fri, 2008-11-14 at 22:54 -0800, Innergy wrote: > Thanks for reading my question. I may not be asking all the right > questions. > > I am looking for a fast way to build a ecommerce site with many of the > qualities of threadless.com. I was told Django is an excellent > language and allows

Re: mod_python setup on Apache virtual host

2008-11-15 Thread Graham Dumpleton
On Nov 15, 4:14 pm, "Chris Bai" <[EMAIL PROTECTED]> wrote: > Can anyone point to me a reference to setup mod_python on Apache virtual > host for Django? Or write something about it? > > I am able to run my app in Django development server. I am also able to set > up virtual host to display

Re: Query for all objects in table1 that DO NOT have corresponding objects in table2

2008-11-15 Thread AndyH
You may want to think about the design of your models as well. Do you really need a separate model for viewed_jobs? Could it just be a boolean field on the Jobs model itself. Otherwise there's a danger of a lot of repetition between the two models. Of course, I don't know your exact use case, so

Django not detecting URL - only index.php

2008-11-15 Thread NathanY
Hi, I'm trying to deploy my django project on a production server, but Django always thinks the URL is index.php no matter what I put in. For example, when I put in the URL: http://your.flowingdata.com/some_random_string I get the following no matter what some_random_string is: Using the

Re: Django not detecting URL - only index.php

2008-11-15 Thread Daniel Roseman
On Nov 15, 9:37 am, NathanY <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to deploy my django project on a production server, but > Django always thinks the URL is index.php no matter what I put in. For > example, when I put in the URL: > > http://your.flowingdata.com/some_random_string > > I

Serialization of custom model fields

2008-11-15 Thread AndyH
Hi, I have a custom model field class that stores event recurrence information. In python this is an instance of dateutil.rrule.rule, and in the database I am storing it as an iCal recurrence string. To convert between these two formats I have to_python and get_db_prep_value methods on the

Re: Serialization of custom model fields

2008-11-15 Thread Alex Koshelev
There is ticket and patch for this issue http://code.djangoproject.com/ticket/9522 On Sat, Nov 15, 2008 at 16:38, AndyH <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a custom model field class that stores event recurrence > information. In python this is an instance of dateutil.rrule.rule, and

Re: ANN: Django 1.0.1 released

2008-11-15 Thread leonel
James Bennett wrote: > Tonight we've released Django 1.0.1, a bugfix release in the 1.0 > series containing improvements and fixes since the 1.0 release. This > is a recommended upgrade for anyone currently running Django 1.0. > > The blog entry announcing the release is here: >

checkbox and BooleanField

2008-11-15 Thread Alfredo Alessandrini
Hi, I've this template: And this View: class MoveGameForm(forms.Form): resign = forms.BooleanField(required=False) draw = forms.BooleanField(required=False) move = forms.BooleanField(required=False) I'm writing the view, with:

Re: django.pl has been officially launched

2008-11-15 Thread Marek Kubica
On Tue, 28 Oct 2008 04:15:20 -0700, Dominik Szopa wrote: > We also have there English sites, the one is curce.com, but recently > heared that they are not powered by Django any more, anybody knows if > thats true ? Considering that the Curse guys hang around in #pocoo, that's well possible.

Re: Beginner desperately seeking Django experts.

2008-11-15 Thread varikin
On Nov 15, 3:39 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-14 at 22:54 -0800, Innergy wrote: > > Thanks for reading my question.  I may not be asking all the right > > questions. > > > I am looking for a fast way to build a ecommerce site with many of the > > qualities

ManyToManyField with multiple model options

2008-11-15 Thread Luke Seelenbinder
Basically, I want to allow a ManyToManyField to use any of a Model's children, like this: class Word(models.Model): word = models.CharField(...) class Meta: abstract = True class Noun(Word): gender = models.CharField(...) class Verb(Word): irregular =

Re: Serialization of custom model fields

2008-11-15 Thread AndyH
So I'm not missing anything. It's a bug. Ouch... Thanks for the info, before I trawled my way through the serializers. May well have to apply the patch locally to move forward. There doesn't seem to be much movement on the ticket. On Nov 15, 1:40 pm, "Alex Koshelev" <[EMAIL PROTECTED]> wrote: >

Re: Serialization of custom model fields

2008-11-15 Thread Karen Tracey
On Sat, Nov 15, 2008 at 9:56 AM, AndyH <[EMAIL PROTECTED]> wrote: > > So I'm not missing anything. It's a bug. Ouch... > > Thanks for the info, before I trawled my way through the serializers. > May well have to apply the patch locally to move forward. There > doesn't seem to be much movement on

Css and Images are missing

2008-11-15 Thread Luis Goncalves
Hello guys I need your help in here. Sorry I am new in Django and I am having a problem, my css and jpgs are missing. I will write everything what i have and then maybe someone could give me a hint :) My settings.py: MEDIA_ROOT = '/home/lgoncalves/Arquivos/MyVitaminesShop/media/' MEDIA_URL =

Bug in Admin or in my model ?

2008-11-15 Thread Ivan Mincik
Hi, I have a problem when adding record by Django Admin and I am not sure where I have to look for it. Is this some problem in Django Admin or it can be solved by some configuration in model ? I use Foreign Key in table where I want to add record. Foreign Key is the field containing some non

Re: Bug in Admin or in my model ?

2008-11-15 Thread Luke Seelenbinder
You need to specify your encoding in your models file. Like: # -*- coding: iso-8859-15 -*- Look at http:// evanjones.ca/python-utf8.html The sixth section of the page explains. Regards Luke On Nov 15, 11:09 am, Ivan Mincik <[EMAIL PROTECTED]> wrote: > Hi, > I have a problem when adding record

Re: Css and Images are missing

2008-11-15 Thread Luke Seelenbinder
Django doesn't serve the media files, look at http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs Luke On Nov 15, 10:49 am, Luis Goncalves <[EMAIL PROTECTED]> wrote: > Hello guys I need your help in here. > > Sorry I am new in Django and I am having a problem, my css and jpgs

Re: Bug in Admin or in my model ?

2008-11-15 Thread Ivan Mincik
On Saturday 15 November 2008 17:34, Luke Seelenbinder wrote: > > You need to specify your encoding in your models file. > Like: # -*- coding: iso-8859-15 -*- > Look at http:// > evanjones.ca/python-utf8.html The sixth section of the page > explains. thanks for answer, but the first line in my

Re: Css and Images are missing

2008-11-15 Thread Luis Goncalves
Well i saw this: "With that said, Django does support static files during development. You can use the django.views.static.serve() view to serve media files. The big, fat disclaimer¶ Using this method is inefficient and insecure. Do not use this in a production setting. Use this only for

Re: Custom joins on multiple columns with Q objects

2008-11-15 Thread David Elias
Malcolm Tredinnick wrote: > At some point in the future, multi-valued ON constraints might make an > appearance (for example, multi-column primary key queries are possibly > easier to write), but they might not, too. The slight preference for > doing so at some point is that there are a couple of

Re: Django not detecting URL - only index.php

2008-11-15 Thread NathanY
I'll take any help I can get at this point :P. Here's the Apache config: http://dpaste.com/90963/ Thank you! On Nov 15, 7:18 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Nov 15, 9:37 am, NathanY <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I'm trying to deploy my django project on a

installing django on a shared server

2008-11-15 Thread Carl
When I run the installation script I get this error: error: could not create '/usr/lib/python2.3/site-packages/django': Permission denied How do I get around this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Bug in Admin or in my model ?

2008-11-15 Thread Karen Tracey
There's a bug both in your models and in Django, I think. Your __unicode__ method for class Metadata: def __unicode__(self): >return "%s %s" % (self.vrstva,self.nazov) > needs to be: def __unicode__(self): > return u"%s %s" %

Re: installing django on a shared server

2008-11-15 Thread Tim Chase
> When I run the installation script I get this error: > > error: could not create '/usr/lib/python2.3/site-packages/django': > Permission denied > > How do I get around this? From my understanding, "installing Django" consists purely of depositing the Django tree in the system $PYTHONPATH

Re: Css and Images are missing

2008-11-15 Thread Karen Tracey
On Sat, Nov 15, 2008 at 10:49 AM, Luis Goncalves <[EMAIL PROTECTED]>wrote: > > Hello guys I need your help in here. > > Sorry I am new in Django and I am having a problem, my css and jpgs > are missing. > > I will write everything what i have and then maybe someone could give > me a hint :) > > >

Re: installing django on a shared server

2008-11-15 Thread Karen Tracey
On Sat, Nov 15, 2008 at 12:39 PM, Carl <[EMAIL PROTECTED]> wrote: > > When I run the installation script I get this error: > > error: could not create '/usr/lib/python2.3/site-packages/django': > Permission denied > > How do I get around this? > If you're on some flavor of Unix, as you appear to

Re: ANN: Django 1.0.1 released

2008-11-15 Thread BraneSKS
I am getting the same thing for the md5 sum. Downloaded through Firefox 3.0.4 and Safari 3.1.2 on Mac OS X.5.5. On Nov 15, 2008, at 8:48 AM, leonel wrote: > > James Bennett wrote: >> Tonight we've released Django 1.0.1, a bugfix release in the 1.0 >> series containing improvements and fixes

Re: mod_python setup on Apache virtual host

2008-11-15 Thread Chuck22
Here is what I tried. DocumentRoot "C:/Apache/homedomain" ServerName domain.com ServerAlias www.domain.com SetEnv DJANGO_SETTINGS_MODULE homedomain.settings SetHandler mod_python PythonHandler django.core.handlers.modpython PythonPath "['C:/Apache'] + sys.path"

My (painful) Experience with custom filters

2008-11-15 Thread mahesh_aka_amol
My (painful) Experience with custom filters. This not a Question; but I think posting this will help community I have tried to get custom filters running and found that some of things are Un documented or not documented in *BOLDFACE* I need to do following additional steps in addition to what

Re: Bug in Admin or in my model ?

2008-11-15 Thread Ivan Mincik
On Saturday 15 November 2008 18:57, Karen Tracey wrote: > There's a bug both in your models and in Django, I think. Your __unicode__ > method for class Metadata: > >def __unicode__(self): > >return "%s %s" % (self.vrstva,self.nazov) > > > > needs to be: > >def

Re: Django not detecting URL - only index.php

2008-11-15 Thread NathanY
So it ended up being the .htaccess in the root domain - flowingdata.com, which is a wordpress domain. Here's the .htaccess: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Any ideas on how to override that

Re: Css and Images are missing

2008-11-15 Thread Luis Goncalves
Thanks so much ;) Its working :) -- Luis On Nov 15, 8:10 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Nov 15, 2008 at 10:49 AM, Luis Goncalves > <[EMAIL PROTECTED]>wrote: > > > > > > > Hello guys I need your help in here. > > > Sorry I am new in Django and I am having a problem, my

Re: Django not detecting URL - only index.php

2008-11-15 Thread NathanY
I finally got it. The VirtualHost in the httpd.conf was pointing at the root, so I changed the DocumentRoot to something else. On Nov 15, 2:59 pm, NathanY <[EMAIL PROTECTED]> wrote: > So it ended up being the .htaccess in the root domain - > flowingdata.com, which is a wordpress domain. Here's

Templates and method arguments for thumbnails

2008-11-15 Thread [EMAIL PROTECTED]
Hi, >From the django documentation, it looks like it is not possible to pass arguments to methods from the template HTML code. For example: class MyModel(Model): def foo(self): return 'This works' can be accessed by: {{ mymodel.foo }} in an HTML template. What I am trying to do,

Re: Syncing two django applications via cURL

2008-11-15 Thread Kurczak
Also, is there some way to make this action "transaction like" ? To be sure that every action was synchronised? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Forms Datefield ?

2008-11-15 Thread dboddin
hi, how do I change a datefield to d.m.Y in a form inherited from modelform ? r/Delle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: mod_python setup on Apache virtual host

2008-11-15 Thread Graham Dumpleton
Are you setting ErrorDocument directives in Apache configuration? If you are then disable them and then actual error may not be masked. Have you looked in Apache error log for more information? Graham On Nov 16, 5:53 am, Chuck22 <[EMAIL PROTECTED]> wrote: > Here is what I tried. > > >    

Re: Bug in Admin or in my model ?

2008-11-15 Thread Karen Tracey
On Sat, Nov 15, 2008 at 2:29 PM, Ivan Mincik <[EMAIL PROTECTED]> wrote: > On Saturday 15 November 2008 18:57, Karen Tracey wrote: > > > The bug in Django is that the attempt to report that your existing > > __unicode__ method generated an error generated yet another error, and I > > haven't quite

Re: php templates support

2008-11-15 Thread Jeff Anderson
DULMANDAKH Sukhbaatar wrote: >> when i use my hosting provider (mediatemple) which i believe is >> running django via a fast cgi container setup. overall, the setup >> seems to work, no errors, definately calling php.py, and detects the >> php:file.php tags, but no php is converted into the

No models show up in my admin interface

2008-11-15 Thread dash86no
Hi everyone, I'm new to django, and this I have been doing my best to follow online documentation to help me get my first site up and running. My main source has been: http://www.djangobook.com/en/1.0/ Now this has been great but i'm starting to get the sense that django is a fast moving

Re: No models show up in my admin interface

2008-11-15 Thread Karen Tracey
On Sat, Nov 15, 2008 at 7:13 PM, dash86no <[EMAIL PROTECTED]> wrote: > I'm a little confused, and would appreciate it if somebody could point > me to the current "authoritative" tutorials, so I can begin to get > back on the right path here. > Yes, the book is out of date, published several

Re: No models show up in my admin interface

2008-11-15 Thread James Purser
On Sat, 2008-11-15 at 16:13 -0800, dash86no wrote: > Hi everyone, > > I'm new to django, and this I have been doing my best to follow online > documentation to help me get my first site up and running. My main > source has been: > > http://www.djangobook.com/en/1.0/ > > Now this has been great

Query spanning two foreign keys

2008-11-15 Thread Will McCutchen
Hi all, I've got the following models (simplified for this example): from django.db import models from django.contrib.auth.models import User class Chat(models.Model): name = models.CharField(max_length=256) class Post(models.Model): user = models.ForeignKey(User,

Re: checkbox and BooleanField

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 15:28 +0100, Alfredo Alessandrini wrote: > Hi, > > I've this template: > > type="radio" checked /> > /> > type="radio" /> > > > And this View: > > class MoveGameForm(forms.Form): > resign = forms.BooleanField(required=False)

Re: ManyToManyField with multiple model options

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 06:57 -0800, Luke Seelenbinder wrote: > Basically, I want to allow a ManyToManyField to use any of a Model's > children, like this: > > class Word(models.Model): > word = models.CharField(...) > > class Meta: > abstract = True > > class Noun(Word): >

Re: ANN: Django 1.0.1 released

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 13:31 -0500, BraneSKS wrote: > I am getting the same thing for the md5 sum. Downloaded through > Firefox 3.0.4 and Safari 3.1.2 on Mac OS X.5.5. Yep, looks like something went wrong there. James is offline at the moment, but he'll fix it when he gets a chance. The

Re: Forms Datefield ?

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 22:37 +0100, [EMAIL PROTECTED] wrote: > hi, how do I change a datefield to d.m.Y in a form inherited from modelform ? You can't change that automatically. You will need to create a subclass of the model field that overrides the formfield() method to return a

Re: Templates and method arguments for thumbnails

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 12:16 -0800, [EMAIL PROTECTED] wrote: > Hi, > > From the django documentation, it looks like it is not possible to > pass arguments to methods from the template HTML code. > > For example: > > class MyModel(Model): > def foo(self): > return 'This works' > > can be

Re: ANN: Django 1.0.1 released

2008-11-15 Thread James Bennett
On Sat, Nov 15, 2008 at 7:37 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Yep, looks like something went wrong there. James is offline at the > moment, but he'll fix it when he gets a chance. The security-aware user > will avoid using the tarballs until they're fixed. I'm looking into it.

Re: Query spanning two foreign keys

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 17:09 -0800, Will McCutchen wrote: > Hi all, > > I've got the following models (simplified for this example): > > from django.db import models > from django.contrib.auth.models import User > > class Chat(models.Model): > name = models.CharField(max_length=256) > >

Re: No models show up in my admin interface

2008-11-15 Thread dash86no
Karen, Many thanks, that site was just what I was looking for. On Nov 16, 9:27 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Nov 15, 2008 at 7:13 PM, dash86no <[EMAIL PROTECTED]> wrote: > > I'm a little confused, and would appreciate it if somebody could point > > me to the current  

Re: ANN: Django 1.0.1 released

2008-11-15 Thread James Bennett
On Sat, Nov 15, 2008 at 7:48 AM, leonel <[EMAIL PROTECTED]> wrote: > Ive downloaded the tar.gz from > http://www.djangoproject.com/download/1.0.1/tarball/ > > and the md5sum does not match the md5sum from: > http://media.djangoproject.com/pgp/Django-1.0.1-final.checksum.txt OK, so here's what

Re: ManyToManyField with multiple model options

2008-11-15 Thread Luke Seelenbinder
That was a typo. The error I'm getting is "ForeignKey cannot define a relation with abstract class Word" It is a ManyToMany through table, that's the reason it is ForeignKey Luke On Nov 15, 8:29 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2008-11-15 at 06:57 -0800, Luke

Re: ManyToManyField with multiple model options

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 19:01 -0800, Luke Seelenbinder wrote: > That was a typo. The error I'm getting is > "ForeignKey cannot define a relation with abstract class Word" > It is a ManyToMany through table, that's the reason it is ForeignKey One of the many problems with top-posting is that I

Re: mod_python setup on Apache virtual host

2008-11-15 Thread Chuck22
I did not use ErrorDocument directives in my httpd.config. Here is my Apache error log: [Sun Nov 16 03:00:12 2008] [error] [client ] mod_python (pid=3296, interpreter='domain.com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error [Sun Nov 16 03:00:12 2008]

Models Not Showing In Admin

2008-11-15 Thread Chris
I'm trying to get my models to show in admin. I've followed http://www.djangobook.com/en/1.0/chapter06/ and while I'm able to login to admin and view the Auth and Sites sections, I can't see my models even though they have the Admin class and the correct middleware's enabled. Is there some other

Re: Models Not Showing In Admin

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 19:28 -0800, Chris wrote: > I'm trying to get my models to show in admin. I've followed > http://www.djangobook.com/en/1.0/chapter06/ and while I'm able to > login to admin and view the Auth and Sites sections, I can't see my > models even though they have the Admin class

Re: mod_python setup on Apache virtual host

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 19:16 -0800, Chuck22 wrote: > I did not use ErrorDocument directives in my httpd.config. > > Here is my Apache error log: > > [Sun Nov 16 03:00:12 2008] [error] [client ] mod_python (pid=3296, > interpreter='domain.com', phase='PythonHandler', >

Re: ANN: Django 1.0.1 released

2008-11-15 Thread James Bennett
On Sat, Nov 15, 2008 at 8:42 PM, James Bennett <[EMAIL PROTECTED]> wrote: > 1. When I rolled the release last night, I did 'python manage.py > sdist' to generate the package, then uploaded it to the > djangoproject.com server. (and obviously I meant 'setup.py sdist') -- "Bureaucrat Conrad,

Re: Models Not Showing In Admin

2008-11-15 Thread Chris
Heh, thanks. That answers my question exactly. Are there any plans on removing the obsolete docs, or at least forwarding users to the new docs? It seems like everything that comes up in a Google search is 5 years out of date. On Nov 15, 10:38 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: >

Re: Models Not Showing In Admin

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 21:06 -0800, Chris wrote: > Heh, thanks. That answers my question exactly. > > Are there any plans on removing the obsolete docs, or at least > forwarding users to the new docs? Django's documentation (http://docs.djangoproject.com/ -- also redirect to from

Multithreaded Dev Server

2008-11-15 Thread Chris
I'm trying to write a basic Ajax app, which submits a file in one long- running request, and periodically polls the status in another request. However, it seems like runserver is single threaded, so the second request just hangs until the file upload completes, preventing the status update. Is

Re: Multithreaded Dev Server

2008-11-15 Thread David Zhou
On Sun, Nov 16, 2008 at 12:11 AM, Chris <[EMAIL PROTECTED]> wrote: > I'm trying to write a basic Ajax app, which submits a file in one long- > running request, and periodically polls the status in another request. > However, it seems like runserver is single threaded, so the second > request

How to create a form with dynamic number of fields?

2008-11-15 Thread Low Kian Seong
Dear all, Could anyone here please let me know of the logic or example of doing a form with dynamic number of fields (ie. a field with a 'Add more field' button). I know how to do it using javascript. However it's the logic behind that gets me. Suggestions? -- Low Kian Seong blog:

Re: Multithreaded Dev Server

2008-11-15 Thread Chris
Do you mean easier in that runserver doesn't support multithreading at all? Or easier in that it supports multi-threading, but it's difficult to set up? I'd like to use the dev server, because, well, I'm developing. On Nov 16, 12:14 am, "David Zhou" <[EMAIL PROTECTED]> wrote: > On Sun, Nov 16,

Re: Multithreaded Dev Server

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 21:17 -0800, Chris wrote: > Do you mean easier in that runserver doesn't support multithreading at > all? Or easier in that it supports multi-threading, but it's difficult > to set up? The dev server is single-threaded by design. It wouldn't be impossible to make it

Re: mod_python setup on Apache virtual host

2008-11-15 Thread Chuck22
Because my application works fine with Django development server (http://locahost:8000) on the same machine, I assume the problem does not reside in my application code. Then it must be due to the configuration of Apache. Do I need to modify my code to make it work with Apache/mod_python? Here

Re: Multithreaded Dev Server

2008-11-15 Thread Chris
I understand what you're saying. It's just unfortunate we're throwing out the convenience of the dev server. What's up with http://code.djangoproject.com/ticket/3357 ? Looks like this idea isn't new. Chris On Nov 16, 12:30 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2008-11-15

Re: Multithreaded Dev Server

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 21:40 -0800, Chris wrote: [...] > What's up with http://code.djangoproject.com/ticket/3357 ? Looks like > this idea isn't new. Actually, it shows that there are people who can't read instructions. Once a ticket has been wontifxed by a developer, it shouldn't be reopened

Re: mod_python setup on Apache virtual host

2008-11-15 Thread Malcolm Tredinnick
On Sat, 2008-11-15 at 21:36 -0800, Chuck22 wrote: > Because my application works fine with Django development server > (http://locahost:8000) on the same machine, I assume the problem does > not reside in my application code. Then it must be due to the > configuration of Apache. Presumably

Re: Multithreaded Dev Server

2008-11-15 Thread David Zhou
On Sun, Nov 16, 2008 at 12:40 AM, Chris <[EMAIL PROTECTED]> wrote: > I understand what you're saying. It's just unfortunate we're throwing > out the convenience of the dev server. If you're not interested in setting up something like apache, you can also maybe use one of the pure python servers

Re: Multithreaded Dev Server

2008-11-15 Thread Graham Dumpleton
On Nov 16, 4:40 pm, Chris <[EMAIL PROTECTED]> wrote: > I understand what you're saying. It's just unfortunate we're throwing > out the convenience of the dev server. > > What's up withhttp://code.djangoproject.com/ticket/3357? Looks like > this idea isn't new. Using daemon mode of mod_wsgi can

Re: Multithreaded Dev Server

2008-11-15 Thread [EMAIL PROTECTED]
http://www.oebfare.com/blog/2008/nov/03/writing-custom-management-command/ The CherryPy WSGI server should make this really, you could probably even deploy on it if you wanted. On Nov 16, 1:15 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 16, 4:40 pm, Chris <[EMAIL PROTECTED]> wrote: