HI !I am a newbie , my roblem is that I can login in the admin panel http://127.0.0.1:8000/admin/The password and the user is tha same of the mysql databases, right ?
The same that in setting.py are DATABASE_USER and DATABASE_PASSWORD !Thanks and sorry for the stupid question
Bye
--~--~
nope - it is what you gave when you did createsuperuser - you *did*create the superuser?
No, I doest find the createsuperuser comand ..$ django-admin.py createsuperuser name [EMAIL PROTECTED] passwordError: Your action, 'createsuperuser', was invalid.
Run "/usr/bin/django-admin.py --help" for help.
Hi to all !
In the last svn version I can't use django-admin createsuperuser name mail passw
How to add a super user by python shell ?
ps:I think that if createsuperuser is deprecated , the doc must be updated
Thanks
Bye
--~--~-~--~~~---~--~~
You received this
Hi ,whit a view like this in selecto APP Create your views here.from django.http import HttpResponsedef index(request): return HttpResponse("Hello, world. You're at the poll index.")
and URL.py###from django.conf.urls.defaults import *urlpatterns = patterns('',
Hi to all !I have this error :TemplateDoesNotExist at /
selecto/index.htmlfrom :---setting.pyTEMPLATE_DIRS = ( '/home/marco/test_/test/selecto/')--selecto/view.pydef index(request): list = Evento.objects.all().order_by('-data')[:5]
t = loader.get_template('selecto/index.html')
sound like the directory that I setting in the setting.py doesnt work correctly I correct this using in view.py only 'index.html' and in TEMPLATES_DIR the complete pathThanks ,and sorry for the stupid question
On 10/1/06, Marco Amato <[EMAIL PROTECTED]> wrote:
Hi to all !I
I doesnt undestand this error :
Type error at /
'module' object is not callable
Request Method: GET
Request URL: http://127.0.0.1:8000/
Exception Type: TypeError
Exception Value: 'module' object is not callable
Exception Location:
/home/m
I am really sorry for the stupid question
Import Contex whit the C (the doc is right) all work like a charm
Thanks
On 10/1/06, Brett Parker <[EMAIL PROTECTED]> wrote:
>
> On Sun, Oct 01, 2006 at 11:20:08AM +0200, Marco Amato wrote:
> > def index(request):
> >
Hi !
I am in the part 2 of the tutorial after add the class Admin in evere
object and uncommenti in url.py the admin url
I receive this error from the server :
SuspiciousOperation at /admin/
User tampered with session cookie.
Request Method: GET
Request URL:http://127.0.0.1:8000/adm
HI !
I need to see how to make work form whit string whit django url
Sombody can post a sample or a link to a sample
Thanks
Marco
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
Hi !
I am not a big programmer , and I will found usefull sample of code.
So, what about add a list of app and project for example?
I want no more than less that a tar.gz or a zip whit alots of code :D
Thanks for everybody for read this idea
MA.
--~--~-~--~~~---~--
11 matches
Mail list logo