n/1.0/chapter06/
>
> > Do we have other better doc for admin page set up?
>
> > On Thu, Jul 2, 2009 at 9:19 PM, patrickk wrote:
>
> > > your admin-url has NO relation whatsoever to the name of your project
> > > or app.
>
> > > IMHO, you should try to
o we have other better doc for admin page set up?
>
> On Thu, Jul 2, 2009 at 9:19 PM, patrickk wrote:
>
> > your admin-url has NO relation whatsoever to the name of your project
> > or app.
>
> > IMHO, you should try to understand how the url-configuration works in
> &g
Actually I was reading from this link and doing what it is mentioned here.
http://www.djangobook.com/en/1.0/chapter06/
Do we have other better doc for admin page set up?
On Thu, Jul 2, 2009 at 9:19 PM, patrickk wrote:
>
> your admin-url has NO relation whatsoever to the name of your p
your admin-url has NO relation whatsoever to the name of your project
or app.
IMHO, you should try to understand how the url-configuration works in
the first place. you should also read the django-docs carefully ...
I´m sorry that I can´t help more, but I think with reading (and
understanding) t
Thanks Patrick for your quick response. Please let me know if this info
helps you to understand.
I am calling my project 'gweb' and my app 'web'? And my model
code is in file in 'gweb/web/models.py'. So in that case my admin url
should be
http://server-name:1020/gweb/admin/
Please correct if I
sorry, but I can´t help with apache-stuff. your django-setup seems
correct to me ... I´ve never seen port 1020 used for the dev-server,
but I´m not doing server-setups at all, so it might be very common.
you could try a simple direct_to_template in order to check whether
(or not) apache is servin
Hi Patrick,
I am using apache web server. After doing following changes I tried to
access this URL http://server-name:1020/admin/ and got following error.
The requested URL /admin/ was not found on this server
Thanks,
Pankaj
On Thu, Jul 2, 2009 at 8:00 PM, patrickk wrote:
>
> you have define
you have defined it in urls.py ... with
(r'^admin/(.*)', admin.site.root),
your URL is
http://server-name:1020/admin/
after adding 'django.contrib.admin' to your INSTALLED_APPS
you have sync the database, of course:
python mangage.py syncdb
regards,
patrick
On 2 Jul., 15:13, kamal sharma wrot
Hi,
I am trying to setup admin page.
Django version: alpha version of 1.1
Python Version: Python 2.5.2
I have followed the following steps to set up admin page.
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ref-contrib-admin
1. settings.py:
# Add 'django.contrib.admin' to INSTALLED_
9 matches
Mail list logo