Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-12-12 Thread Theodore D
https://stackoverflow.com/a/50827230/1198074 On Wednesday, June 27, 2018 at 10:59:58 PM UTC+3, Pato wrote: > > Ahmed, > > Did you manage to figure out what was the problem? I ran into the same > problem. All POST requests are throwing Page not found (404) > Request Method: POST > > > Let me kno

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-06-27 Thread Pato
Ahmed, Did you manage to figure out what was the problem? I ran into the same problem. All POST requests are throwing Page not found (404) Request Method: POST Let me know Thanks On Friday, March 2, 2018 at 7:19:10 AM UTC-5, Tanvir Ahmed wrote: > > Hello, > > I am fairly new to the web h

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread team . readerspoint
On Friday, March 2, 2018 at 9:27:29 PM UTC+6, Vinicius Assef wrote: > > My bad. It's urls.py > > On 2 March 2018 at 12:25, Vinicius Assef > > wrote: > > Probably you have a problem with route. > > > > Check your routes.py again. > > > > On 2 March 2018 at 10:28, > wrote: > >> > >> > >>

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Vinicius Assef
My bad. It's urls.py On 2 March 2018 at 12:25, Vinicius Assef wrote: > Probably you have a problem with route. > > Check your routes.py again. > > On 2 March 2018 at 10:28, wrote: >> >> >> On Friday, March 2, 2018 at 6:24:49 PM UTC+6, Vinicius Assef wrote: >>> >>> Some time ago I wrote this pos

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Vinicius Assef
Probably you have a problem with route. Check your routes.py again. On 2 March 2018 at 10:28, wrote: > > > On Friday, March 2, 2018 at 6:24:49 PM UTC+6, Vinicius Assef wrote: >> >> Some time ago I wrote this post [0] about setting Python and Django >> on Dreamhost. They use passenger. >> >> Ma

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread team . readerspoint
On Friday, March 2, 2018 at 6:24:49 PM UTC+6, Vinicius Assef wrote: > > Some time ago I wrote this post [0] about setting Python and Django > on Dreamhost. They use passenger. > > Maybe it's useful to you. > > > [0] > http://aprenda-python.blogspot.com.br/2016/06/setup-python-with-django-or-

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread emepe
On Friday, March 2, 2018 at 9:19:10 AM UTC-3, Tanvir Ahmed wrote: > > I am fairly new to the web hosting world. I recently purchased a plan at > a2hosting. It's a shared hosting plan. After some problems with FastCGI, I > was told to use passenger to host django. I couldn't find much on this > t

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread emepe
On Friday, March 2, 2018 at 9:19:10 AM UTC-3, Tanvir Ahmed wrote: > > I am fairly new to the web hosting world. I recently purchased a plan at > a2hosting. It's a shared hosting plan. After some problems with FastCGI, I > was told to use passenger to host django. I couldn't find much on this >

Re: Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Vinicius Assef
Some time ago I wrote this post [0] about setting Python and Django on Dreamhost. They use passenger. Maybe it's useful to you. [0] http://aprenda-python.blogspot.com.br/2016/06/setup-python-with-django-or-pyramid-on-dreamhost.html On 2 March 2018 at 04:56, Tanvir Ahmed wrote: > Hello, > >

Admin site not working properly using passenger on shared hosting. Need help setting it up properly

2018-03-02 Thread Tanvir Ahmed
Hello, I am fairly new to the web hosting world. I recently purchased a plan at a2hosting. It's a shared hosting plan. After some problems with FastCGI, I was told to use passenger to host django. I couldn't find much on this topic and somehow managed to get the website working. However, soon I re

Re: Admin site not working

2012-04-18 Thread Kejun He
Hi, Did you uncomment the code below on urls.py? # from django.contrib import admin # admin.autodiscover() And Did you add "django.contrib.admin" into INSTALLED_APPS on settings.py? On Tue, Apr 17, 2012 at 6:26 PM, mohamed elsebaey wrote: > Dear andrea > thanks for your reply > i'd ran the

Re: Admin site not working

2012-04-17 Thread mohamed elsebaey
Dear andrea thanks for your reply i'd ran the syncdb many times with no effect ,but i found the problem, there is no records in site table. with the following script the problem was fixed from django.contrib.sites.models import Site Site.objects.create(pk=1, domain='mdev.5buckchuck.com', name='5bu

Re: Admin site not working

2012-04-15 Thread andrea mucci
hi have you make a syncdb? El 15/04/2012, a las 15:17, mohamed elsebaey escribió: > Hi, > I'm a new user for django, I started using the tutorial for ver 1.4 > with > python 2.7.1 on mac 10.7.3 > when i try to open the admin site it' gives me the following error > > > DoesNotExist at /admin/

Admin site not working

2012-04-15 Thread mohamed elsebaey
Hi, I'm a new user for django, I started using the tutorial for ver 1.4 with python 2.7.1 on mac 10.7.3 when i try to open the admin site it' gives me the following error DoesNotExist at /admin/ Site matching query does not exist. Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Djan

Re: admin site not working, problem with urls.py?

2010-10-09 Thread binaryjohn
Hi Lisa, The easiest way (I have found) to get the admin media in to your project is to create a symbolic link inside your static media folder to the admin/media subfolders. I believe there are three of them (css,img, js). I hope this link helps http://docs.djangoproject.com/en/dev/howto/deploymen

Re: admin site not working, problem with urls.py?

2010-10-06 Thread Lisa
Hi, It seems you're right CSS isn't being served correctly, so what is the easiest way to include the css files, I'm using apache2 w/ a conf file and modpython... Thanks, Lisa On Oct 6, 11:36 am, Sandro Dutra wrote: > Ah yeah, forget to comment this... > > If you're using the django dev server t

Re: admin site not working, problem with urls.py?

2010-10-06 Thread Sandro Dutra
Ah yeah, forget to comment this... If you're using the django dev server to test your application, you'll have to set where the static files are, you can do this with a builtin view: django.views.static.serve. 2010/10/6 Steve Holden > It's much more likely that your CSS style sheets are not bei

Re: admin site not working, problem with urls.py?

2010-10-06 Thread Steve Holden
It's much more likely that your CSS style sheets are not being served correctly - you can check this by looking at the page's HTML source and then pasting the style sheet's URL into your browser's location bar. The Django 1.0 admin is a reasonably well-styled layout, so you certainly shouldn't be

Re: admin site not working, problem with urls.py?

2010-10-06 Thread Sandro Dutra
Your Django version is really outdated. I think you can update using the Update Manager or calling the terminal and typing: sudo apt-get update This command will resync the packages with the current version on distro repository. Alternatively you can update via python setuptools, using the comm

Re: admin site not working, problem with urls.py?

2010-10-06 Thread Lisa Gandy
Thanks for the help, This ended up working (r'^admin/(.*)', admin.site.root) Now, when I look at the admin panel, its really funky looking, it definitely works, but its like its missing a template. Do yout hink its b/c the version of django on teh server is old? Its 1.0.4 If thats the pro

Re: admin site not working, problem with urls.py?

2010-10-05 Thread Sandro Dutra
You have to check if you enable the "admin" application on your settings.py. 2010/10/5 Sithembewena Lloyd Dube > Hey Lisa, > > Look at this line (supplied by you): > > > # (r'^ccu/', include('ccu.foo.urls')), > > ^^ the line above is correct. > > Now, the line that's giving you trouble is: > >

Re: admin site not working, problem with urls.py?

2010-10-05 Thread Sithembewena Lloyd Dube
Hey Lisa, Look at this line (supplied by you): # (r'^ccu/', include('ccu.foo.urls')), ^^ the line above is correct. Now, the line that's giving you trouble is: (r'^admin/', include(admin.site.urls)), ^^ spot the difference? I think you should use quotes around your argument to the include f

Re: admin site not working, problem with urls.py?

2010-10-05 Thread Tran Cao Thai
hope this helps : http://botland.oebfare.com/logger/django/2009/2/14/15/ The conversation is very funny also :D On Wed, Oct 6, 2010 at 9:01 AM, Lisa wrote: > Hi all, > I'm sure I have a pretty simple problem... > here's my url.py file > > from django.conf.urls.defaults import * > > # Uncomme

admin site not working, problem with urls.py?

2010-10-05 Thread Lisa
Hi all, I'm sure I have a pretty simple problem... here's my url.py file from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^ccu/', include('ccu.f

Re: Django Admin site not working after migrating to Apache

2008-09-16 Thread Karlo Lozovina
On Sep 15, 2:13 pm, Karlo Lozovina <[EMAIL PROTECTED]> wrote: > I've just migrated my project from Djangos' builtin development web > server to Apache. Everything works the same as with the development > server, except in Admin site I don't see any of my objects, instead > only "Users" and "Group

Django Admin site not working after migrating to Apache

2008-09-15 Thread Karlo Lozovina
Hi all! I've just migrated my project from Djangos' builtin development web server to Apache. Everything works the same as with the development server, except in Admin site I don't see any of my objects, instead only "Users" and "Groups" objects are available (with development server I see all of