Re: django on apache server

2016-08-18 Thread Asad Jibran Ahmed
Not being able to load CSS points to an Apache config issue. Did you setup apache so your static root configured to serve files from your static folder? Your apache config might be helpful here. Also, what you have pasted here seems like a warning, so while you should fix it, this is probably n

Re: Django on Apache

2010-09-26 Thread Vincent den Boer
On Saturday 25 of September 2010 20:36:52 Derek wrote: > Can someone briefly explain the difference between PHP apps -- which > run your code "as is" without need for refreshing the server -- and > Django? The difference is that Django starts once, loads all modules it needs and then starts handl

Re: Django on Apache

2010-09-25 Thread Tim Sawyer
On 25/09/10 19:36, Derek wrote: on several occasions I've made changes to a view, and got a "cannot load page/no response" (from the browser, not a Django error). Once I quit the server (Control-C), start it up again and refresh the page, it works fine. I get that sometimes too - I think it's

Re: Django on Apache

2010-09-25 Thread Derek
Thanks for the quick response, guys. I guess what confuses me is the need to EVER restart the server to pick up changes (excluding db syncs). It's been stated in many places (including Tim's response) that the test server will automatically pickup code changes, but on several occasions I've made

Re: Django on Apache

2010-09-25 Thread Tim Sawyer
On 25/09/10 16:07, Derek wrote: I am about a week into learning Django, having developed with PHP and the CodeIgniter framework for the past 3 years. That said, I'm used to making a change to a file, refreshing my browser and seeing the results. Django's "syncdb" aside, it's been pretty weird h

Re: Django on Apache

2010-09-25 Thread Steven Elliott Jr
MAMP can be a bit of a pain I think sometimes to modify, though I haven't used it much in the past few years. You can use the Mac's built-in apache server though with mod_python. Check out http://www.google.com/search?q=mod_python+mac+os+x&ie=UTF-8&oe=UTF-8&hl=en&client=safari Sent from my iPho

Re: Django on Apache (mod_python) administration cookie problem

2008-11-04 Thread Dave Dash
I had cleared the cookies, I also tried in another browser as well - same result. On Nov 3, 10:50 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 4, 5:08 pm, Dave  Dash <[EMAIL PROTECTED]> wrote: > > > I am witnessing this issue using manage.py runserver. > > > The only useful informatio

Re: Django on Apache (mod_python) administration cookie problem

2008-11-03 Thread Graham Dumpleton
On Nov 4, 5:08 pm, Dave Dash <[EMAIL PROTECTED]> wrote: > I am witnessing this issue using manage.py runserver. > > The only useful information I can give is this was working when I was > running .97 (or whatever was the trunk a few months back), I recently > upgraded to the latest trunk (~1.1)

Re: Django on Apache (mod_python) administration cookie problem

2008-11-03 Thread Dave Dash
I am witnessing this issue using manage.py runserver. The only useful information I can give is this was working when I was running .97 (or whatever was the trunk a few months back), I recently upgraded to the latest trunk (~1.1) and now continually get this message. I suspect something has chan

Re: Django on Apache (mod_python) administration cookie problem

2008-10-24 Thread Graham Dumpleton
On Oct 25, 11:59 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > Graham, > Option 3: I use other utilities like wordpress and phpMyAdmin, so I cannot > afford to disable php completely > Option 2: I use Linux Mint (Ubuntu variant) for developement and Debian Etch > for production. So for option 2,

Re: Django on Apache (mod_python) administration cookie problem

2008-10-24 Thread M.Ganesh
Graham, Option 3: I use other utilities like wordpress and phpMyAdmin, so I cannot afford to disable php completely Option 2: I use Linux Mint (Ubuntu variant) for developement and Debian Etch for production. So for option 2, I will require two sets of instructions, which means more trouble fo

Re: Django on Apache (mod_python) administration cookie problem

2008-10-21 Thread Graham Dumpleton
On Oct 22, 10:52 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote: > Hi Daniel, > > I am also facing the same problem. I really can't understand the > technicalities of the solution offered in this thread. Since you seemed > to have solved the problem, can you please give a little more details on > how

Re: Django on Apache (mod_python) administration cookie problem

2008-10-21 Thread M.Ganesh
Hi Daniel, I am also facing the same problem. I really can't understand the technicalities of the solution offered in this thread. Since you seemed to have solved the problem, can you please give a little more details on how to do it Thanks in advance Regards Ganesh Daniel bodom_lx Grazioti

Re: django on apache looses all styling

2008-10-16 Thread Dj Gilcrease
In your settings.py file there is a MEDIA_URL setting and an ADMIN_MEDIA_PREFIX setting In my case I have MEDIA_URL = 'http://media.digitalxero.net/' + SITE_NAME + '/' ADMIN_MEDIA_PREFIX = 'http://media.digitalxero.net/admin/' That way all of my static files are server off my CDN (Separate serve

Re: django on apache looses all styling

2008-10-16 Thread William Purcell
I see that django documentation says to copy the admin media files so that they live within your Apache document root. I have put the media files from the django/contrib in the Apache document root. How does django/apache see them? On Thu, Oct 16, 2008 at 2:42 PM, William Purcell <[EMAIL PROTECTED

Re: Django on Apache (mod_python) administration cookie problem

2008-10-10 Thread Daniel bodom_lx Graziotin
Thank you very much for your replies, Alvaro and Graham! Removing php5-mhash solved the problem --~--~-~--~~~---~--~~ 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@g

Re: Django on Apache (mod_python) administration cookie problem

2008-09-30 Thread Graham Dumpleton
On Oct 1, 10:56 am, Álvaro Justen <[EMAIL PROTECTED]> wrote: > Daniel bodom_lx Graziotin wrote: > > Hi everybody! I'm a new Django developer and for learning the > > framework I decided to create (another) pastebin clone that I > > published onhttp://incollo.com > > The application works very we

Re: Django on Apache (mod_python) administration cookie problem

2008-09-30 Thread Álvaro Justen
Ah, some details: -> Admin interface runs OK with python manage.py runserver - as of it is an Apache error, Django's web server isn't affected by this bug. -> I'm using Debian etch as server: I've installed Apache, PHP and mod_php with Debian packages, but Django installed manually. -> Versions:

Re: Django on Apache (mod_python) administration cookie problem

2008-09-30 Thread Álvaro Justen
Daniel bodom_lx Graziotin wrote: > Hi everybody! I'm a new Django developer and for learning the > framework I decided to create (another) pastebin clone that I > published on http://incollo.com > The application works very well and I'm very proud of it because I > started learning Django six days

Re: Django on apache and mod_python.... and problems

2008-06-22 Thread foxbunny
On Jun 22, 5:59 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > I'm assuming you have papastudio.blog listed in INSTALLED_APPS? > > Does apache have read access to the whole tree under  /papastudio, including > blog?  It seems apache can read /papastudio, otherwise you'd get an > 'ImportError: No

Re: Django on apache and mod_python.... and problems

2008-06-21 Thread Will Larson
Hi, > The summary of error messages is this: > >> AttributeError: 'module' object has no attribute 'blog' > > I've made sure that /papastudio/blog has __init.py__, and that it's > listed in INSTALLED_APPS (which is logical since the site actually > works if I ./manage.py runserver). Did you follo

Re: Django on apache and mod_python.... and problems

2008-06-21 Thread Karen Tracey
On Sat, Jun 21, 2008 at 9:02 PM, foxbunny <[EMAIL PROTECTED]> wrote: > > Hi, list, > > I'm trying to deploy a very simple Django app, and it's driving me > crazy. I've followed the docs and set up Apache with mod_python. Then > I uploaded the app, did syncdb, and everything works when I ./ > manag