Le 11 mars 2011 à 13:25, Kenneth Gonsalves a écrit :
> On Fri, 2011-03-11 at 04:17 -0800, balu wrote:
>> I tried to deploy django with the following. But I couldn't able
>> succeed. Please let me know the exact steps in configuring apache
>> server, configuring mod_wsgi.
>>
>> I had gone through
On Fri, 2011-03-11 at 04:17 -0800, balu wrote:
> I tried to deploy django with the following. But I couldn't able
> succeed. Please let me know the exact steps in configuring apache
> server, configuring mod_wsgi.
>
> I had gone through the official site. But couldn't understand it
> completely th
Hi all :)
I tried to deploy django with the following. But I couldn't able
succeed. Please let me know the exact steps in configuring apache
server, configuring mod_wsgi.
I had gone through the official site. But couldn't understand it
completely the configuration process.
apache, mod_wsgi, ngin
is there any reason you are using mod_python instead of, say, wsgi?
modpython is deprecated and there are "better" alternatives.
id start with that. looking in apache logs to find out why you have
the 500 error might help.
(a hunch tells me it might be a python path error)
ash
On 28 Jan., 07:45,
Hi,
I'm trying to get my first Django app up and running on amazon ec2
fedora 8 instance on apache with mod_python. I've got mod_python MySQL-
python python-devel Django mysql-server installed.
I've got the homepage to show up, but its a very simple view that just
returns text. Anything more comp
On Jun 25, 6:00 am, commonzenpython wrote:
> it would give me the same error, but with a different directory,
Which as I already mentioned on mod_wsgi list, and referred you to the
documentation about, this is because Apache runs as special user and
needs to be able to write to the parent direc
it would give me the same error, but with a different directory,
thanks a lot guys, i have solved this by putting SetEnv
PYTHON_EGG_CACHE /tmp as follows
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE ash.settings
SetEnv PYTHON_
On Thu, Jun 24, 2010 at 9:15 AM, commonzenpython
wrote:
> i have ran into the same error i get using mod_wsgi, which is :
>
> ExtractionError at /
> Can't extract file(s) to egg cache
>
> The following error occurred while trying to extract file(s) to the
> Python egg
> cache:
>
> [Errno 13] Perm
On Thursday 24 June 2010 13:45:51 commonzenpython wrote:
> change the cache directory by setting the PYTHON_EGG_CACHE environment
> variable to point to an accessible directory.
>
set the PYTHON_EGG_CACHE environment variable in your django.wsgi script to
some directory that is writeable by apa
i have ran into the same error i get using mod_wsgi, which is :
ExtractionError at /
Can't extract file(s) to egg cache
The following error occurred while trying to extract file(s) to the
Python egg
cache:
[Errno 13] Permission denied: '/.python-eggs'
The Python egg cache directory is current
On Jun 23, 2:35 am, commonzenpython wrote:
> it turns out i have the __init__.py , so i changed the path as you
> suggested but now i get this error :
>
> MOD_PYTHON ERROR
>
> ProcessId: 12182
> Interpreter: 'ashtangayogavideo.com'
>
> ServerName: 'ashtangayogavideo.com'
> DocumentRo
it turns out i have the __init__.py , so i changed the path as you
suggested but now i get this error :
MOD_PYTHON ERROR
ProcessId: 12182
Interpreter:'ashtangayogavideo.com'
ServerName: 'ashtangayogavideo.com'
DocumentRoot: '/home/ashtanga/public_html'
URI:'/ash/'
Loc
nothing. it's empty
On Tue, Jun 22, 2010 at 8:41 AM, commonzenpython
wrote:
> thanks, but what should be inside the __init__.py file ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@go
thanks, but what should be inside the __init__.py file ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@
On Tuesday 22 June 2010 11:08:00 commonzenpython wrote:
> PythonPath "['/home/ashtanga/public_html/ash'] + sys.path"
>
PythonPath "['/home/ashtanga/public_html/'] + sys.path"
and make sure you have an __init__.py file in your 'ash' directory
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOS
thanks, i have read your post and i am beginning to understand this
better, i am also trying mod_python as an alternative my project path
is the same /home/ashtanga/public_html/ash
insdie the ash is my Django project and iside it i have my settings.py
and urls.py, i have added the following script
On Jun 21, 10:51 am, commonzenpython
wrote:
> Graham thanks for all your help, and patience, i will read the the
> information in the link you provided, this is the exact configuration
> i added to the httpd.conf file :
>
> LoadModule wsgi_module modules/mod_wsgi.so
> WSGIScriptAlias / /home/as
Graham thanks for all your help, and patience, i will read the the
information in the link you provided, this is the exact configuration
i added to the httpd.conf file :
LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias / /home/ashtanga/public_html/ash/apache/django.wsgi
the path to my
On Jun 20, 1:42 pm, lzantal wrote:
> Hi
>
> On Jun 19, 2010, at 20:20, Graham Dumpleton
>
> wrote:
>
> > On Jun 20, 1:08 pm, lzantal wrote:
> >> Hi,
>
> >> If you add your project due to the sys.path then don't add the
> >> project
> >> name to os.environ['DJANGO_SETTINGS_MODULE'] = 'ash.
Hi
On Jun 19, 2010, at 20:20, Graham Dumpleton
wrote:
On Jun 20, 1:08 pm, lzantal wrote:
Hi,
If you add your project due to the sys.path then don't add the
project
name to os.environ['DJANGO_SETTINGS_MODULE'] = 'ash.settings'
just add settings.
Which can cause other problems if y
On Jun 20, 1:08 pm, lzantal wrote:
> Hi,
>
> If you add your project due to the sys.path then don't add the project
> name to os.environ['DJANGO_SETTINGS_MODULE'] = 'ash.settings'
> just add settings.
Which can cause other problems if you have used site name as package
prefix in module impor
Hi,
If you add your project due to the sys.path then don't add the project
name to os.environ['DJANGO_SETTINGS_MODULE'] = 'ash.settings'
just add settings.
hope it helps
lzantal
On Jun 19, 2010, at 19:48, commonzenpython
wrote:
thanks, i have seen the error logs and it says "could no
On Jun 20, 12:48 pm, commonzenpython
wrote:
> thanks, i have seen the error logs and it says "could not import
> settings "ash.settings" ( is it on sys path ?)" ash is the name of my
> project, also i didnt get a 500 error this time, my website just didnt
> load, i added the following configura
thanks, i have seen the error logs and it says "could not import
settings "ash.settings" ( is it on sys path ?)" ash is the name of my
project, also i didnt get a 500 error this time, my website just didnt
load, i added the following configuration to the httpd.conf :
LoadModule wsgi_module modules
BTW, I really hope you literally have not said:
WSGIScriptAlias / "/apache/
dj_survey.wsgi"
When you do post the Apache configuration snippet, make sure you don't
go editing it to change details. The exact information is needed else
it makes it harder to debug what you have done wrong as have t
On Jun 20, 11:19 am, commonzenpython
wrote:
> im sorry, its causing an error 500, but i know its because of an error
> in the httpd.conf file, but i dont know what, i have written the sript
> WSGIScriptAlias / "/apache/
> dj_survey.wsgi" exactly how its supposed to be written but its still
> cau
im sorry, its causing an error 500, but i know its because of an error
in the httpd.conf file, but i dont know what, i have written the sript
WSGIScriptAlias / "/apache/
dj_survey.wsgi" exactly how its supposed to be written but its still
causing the crash, is there anything besides that script tha
On Sat, Jun 19, 2010 at 6:15 PM, commonzenpython
wrote:
> Hey guys, im trying to deploy django using MySQl, Apache 2, and
> mod_wsgi, but i am having lots of difficulties which are causing my
> sites to go down, i have loaded the mod_wsgi module in the Apache
> httpd.conf file successfully, but e
Hey guys, im trying to deploy django using MySQl, Apache 2, and
mod_wsgi, but i am having lots of difficulties which are causing my
sites to go down, i have loaded the mod_wsgi module in the Apache
httpd.conf file successfully, but every time i try to put this line f
WSGIScriptAlias / "/apache/
dj
On Jun 14, 10:50 am, Benjamin Webber
wrote:
> Hi Graham, sorry for replying to you so incredibly late, I haven't had
> much time to work on my project.
>
> So the syntax of the WSGIDaemonProcess directive should be,
>
> WSGIDaemonProcess user=username group=groupname threads=15 maximum-
> reques
Hi Graham, sorry for replying to you so incredibly late, I haven't had
much time to work on my project.
So the syntax of the WSGIDaemonProcess directive should be,
WSGIDaemonProcess user=username group=groupname threads=15 maximum-
requests=1
For each individual Django user. But you state in
On May 22, 2:37 pm, Benjamin Webber wrote:
> It appears that Apache was not given permission to access the /home/
> username/django directory and write to the database. Fixing the
> permissions fixed everything.
BTW, strongly recommend you use mod_wsgi daemon mode, configuring a
separate mod_ws
It appears that Apache was not given permission to access the /home/
username/django directory and write to the database. Fixing the
permissions fixed everything.
On May 21, 6:18 pm, Ben wrote:
> Hi everyone, I'm just starting out with Django and really enjoying it.
> For a project I am trying to
Hi everyone, I'm just starting out with Django and really enjoying it.
For a project I am trying to install it on an Apache server at school
with multiple users. The userdir module is enabled such that users can
create their own websites. I'd like to allow some of these users to
tinker with Django.
To some extent it doesn't matter. Just make sure your code is as secure as any
private information you wouldn't want others to have access to.
When Django is running in a production environment, there is a Python instance
listening on a port on your system. Your Web server (Apache, nginx, whatev
Hello,
I know that Django code and templates are should not sit in the root
and the same path with Apache. Is there a recommendated location for
deploying the Django app? Also, what is the best practice in terms of
the user account and group the Django folder should use?
Let's say on the virtual
On Nov 3, 2009, at 11:19 PM, JohnL wrote:
> Hi All,
>
> I just joined linode and followed there instructions in setting up
> Django at http://library.linode.com/lamp-guides/ubuntu-9.10-karmic/.
>
>
>
> ServerAdmin squ...@bucknell.net
> ServerName bucknell.net
> ServerAlias www.bucknel
On Nov 4, 4:19 am, JohnL wrote:
> Hi All,
>
> I just joined linode and followed there instructions in setting up
> Django athttp://library.linode.com/lamp-guides/ubuntu-9.10-karmic/.
>
>
> ServerAdmin squ...@bucknell.net
> ServerName bucknell.net
> ServerAliaswww.bucknell.net
>
Hi John,
It doesn't really matter where you place your application code- just
don't put it in a place accessible by your web server, so nobody can
access your source code.
I have apache configured to serve php websites from /var/sharedwww/
site1/www, but my django site resides in /var/sharedwww/si
Hi All,
I just joined linode and followed there instructions in setting up
Django at http://library.linode.com/lamp-guides/ubuntu-9.10-karmic/.
ServerAdmin squ...@bucknell.net
ServerName bucknell.net
ServerAlias www.bucknell.net
DocumentRoot /srv/www/bucknell.net/public_htm
Yes, changing directory permissions helped. Thanks.
2009/10/29 Graham Dumpleton
>
>
>
> On Oct 29, 10:21 am, Christophe Pettus wrote:
> > On Oct 28, 2009, at 4:01 PM, Piotr Górski wrote:
> >
> > > [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] File "/
> > > usr/lib/python2.6/site-p
Yes, I must have overlooked that. Changing permissions helped.
I really appreciate your help. Thanks.
2009/10/29 Christophe Pettus
>
>
> On Oct 28, 2009, at 4:01 PM, Piotr Górski wrote:
> > [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] File "/
> > usr/lib/python2.6/site-packages/dj
On Oct 29, 10:21 am, Christophe Pettus wrote:
> On Oct 28, 2009, at 4:01 PM, Piotr Górski wrote:
>
> > [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] File "/
> > usr/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py",
> > line 193, in execute
> > [Wed Oct 28 23:58:42
On Oct 28, 2009, at 4:01 PM, Piotr Górski wrote:
> [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] File "/
> usr/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py",
> line 193, in execute
> [Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] return
> Databa
On attempt to visit http://localhost/meth/admin/ I get the following in the
Apache error log:
[Wed Oct 28 23:58:42 2009] [error] [client 85.222.111.32] mod_wsgi
(pid=2655): Exception occurred processing WSGI script
'/var/www/meth/apache/django.wsgi'.
[Wed Oct 28 23:58:42 2009] [error] [client 85.2
On Oct 28, 2009, at 3:44 PM, Piotr Górski wrote:
> When I try to go to admin site, I get 500 internal
> server error (admin site works perfectly well on development server).
Is there anything interesting in the Apache error log?
--
-- Christophe Pettus
x...@thebuild.com
--~--~-~--~
I have a small Django website which I am trying to run on an Apache
2.2 HTTP-Server. The application is running fine using "python
manage.py runserver". It is also running fine on Apache, except for
the admin site. When I try to go to admin site, I get 500 internal
server error (admin site works p
andreas schmid wrote:
> then i wanted to try my apps which i have on my subversion repository
> and i added a [site-packages] section to the buildout.cfg using
Why not turn your apps into python packages and serve them from a
private egg server?
> to the [django] section. now i have my project
missing?
thank you in advance
p.s. if you need more details let me know. basically i followed this
tutorial
http://www.justanothercodemonkey.com/2009/08/deploying-django-with-buildout.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed
On Aug 26, 8:38 pm, Hussein B wrote:
> I changed it to the following:
>
>
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE SshConnector.settings
> PythonPath "['/home/me/', '/home/me/SshConnector/'] +
> s
I changed it to the following:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE SshConnector.settings
PythonPath "['/home/me/', '/home/me/SshConnector/'] +
sys.path"
PythonDebug On
I tried this URL
http
On Aug 26, 7:51 pm, Kenneth Gonsalves wrote:
> On Wednesday 26 Aug 2009 2:42:47 pm HB wrote:
>
> > Hey,
> > I'm trying to deploy my first Django application to Apache.
> > The project is located under: /home/me/SshConnector/
> > Here is my configuration:
>
> >
> > Options Indexes Foll
On Wednesday 26 Aug 2009 2:42:47 pm HB wrote:
> Hey,
> I'm trying to deploy my first Django application to Apache.
> The project is located under: /home/me/SshConnector/
> Here is my configuration:
>
>
> Options Indexes FollowSymLinks MultiViews
> AllowOverride None
> Ord
The previous conf is python.conf under /etc/httpd/conf.d
On Aug 26, 12:12 pm, HB wrote:
> Hey,
> I'm trying to deploy my first Django application to Apache.
> The project is located under: /home/me/SshConnector/
> Here is my configuration:
>
>
> Options Indexes FollowSymLinks MultiView
Hey,
I'm trying to deploy my first Django application to Apache.
The project is located under: /home/me/SshConnector/
Here is my configuration:
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddHandler mod_pyt
Graham,
I'll take a look at mod_wsgi.
But first i have to figure out proper urls and settings for css and
javascript.
Once again thanks a lot.
Thomas
On 12 Aug, 11:09, Graham Dumpleton wrote:
> On Aug 12, 3:43 pm, consiglieri wrote:
>
>
>
>
>
> > Thanks Graham!
>
> > The absolute path was
On Aug 12, 3:43 pm, consiglieri wrote:
> Thanks Graham!
>
> The absolute path was the issue. Can't believe I couldnt find that
> anywhere.
>
> As for the Alias, well i was just testing to make sure that wasnt an
> issue.And its in the httpd.conf , for perl-cgi you need that so since
> i was hav
Thanks Graham!
The absolute path was the issue. Can't believe I couldnt find that
anywhere.
As for the Alias, well i was just testing to make sure that wasnt an
issue.And its in the httpd.conf , for perl-cgi you need that so since
i was having issues i decided to try and see if it was causing my
For SQLite database, the directory the database is in must also be
writable to user that Apache runs as. The location of the database in
settings file must also be an absolute path, can't use a relative
path.
BTW, what is:
Alias test.django.com "/Users/someone/djangoproject/appname"
for in co
Thanks for the tip, however it does not make a difference. I moved the
app to another catalogue and made sure that the database file was
chmod to 755 and also that all directories have the same permissions.
The error remains.
There is something happening that i dont understand. I'm beginning to
t
On Tuesday 11 August 2009 09:43:38 am consiglieri wrote:
> Hi
>
> I'm new with django and have made a small test app which works as it
> should with the development server.
>
> However when i try and deploy it with apache and mod_python I cant get
> it to work. I have tested that mod_python works.
Hi
I'm new with django and have made a small test app which works as it
should with the development server.
However when i try and deploy it with apache and mod_python I cant get
it to work. I have tested that mod_python works. I can do the
recommended mod_python test. When i try to run the djan
There are few thing here:
1. I am root on that box. So can change apache conf. But have a little
knowledge how to do it. So decided to use that way, as thought it's
easier for hosting many django apps. So please tell me what to check.
2. I believe that htaccess is working as web server redirected
On Apr 5, 10:04 pm, Oleg Oltar wrote:
> Hi!
>
> I am trying to serve my project using server-spawned processes
>
> I created file .htaccess in my web_root directory which contains:
> AddHandler fastcgi-script .fcgi
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ mysi
Hi!
I am trying to serve my project using server-spawned processes
I created file .htaccess in my web_root directory which contains:
AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ mysite.fcgi/$1 [QSA,L]
And also added file mysite.fcgi to
On Feb 10, 5:27 am, "a...@amos-site.org.uk"
wrote:
> Where exactly do you put this I'm guessing in the file, but a bit of
> context would be appreciated.
#django.views.generic.list_detail.py
...
...
def object_detail(request, ... ...
...
...
c = RequestContext(request, {
temp
> "Jacob" == Jacob Kaplan-Moss writes:
Hi Jacob,
let me express my gratitude for providing Django 1st!
Jacob> The best thing you can do is try both and pick the one that works
Jacob> better for you. Me, I generally try to pick the software that's
Jacob> got better documentation so that I sp
On Thu, Feb 26, 2009 at 2:46 AM, Gour wrote:
> Although I'm still fiddling on my 'localhost', I'd like to know which
> web server you recommend to settle on between lighty and nginx (Apache
> excluded) so I can be clear in the future when choosing hosting/VPS for
> Django sites and can learn abou
Hi!
I'm working through 'withdjango' book and ch.7. deploys Gallery app with
the need to serve static files.
Although I'm still fiddling on my 'localhost', I'd like to know which
web server you recommend to settle on between lighty and nginx (Apache
excluded) so I can be clear in the future when
Shouldn't it be pointed out in the tutorial that if you use a non-root
path for your django-installation, the hard-coded form-action won't
work?
On Feb 10, 2:27 pm, "a...@amos-site.org.uk"
wrote:
> Where exactly do you put this I'm guessing in the file, but a bit of
> context would be appreciate
Where exactly do you put this I'm guessing in the file, but a bit of
context would be appreciated.
On Jan 19, 7:17 am, Adam Yee wrote:
> Success. I added
>
> 'script_name': request.META['SCRIPT_NAME']
>
> into the context of object_detail() in django's generic views
> list_detail.py. Here's th
Success. I added
'script_name': request.META['SCRIPT_NAME']
into the context of object_detail() in django's generic views
list_detail.py. Here's the modified form tag to the polls_detail.html
template:
Note removing the / before {{ script_name }}
Just to reiterate what Preston said, please
On Jan 18, 7:39 am, ptone wrote:
> In the tutorial, the form action in the poll_detail template is
> hardcoded to "/polls/..."
>
> So the browser is doing what's been explicitly asked of it, despite
> Django doing its best to deal gracefully with your mounting the app
> at /mysite.
>
> In my own
On Jan 18, 3:44 am, Graham Dumpleton
wrote:
> On Jan 18, 8:46 pm, Adam Yee wrote:
>
>
>
>
>
> > On Jan 17, 8:36 pm, Malcolm Tredinnick
> > wrote:
>
> > > On Jan 18, 2:53 pm, Adam Yee wrote:
>
> > > > It was a slam dunk for completing the tutorial in the development
> > > > server, but I can't
On Jan 19, 3:02 am, JCorey wrote:
> On Jan 18, 9:39 am, ptone wrote:
>
> > In the tutorial, the form action in the poll_detail template is
> > hardcoded to "/polls/..."
>
> > So the browser is doing what's been explicitly asked of it, despite
> > Django doing its best to deal gracefully with y
On Jan 18, 9:39 am, ptone wrote:
> In the tutorial, the form action in the poll_detail template is
> hardcoded to "/polls/..."
>
> So the browser is doing what's been explicitly asked of it, despite
> Django doing its best to deal gracefully with your mounting the app
> at /mysite.
The same thin
In the tutorial, the form action in the poll_detail template is
hardcoded to "/polls/..."
So the browser is doing what's been explicitly asked of it, despite
Django doing its best to deal gracefully with your mounting the app
at /mysite.
In my own newcomer approach, the way I found to work aroun
On Jan 18, 8:46 pm, Adam Yee wrote:
> On Jan 17, 8:36 pm, Malcolm Tredinnick
> wrote:
>
>
>
> > On Jan 18, 2:53 pm, Adam Yee wrote:
>
> > > It was a slam dunk for completing the tutorial in the development
> > > server, but I can't figure out this issue I'm having with the generic
> > > views
On Jan 18, 3:36 pm, Malcolm Tredinnick
wrote:
> On Jan 18, 2:53 pm, Adam Yee wrote:
>
> > It was a slam dunk for completing the tutorial in the development
> > server, but I can't figure out this issue I'm having with the generic
> > views while using my apache server. I'm unable to get the v
On Sun, 2009-01-18 at 01:46 -0800, Adam Yee wrote:
[...]
> I'm still very puzzled by not being able to use '/mysite'. I agree
> with you that somewhere '/mysite' is being stripped or just not being
> accessed at all. My guess is somewhere in the generic views and/or
> how they are set up in the
On Jan 17, 8:36 pm, Malcolm Tredinnick
wrote:
> On Jan 18, 2:53 pm, Adam Yee wrote:
>
> > It was a slam dunk for completing the tutorial in the development
> > server, but I can't figure out this issue I'm having with the generic
> > views while using my apache server. I'm unable to get the v
On Jan 18, 2:53 pm, Adam Yee wrote:
> It was a slam dunk for completing the tutorial in the development
> server, but I can't figure out this issue I'm having with the generic
> views while using my apache server. I'm unable to get the vote view
> to redirect correctly.
>
> My apache error seen
It was a slam dunk for completing the tutorial in the development
server, but I can't figure out this issue I'm having with the generic
views while using my apache server. I'm unable to get the vote view
to redirect correctly.
My apache error seen here with both urls.py and views.py. The apache
Wiadomość napisana w dniu 2008-12-29, o godz. 07:28, przez Leslie
Maclachlan:
> I am using Eclipse editor to work with my django projects.
> Can anyone recommend a way to deploy my django apps to an Apache web
> server?
>
> Currently, I am manually copying the entire source folder to the
> co
Hi,
I am using Eclipse editor to work with my django projects.
Can anyone recommend a way to deploy my django apps to an Apache web
server?
Currently, I am manually copying the entire source folder to the correct
location on my Apache server. It seems that there should be an easier
way to keep m
Thank you so much :-)! That did the trick.
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send
Would this help:
PythonPath "['/home/user/projects', '/home/user/projects/myproject'] +
sys.path"
Bojan
On Sep 25, 6:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to deploy my django project, but when I go to any urls of
> the project I get this error:
>
> Mod_pytho
And my django install is in /usr/lib/python2.4/site-packages/django
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscri
Hi,
I'm trying to deploy my django project, but when I go to any urls of
the project I get this error:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatc
This is my file system structure
WebApplication
-> 0.9
->lib (log4py)
->src (the Django Code)
This is the command i used to run the Django Application from console.
$ PYTHONPATH=lib/:src/ DJANGO_SETTINGS_MODULE=settings src/manage.py
runserver
PYTHONPATN=lib/:src/
The above command is
YES!!!
It worked!!
Now onto another problem.
Database settings, my original settings is postgresql_psycopg2
Running from command line, the web application can access the database
with no problem.
Running off apache, i have a interface error complaining the
connection is closed.
Then i change
On Tue, Jul 22, 2008 at 5:47 AM, Pepsi330ml <[EMAIL PROTECTED]> wrote:
>
> like this?
>
> NameVirtualHost 127.1.1.1
>
>...
>PythonDebug On
>
>PythonPath "[/home/Documents/WebApplication/
> 0.1/',#the
> main directory for the
Bing wrote:
Now if I want to deploy the website so that other people can visit it
under
my homepage space, http://name.of.some.site/~user/
what should I do?
You should use mod_python and apache. If that is too much trouble
(probably is based on how your setup sounds), use fastcgi. Don't use t
I have a small django application which is running on a development
server.
The platform is linux and I am able to view the django-powered pages
at the url like
http://127.0.0.1:8000/
Now if I want to deploy the website so that other people can visit it
under
my homepage space, http://name.of.s
Hi Brian,
I know how to get into python but not sure the exact commands to
import settings.py? I tried "import settings" and it didn't come back
with an error.
How do I check the __file__/__path__ module attributes?
I am now running into a weird intermittent issue which is actually not
showing
Your code is apparently in a project called "thumbslap":
>If you plan to use a database, edit the DATABASE_* settings in
>thumbslap/settings.py.
>Start your first app by running python thumbslap/manage.py startapp
>[appname].
But your settings file is ROOT_URL_CONF set to "mysite.urls". Is that
==
File: urls.py
==
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^admin/', include('django.contrib.admin.urls')),
(r'^$', 'mysite.views.index'),
(r'^settings/', 'mysite.people.v
==
File: urls.py
==
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^admin/', include('django.contrib.admin.urls')),
(r'^$', 'thumbslap.views.index'),
(r'^settings/', 'thumbslap.
Could you post your urls.py and settings files?
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group,
Yea I've restarted it and "touched" the fcgi file so it's rather odd -
do you know of any good tutorials that are not written by the Django
team (read them, not too helpful and assume too much)?
On Feb 16, 9:05 pm, Bret W <[EMAIL PROTECTED]> wrote:
> Have you restarted the Web server? Perhaps ca
201 - 300 of 320 matches
Mail list logo