You need revisit your project urls.py and also verify your project
settings.py.

Does your urls.py somewhat resemble the following:

from django.conf.urls.defaults import *
from django.contrib import admin
from django_apps.blog.models import Post

urlpatterns = patterns('',
    (r'^contact/', include('contact_form.urls')),
    (r'^blog/', include('django_apps.blog.urls')),
    (r'^admin/', include(admin.site.urls)),
)

Also make sure you read the 
http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02

Cheers,

_Mario


On Nov 13, 8:07 am, Zeynel <azeyn...@gmail.com> wrote:
> Yes, finally the support decided to install it. The process was a
> nightmare. I don't know if this is the same with other hosting places.
> The documentation was horrible and just outlining the process for
> people who are experts, not for newbies. And now they installed the
> project in 2 different directories: /home/zeynel/sw1 and /home/webapps/
> django/sw1.
>
> I kept changing the settings.py in /home/sw1 DEBUG = False, and
> resetting the server, and nothing was happening. I found that I needed
> to change the settings.py here: /home/webapps/django/sw1
>
> So that's done and hopefully that removes the debug admin page, I
> think this is what the django documentation advises.
>
> I have a simple database in admin but I realized that to reach the
> admin a username and pw is needed. I haven't figured how to translate
> the functionality I have in admin (database, and search) to a public
> webpage. If you can help I'd appreciate it.
>
> On Nov 13, 3:43 am, Francois Verbeek <franc...@verbeek.name> wrote:
>
> >http://www.swimswith.com/wkw1/returnssomething (SwimsWith: A Legal 
> >Who-Knows-Who)... from the admin debug page, this is the only url defined in 
> >your urls.py.
> > so it looks like working fine, except if your urls.py contains something 
> > else, in which case, could you detail what?
>
> > Francois
>
> > ----- Original Message -----
> > From: "Zeynel" <azeyn...@gmail.com>
> > To: "Django users" <django-users@googlegroups.com>
> > Sent: Thursday, 12 November, 2009 11:44:13 PM
> > Subject: Apache2 installation
>
> > Hello,
>
> > I've been trying to port my app to apache2 server from the django
> > development server. After trying all day, I now see the admin page but
> > I don't see my app. Hosting co is not helping because they say this is
> > "pure django."
>
> > Is there someone familiar with this process and could you point me to
> > the right document or help if you can.
>
> > I just copied the app directory to the apache server
>
> > ~/webapps/django/sw1/wkw1
>
> > admin.py and urls.py are same.
>
> > I connect to the server with Putty and cd to
>
> > ~/webapps/django/sw1
>
> > and run
>
> > python2.5 manage.py syncdb
>
> > then I cd to
>
> > ~/webapps/django/apache2/bin
>
> > and
>
> > ./restart
>
> > But this has no effect. I still see the standard admin without my app.
>
> >http://www.swimswith.com/admin/
>
> > Thanks!
>
> > --
>

--

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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to