Please do not keep deleting the previous message content. It makes it
really hard having to go back and forth between messages.
On Nov 6, 10:11 am, stranger <[EMAIL PROTECTED]> wrote:
> I get this:
>
> 8 drwxr-xr-x 3 root 4096 2007-11-04 02:20 .
If you get this when running that command in your
o
> 8 drwxr-xr-x 3 priya priya 4096 2007-11-04 18:33 .vlc
> 8 -rw-r--r-- 1 priya priya 878 2007-11-05 14:22 .xsession-errors
> [EMAIL PROTECTED] ~]$
>
> On Nov 5, 3:16 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > Please do not keep deleting the pre
un the command and restarted Apache... I have found the
> cause for the problem can you advise me after looking at this
> screenshot.
>
> http://img210.imageshack.us/img210/559/screenshot1bs5.png
>
> On Nov 5, 3:24 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
Go and read the mod_python documentation again. In particular:
"""An example might make this clearer. Suppose you have some
applications under /usr/local/django-apps/ (for example, /usr/local/
django-apps/weblog/ and so forth), your settings file is at /var/www/
mysite/settings.py and you have sp
s/django/contrib/admin/
media
# Tell Apache it is allowed to serve files from where media files
are stored.
Order allow,deny
Allow form all
Check that ADMIN_MEDIA_PREFIX is set to '/media/' in settings.py file.
Restart Apache.
Graham
> On Nov 8, 12:16 am, Graham Dumpleton <
Type: ImproperlyConfigured
> Exception Value:Error while importing URLconf 'crimemap.urls': name
> 'crimemap' is not defined
> Exception Location: /usr/lib/python2.5/site-packages/django/core/
> urlresolvers.py in _get_urlconf_module, line 255
>
Check the file and directory permissions like suggested when you were
first trying to setup your site, this time looking at any new files
and directories you have added within your site area. They should have
permissions so they are readable to Apache.
Graham
On Nov 8, 6:32 pm, stranger <[EMAIL
rls': name
> > 'crimemap' is not defined
> > Exception Location: /usr/lib/python2.5/site-packages/django/core/
> > urlresolvers.py in _get_urlconf_module, line 255
> > Python Executable: /usr/bin/python
> > Python Version: 2.5.0
>
> >
otes around the second value in the tuple:
(r'^crime/([a-zA-Z]+)', 'crimemap.mapper.views.crime_by_type'),
> http://localhost:8000/crime/arson
>
> should yield me the resulting view but i am getting an error I
> mentioned above
>
> On. Nov 8, 12:08 am, G
On Nov 13, 3:34 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 11/12/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> > So, without having tested it, you might be able to access
> > request._req.subprocess_env to get the information (although read the
> >mod_pythondocs first, particularl
This was discussed a few days ago.
http://groups.google.com/group/django-users/browse_thread/thread/92c663f6fbad1003/eddf765c2ddb7499?lnk=gst&q=ssl_var_lookup#eddf765c2ddb7499
On Oct 18, 1:22 am, lmierzej <[EMAIL PROTECTED]> wrote:
> Is there a way to access apache/mod_python's SSL client cert
On Nov 15, 8:32 pm, pacman <[EMAIL PROTECTED]> wrote:
> Well, from what I can tell, there should not be any incompatibilities
> since as of right now the farthest that I have gotten was creating
> models. I didn't see anything from the wiki list that would pose a
> problem. I tested out on the dj
On Nov 16, 9:40 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I keep blowing up memory and crashing the server. Watching my memory
> usage, it doesn't act like a leak. Instead of gradually rising, every
> process will hover along at about 20 megs usage, then one will spike
> to about 150, t
On Nov 17, 6:07 am, Steve Freitas <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Yes, I realize that maybe this should go to the mod_python list instead,
> but I wanted to rule Django out first. Here's my configuration, with
> Apache2 on Linux (sorry I couldn't make this shorter):
>
> I've got four Djan
On Nov 18, 2:24 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Thanks for the help. I didn't think about checking permissions. I
> have the site working now and I think it was a combination of
> permissions and file paths. Here's the httpd.conf file that works:
>
>
> ServerName
On Nov 20, 8:09 am, bfrederi <[EMAIL PROTECTED]> wrote:
> We figured it out by looking in themod_pythonhandler and themod_pythondocs.
> What we were looking for was in request._req actually
> (through themod_pythonhandler), so thanks for that tip. It was the
> request._req.unparsed_uri attribute.
On Nov 25, 6:58 pm, David Sissitka <[EMAIL PROTECTED]> wrote:
> Hello,
>
> > then why do you recommend that apache be restarted on 17,37 and 57 minutes?
> > In fact *you* yourself install that cronjob on all django sites.?
>
> The cron job you're referring to:
>
> 1) Exists because if you've a sp
On Nov 26, 7:00 am, Jose C <[EMAIL PROTECTED]> wrote:
> > In short, if you are running Django in worker MPM for Apache, you can
> > be subject to sudden memory increases when you get concurrent requests
> > against resources which chew up a lot of transient memory. Receiving a
> > lot of concurren
FWIW, you should never call stuff that might be interpreted as a
Python module, 'test'. This is because there is a standard Python
module of that name. Thus, depending on sys.path order, it could pick
up the standard Python module instead of your site package.
Thus, for a start, trying to recreat
ponse,
>
> The 'test' is actually just a stand-in name for this posting.
>
> Thanks,
> Mike
>
> On Nov 26, 7:10 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > FWIW, you should never call stuff that might be interpreted as a
> > Python
Apache generally runs as a special user. This user must have read
access to those Django modules you have symlinked into the Python site-
packages directory. Thus if the files are not readable to others, or
any of the directories from the root right down to where the Django
software is actually in
On Dec 4, 11:22 am, Michael Newman <[EMAIL PROTECTED]> wrote:
> This isn't strictly a problem with Django, but for some reason I am
> having problems extracting my python eggs. Mod_python comes back with:
>
> ExtractionError: Can't extract file(s) to egg cache
>
> The following error occurred whil
ute paths tomorrow.
> Thanks
>
> On Dec 3, 7:55 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Dec 4, 11:22 am, Michael Newman <[EMAIL PROTECTED]> wrote:
>
> > > This isn't strictly a problem with Django, but for some reason I am
> &g
On Dec 5, 3:06 am, walterbyrd <[EMAIL PROTECTED]> wrote:
> On Dec 4, 7:12 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> > On 04-Dec-07, at 7:05 PM, walterbyrd wrote:
> > > I may also install drupal on the same site, so I'll probably go with
> > > mysql. I don't know if that matters.
>
> > y
ler and see what sys.path is
actually being set to for a request.
Graham
> On Dec 3, 9:38 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > Apache generally runs as a special user. This user must have read
> > access to those Django modules you have symlinked into th
look there.
Can you just use the OS version of Python 2.5 on MacOS X 10.5 and not
the MacPorts version. I have seen someone else having odd problems
when they tried to install MacPorts 2.5 when the OS already supplied
2.5.
Graham
On Dec 5, 11:57 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote
created using virtualenv. This way you could have
different virtual environments for different versions of Django and
how applications using the different versions in different daemon
processes using mod_wsgi daemon mode. :-)
Graham
On Dec 6, 11:14 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
On Dec 6, 12:04 pm, TP <[EMAIL PROTECTED]> wrote:
> I've been using Django for the past few months and had great results
> with Apache and mod_python. However, I'd like to try and reduce the
> amount of memory that is used by having multiple Apache's each with
> their own copy of my application. I
thon
> Python 2.5.1 (r251:54863, Oct 5 2007, 21:08:09)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import django.core.handlers.modpython
>
&g
provider. For what those sites do, having that feature is critical and
they can't move away from mod_python until mod_wsgi provides an
equivalent mechanism.
Graham
> On Dec 5, 8:26 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Dec 6, 12:04 pm, TP <[EMAIL PROTE
On Dec 12, 6:21 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> > 3. I'm using prefork MPM on apache with maxclients set to 1000.
>
> Apart from Joe's excellent profiling suggestion, I would recommend
> reducing maxclients to a much lower value (like say 100) and then
> increasing it
On Dec 12, 3:18 pm, Michael Best <[EMAIL PROTECTED]> wrote:
> yml wrote:
> > Hello Steve,
>
> > Sometimes ago when I first try to use mod_wsgi I have written a wiki
> > page there:
> >*http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi
> > It is a step by step procedure that I have
On Dec 20, 7:19 am, Nabuco <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm pretty new to Python so the answer to my problem may be obvious,
> but I can't get to this folks.
>
> After installing python2.5 from sources, I switched the symlink in /
> usr/bin/python to point to /usr/local/bin/python. Whe
Or use daemon mode of mod_wsgi 2.0 instead and enable process reload
mechanism.
This way all you need to do is touch the WSGI script file for the
Django application and the daemon process for just Django will be
restarted automatically without the need to restart the whole of
Apache.
Daemon mode
On Dec 24, 9:36 am, [EMAIL PROTECTED] wrote:
> Hi i have 2 projects which one of them uses the svn version of the django and
> another uses 0.96.1
>
> How should i handle that situation. Currently i checouted the svn version and
> created a ln -s to my site-packages version?
>
> How can i have the
On Dec 26, 6:44 pm, Dima Dogadaylo <[EMAIL PROTECTED]> wrote:
> On Dec 11, 8:37 pm, Richard Coleman <[EMAIL PROTECTED]>
> wrote:
>
> > 1. mod_python
> > 2. apache 2.2.4
> > 3. I'm using funkload and ab to measure the requests per second of one
> > of the base pages within the dynamic part of the w
On Dec 27, 9:49 am, Oliver Beattie <[EMAIL PROTECTED]> wrote:
> Did anyone ever get this working, I am tearing my hair out here trying
> to figure it out; I finally get it to build and now I'm getting:-
>
> ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Library/
> WebServer/.python-eg
> 64-bit:http://farm3.static.flickr.com/2013/2140077639_7abe03b5fb_o.gif
>
> > Yet I still get this error, am I missing something?
>
> > I would be reluctant to make force Apache into 32-bit, but if that's
> > the only option...
>
> > On Dec 27, 12:18 am, Graha
[EMAIL PROTECTED] wrote:
> I'm trying to run multiple versions of Django on OS X to support
> applications written under different code. After searching ad nauseum,
> I think I'm very close, but I can't get it working. I'd like to be able
> to choose the Django version, either through the developm
Malcolm Tredinnick wrote:
> > On a side not, why can't django detect that I have modified a file and
> > reload it, much better than running in a beta mode.
>
> Not entirely sure what you mean here. The development server can detect
> this. You can configure mod-python to do so, too, although it's
[EMAIL PROTECTED] wrote:
> Hello. I'm trying to get Apache to authenticate users using Django's
> user database but I'm getting the above error (the whole apache error
> log is at the bottom of the message).
>
> I've set up my project and created users using the Django development
> server so the
[EMAIL PROTECTED] wrote:
> Hi.. thanks for your replies guys.
>
> You're probably right... I'm running mod_python from the Ubuntu dapper
> repositories which currently has version 3.1.4. Unfortunately the Edgy
> package (which is 3.2.8) depends on a newer version of libc6 which
> means that I rea
Malcolm Tredinnick wrote:
> Then focus your attention on that one. If
> necessary, put some debugging prints into the Django source at one of
> the points in the traceback (starting from the bottom) to see what might
> be going on. Print the information to sys.stderr, which will go to your
> Apac
sandro.dentella wrote:
> Hi all,
>
> how can I test from within settings.py if I'm running via mod_python
> or in standalone way? I need to set a variable, accordingly.
You could use something like:
in_mod_python = False
try:
from mod_python import apache
in_mod_python = True
e
Adrian Holovaty wrote:
> On 11/7/06, Jakub Labath <[EMAIL PROTECTED]> wrote:
> > If you take a look at the attached log you will see the same child
> > process having the same request._req object for two different IP
> > addresses. Now this should not normally happen should it. The memory
> > add
Brian Ray wrote:
> Graham:
>
> This behavior has been seen with mod_python under certian instances.
> For example how to the settings in httpd.conf effect this? For example,
> "PythonAutoReload On" and apache's MaxRequestsPerChild 1. Maybe they
> can aggravate a problem when something else is go
marksibly wrote:
> Found it in the FAQ;
> [quote]
> If you're using mod_python but not using Django's request handler,
> you'll need to work around a mod_python bug related to the use of
> SetEnv; before you import anything from Django you'll need to do the
> following:
>
> os.environ.update(req.s
Jakub Labath wrote:
> Hi All,
>
> Sorry for being quiet for a while just got back from a vacation.
>
> >
> > Hi Jakub,
> >
> > Do you have any updates on this problem? Was it a mod_python bug?
> >
> > Adrian
> >
>
> No the problem persists and I noticed that my coworkers have not
> resolved this
kahless wrote:
> hi,
> i want to make a simple template loader which loads from directories
> depending on the sub-site the user requests a page from. (or probably
> also from the user session - which theme he has set, etc.)
>
> so i would need to get the current request object but haven't found
Adrian Holovaty wrote:
On 1/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> here what I've got from my Apache2 error log:
>
> [Thu Jan 04 16:07:57 2007] [notice] mod_python: (Re)importing module
> 'django.core.handlers.modpython'
> [Thu Jan 04 16:08:06 2007] [notice] mod_python: (Re)importi
Adrian Holovaty wrote:
On 1/4/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> FWIW, it amazes me sometimes that although Django can be made to work
> on mod_python that very few if any Django developers I have seen
> exhibit any real knowledge about how Apache/mod_pyt
On Jan 25, 11:57 pm, "Benedict Verheyen" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> when i used the builtin web server, i did my debugging via print messages.
> Now that the site has gone into production, i use Apache and so the
> print messages
> don't show up anymore.
> Is there an easy way to rerou
On Jan 30, 6:42 am, Bram - Smartelectronix <[EMAIL PROTECTED]>
wrote:
> hello everyone,
>
> Short question!
>
> If I go tohttp://my.server.com/hello/this/is/my/path/
>
> and request.META.PATH_INFO is set to "/path" not to
> "/hello/this/is/my/path/"
>
> Runningmod_python/ apache. In the dev-ser
On Feb 3, 12:12 am, "HenrikG" <[EMAIL PROTECTED]> wrote:
> My biggest problem was to get the Location directive right in the
> httpd.conf. It now looks like this:
>
>
> SetHandlermod_python
> PythonHandler django.core.handlers.modpython
> PythonPath "sys.path + ['/usr/local/apache2/django
On Feb 6, 1:38 am, "quentinsf" <[EMAIL PROTECTED]> wrote:
> I'm developing some code which I need to run undermod_python- the
> 'runserver' option won't work because it's complex stuff and I need to
> handle multiple simultaneous requests, even in the early debugging
> stages.
>
> It would be re
Kenneth Gonsalves wrote:
> On 30-Aug-06, at 3:35 PM, Frank Stüss wrote:
>
> > on a production server with mod_python, how can i force reloading
> > all .py
> > files without restarting apache?
>
> you cant
To clarify, this is only the case where the Python code file is loaded
by Django using its
Frank Stüss wrote:
> Thanks to you.
>
> So it is like it is. No short changes on a virtually hosted production server
> with mod_python :)
>
> And my second problem doesn't belong in this list. After googling again i
> found that it may be caused by a wrong compiled mod_python (two mod_python
> v
Frank Stüss wrote:
> Thanks again for anticipation.
>
> The strange thing is: Apache *has* been restarted (as of message of my
> provider). That's why i talked about a cache or something. I found others
> experiencing this problem, too. We will see.
If you are using a service provider, ask them
gabor wrote:
> Filipe wrote:
> > Hi,
> >
> > The docs say [1] that:
> > "Django requires Apache 2.x and mod_python 3.x, and you should use
> > Apache's prefork MPM, as opposed to the worker MPM."
> >
> > I want to test a Django site on a server (I plan to deploy there some
> > other sites in the f
On 13 February 2012 08:30, Phyllipe Medeiros wrote:
> I have made this class:
> "class Teste(Thread):
> def __init__(self):
> Thread.__init__(self)
> def run(self):
> try:
> print "Begin"
> from httplib2 import Http
> import time
>
On Feb 14, 1:31 am, sbrandt wrote:
> mod_wsgi doesn't support print, does it? Its usage should raise an
> exception.
Yes it does support 'print'. Read:
http://blog.dscpl.com.au/2009/04/wsgi-and-printing-to-standard-output.html
Graham
--
You received this message because you are subscribed t
On Jan 4, 10:40 pm, prabesh shrestha wrote:
> I am trying to get started too with new relic.
> I did all the configurations and it looks like everything is properly
> set up. I am using gunicorn for my loca development. SO acc to the
> tutorial I can start the app with
> NEW_RELIC_CONFIG_FILE=ne
On Jan 15, 9:40 am, Stuart Laughlin wrote:
> Graham turned up on a thread in another forum where I was asking about how
> to fix a strange error I had been seeing intermittently for months. He
> instructed me on how to put mod-wsgi into daemon mode, among other things,
> and finally solved my pr
On Thursday, 23 May 2013 07:57:02 UTC+10, ke1g wrote:
>
> Since my Apache virtualhost file contains
>>
>> WSGIDaemonProcess mysite.local
>> python-path=/my/python/path:/path/to/my/project/venv/lib/python2.7/site-packages
>>
>
> If memory serves, this does not cause the .pth files in site-packages
On Wednesday, December 15, 2010 11:10:06 PM UTC+11, Craig Trader wrote:
>
> Here's how I solved this problem for my own applications. Note that I use
> VirtualEnv to ensure that each application gets exactly the Python
> environment I want it to have. If you don't use VirtualEnv, it will make
g -
>
> On Wed, Dec 15, 2010 at 17:11, Graham Dumpleton wrote:
>
>>
>>
>> On Wednesday, December 15, 2010 11:10:06 PM UTC+11, Craig Trader wrote:
>>
>>> Here's how I solved this problem for my own applications. Note that I
>>> use VirtualEn
On Friday, December 17, 2010 1:21:26 AM UTC+11, Craig Trader wrote:
>
> Alex ...
>
> This is the point where my experience ends -- I'm not operating in a
> hosting environment. I can tell you that mod_python has to be compiled for
> a specific version of Apache AND Python (one of the reasons t
On Friday, December 17, 2010 10:00:55 AM UTC+11, dmitry b wrote:
>
> Hi, What is the best place to register a signal handler so that the
> registration happens when the app is first initialized into django? I have
> an app that needs to listen to signals generated by another app and fire off
>
m
On Wednesday, December 22, 2010 12:54:47 AM UTC+11, xota wrote:
>
> A related question... why my apache forks (to server to the clients) don't
> update the code at same time? Can I force django to compile and load the .py
> files at time of server? (Only for debug)
>
> On Thu, D
Are you having this problem with Django development server, or with a
production type hosting setup such as mod_wsgi?
Need to know which.
Graham
On Friday, December 31, 2010 1:34:22 AM UTC+11, yelbuke wrote:
>
> Hi,
>
> I'm on centos and have two pythons 2.5 and 2.6.
>
> I tried in models.py:
>
On Tuesday, January 4, 2011 2:54:25 PM UTC+11, Chris Seberino wrote:
>
> How configure Django to handle /books URL and yet allow access to PDFs
> and images in subdirs of /books?
>
> Specifically, I want /books to be a dynamic page with lots of links to
> PDFs and images of book covers contain
Which generally indicates that the HTTP client closed the connection before
all of the response could be written back.
There is no traceback because it is occurring after Django has returned the
response and mod_wsgi is trying to write/flush it back to HTTP client.
By rights the 'Exception occu
On Wednesday, January 19, 2011 12:52:14 AM UTC+11, tonton wrote:
>
> now it is seems to be mod_wsgi
>
> in apache/conf.d/ yoursite.conf
>
> WSGIScriptAlias / /path/to/your/djangoproject/wsgi_handler.py
>
>WSGIDaemonProcess djangoproject user=CCC group=CCC processes=5
> threads=1
>
Technically it should be able to made to work. I would recommend though you
use mod_wsgi daemon mode and delegate each Django site instance to its own
process, rather than each sharing the same process but in different sub
interpreters. See:
http://code.google.com/p/modwsgi/wiki/QuickConfigu
For each category, is there a list to choose from or up to people to enter
in right name? Is odd that uWSGI doesn't even get a mention for serving
method.
Either way, very interesting and will be more interesting to see over time
what take up of Tornado and gunicorn is, especially with the majo
Rather than have us guess what is in your settings file, post that whole
section. For example:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2',
'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': os.path.join(ENVIRON_ROOT, 'db'
t; localhost. Not used with sqlite3.
> 'PORT': '', # Set to empty string for default.
> Not used with sqlite3.
> }
> }
>
> Inside the settings.py file, in the template_dirs section, there's a line
> says os.path.join(os.
Still doesn't work. But thank you for trying to help me. It keep giving me
> the same ENGINE configuration that it is not set.
>
> On Sun, Jan 23, 2011 at 8:05 PM, Graham Dumpleton
> wrote:
>
>>
>>
>> On Monday, January 24, 2011 12:42:57 PM UTC+11, Kimberly wrote
the browser. Not everything, just the exception message and traceback
will do.
In other words, we need to see the actual context in which the real error
message is displayed and the exact wording of the error message and the
location.
Graham
> On Sun, Jan 23, 2011 at 8:19 PM, Graham Dumplet
On Monday, January 24, 2011 2:19:09 PM UTC+11, Steven Elliott Jr wrote:
>
> Copy and Paste the following to replace your entire DATABASES tuple:
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.sqlite3',
> 'NAME': 'database.db',
>
se even if you think it isn't.
Graham
On Monday, January 24, 2011 2:35:06 PM UTC+11, Kimberly wrote:
>
> it says that the _file_ is not defined.
>
> On Sun, Jan 23, 2011 at 9:28 PM, Graham Dumpleton
> wrote:
>
>>
>>
>> On Monday, January 24, 2011 2:19:09 P
g the print __file__ and 'DATABASES', DATABASES) as
> I'm encountering the same after I've copied and paste the print inside the
> settings.py file at the end)
>
> On Sun, Jan 23, 2011 at 9:40 PM, Graham Dumpleton
> wrote:
>
>> That is two underscores, f
On Monday, January 24, 2011 2:55:16 PM UTC+11, Graham Dumpleton wrote:
>
> Are you saying that those two print statements you were told to add are not
> causing anything additional to be displayed on the screen when you run both
> runserver and syncdb?
>
> This is why I as
INE': 'django.db.backends.sqlite3', 'NAME':
> 'wiki.db', 'HOST': '', 'USER': '', 'PASSWORD':'', 'PORT':''}}
> validating models...
> 0 errors found
>
> Django version
y
> file somewhere which is being found instead of that in same directory as
> manage.py.
>
> Finally, if you have modified manage.py, tell is what you have changed it
> to.
>
>
>
> On Sun, Jan 23, 2011 at 10:27 PM, Graham Dumpleton
> wrote:
>
>>
>&
or either echo $PYTHONPATH
>> and echo $DJANGO_SETTINGS_MODULE
>>
>> I am currently reading your messages.
>>
>>
>> On Sun, Jan 23, 2011 at 10:55 PM, Graham Dumpleton > > wrote:
>>
>>>
>>>
>>> On Monday, January 24, 2011 3:44:59 PM UTC+11,
n manage.py syncdb to see
> if it works?
>
YES. YES. YES.
:-)
Graham
>
> On Sun, Jan 23, 2011 at 11:17 PM, Graham Dumpleton
> wrote:
>
>>
>>
>> On Monday, January 24, 2011 4:10:15 PM UTC+11, Kimberly wrote:
>>>
>>>
>>> /home
at backup copy to get imported
wrongly meaning wrong settings used. So, don't question it, just be happy it
is working. :-)
Graham
> On Sun, Jan 23, 2011 at 11:32 PM, Graham Dumpleton
> wrote:
>
>>
>>
>> On Monday, January 24, 2011 4:25:52 PM UTC+11, Kimberly wr
t; question it, lol.
>
> On Sun, Jan 23, 2011 at 11:50 PM, Graham Dumpleton
> wrote:
>
>>
>>
>> On Monday, January 24, 2011 4:39:47 PM UTC+11, Kimberly wrote:
>>>
>>> Screen:
>>>
>>> You just installed Django's auth system, which me
ates to existing listings :)
>
> On Jan 23, 5:27 pm, Graham Dumpleton
> wrote:
> > For each category, is there a list to choose from or up to people to
> enter
> > in right name? Is odd that uWSGI doesn't even get a mention for serving
> > method.
>
> Y
On Thursday, January 27, 2011 9:15:52 AM UTC+11, 3lancer.eu wrote:
>
> Hi,
>
> More a Python thing, than Django.
>
> You should never put custom code in the django package.
>
> Generally you can put SWFUploadMiddleware inside, say, middleware.py in the
> same directory as your settings.py.
>
>
On Friday, February 11, 2011 12:08:25 AM UTC+11, Torsten Bronger wrote:
>
> Hall�chen!
>
> Torsten Bronger writes:
>
> > [...]
> >
> > Currently, a URL like "http://www.example.com/super%2F/edit/"; is
> > normalised to "http://www.example.com/super/edit/";. This is bad
> > because the entity t
Add the 500.html template like it tells you to, then you can see what the
real error is. Otherwise enable DEBUG, as is also suggests.
http://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view
On Thursday, February 17, 2011 7:31:04 AM UTC+8, mickarea wrote:
>
> Hi,
>
>
>
On Monday, February 28, 2011 11:23:14 PM UTC+11, atm wrote:
>
> Try adding,
>
>
> *import os*
>
> *import sys*
>
> * *
>
> *path = 'C:\\Programme\\Apache Software Foundation\\Time2\\Time2\\'*
>
> *path1 = 'C:\\Programme\\Apache Software Foundation\\Time2\\'*
>
> *
> *
>
> *if path not in sys.pa
Go watch:
http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations
That presentation explains a lot about permissions and other errors you can.
Recommend that before you even try and get Django running that you get a
WSGI hello world script running. Use what is shown i
One can if you want to get a development system closer to production use
Apache/mod_wsgi in such a way that automatic code reloading on any change
works, just like Django development server. See:
http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html
http://blog.dscpl.com
On Monday, March 14, 2011 4:27:19 PM UTC-4, garagefan wrote:
>
> I've got a server hosting multiple websites. Currently its not a big
> deal to add another virtual host entry to apache2. Now, i'm using a
> bad habit and using an http.conf instead of learning about, and
> setting up "available
Set LogLevel directive in Apache configuration to 'info' so that mod_wsgi
logs more about what it is doing and whether a request even hits mod_wsgi.
I would suggest you request is not even finding the server. Do you see
anything for your requests in the Apache access log?
Graham
On Tuesday, Ma
Impossible to know because you haven't supplied the Apache configuration for
VirtualHosts to verify you have done it correctly. Also need to know if you
have set NameVirtualHosts directive properly.
Graham
On Saturday, March 26, 2011 5:54:48 AM UTC+11, CrabbyPete wrote:
>
> I am trying to run t
On Saturday, March 26, 2011 8:56:53 AM UTC+11, tim042849 wrote:
>
> I've set up python 2.7 on slax.
> I've also set up django 1.1 on slax. Slax does things a little
> differently, so it appears. django is installed at
> /usr/lib/python2.5/site-packages/django
>
> python 2.7 does not know where to
901 - 1000 of 1006 matches
Mail list logo