Am o mica problema cu django
Am folosit tutorialul http://www.howtoforge.com/how-to-install-django-on-fedora9-apache2-mod_python
$ python manage.py syncdb
$python manage.py runserver 80
Validating models...
0 errors found
Django version 1.1.1, using settings 'django_projects.settings'
Development server is running at http://127.0.0.1:80/
Quit the server with CONTROL-C.
Error: You don't have permission to access that port.
Firefox
http://localhost/ am pagina de la fedora apache
http://localhost/admin/
Not Found
The requested URL /admin/ was not found on this server.
Am instalat in settings modulul de admin ...
Django version 1.1.1, using settings 'django_projects.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
[28/Mar/2010 17:11:51] "GET / HTTP/1.1" 404 1917
insa obtin o eroare in firefox
Page not found (404)
Request Method: GET
Request URL: http://0.0.0.0:8000/
Using the URLconf defined in django_projects.urls, Django tried these
URL patterns, in this order:
1. ^admin/
The current URL, , didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a
standard 404 page.
Ai setat url-urile corespunzatoare in urls.py pentru modulul de
admin ?
--
Vizitaţi acest grup la
http://groups.google.ro/group/django-romania?hl=ro
To unsubscribe from this group, send email to django-romania+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
# Uncomment the next two lines to enable the admin:
#from django.contrib import admin
admin.autodiscover()
--
> Ai uitat sa decomentezi importul :)
>
> -- ionel
>
"E sara mia colpa,se cosi e ? "
Da , ai dreptate , "mia colpa" .
Oricum acum am interfata de admin cu user si pass http://127.0.0.1:8000/admin/
Insa pe http://127.0.0.1:8000 am 404 :
...
Django tried these URL patterns, in this order:
1. ^admin/
The current URL, , didn't match any of these.
Ce inseamna asta ca trebuie sa definesc un fel de index ca la html ?