in built-in template tags, i just know to get item of array by
index,just like:
{{ my_array.2 }}
but if i want to get the last, how should i do? i've tried
{{ my_array.-1 }}, but it seems something wrong.
any help will be greatly appreciated.
--
You received this message because you are subscr
/ (3, '')
Request Method: GET
Request URL:http://localhost:8000/admin/filebrowser/media/uploads/?pop=1
Exception Type: WindowsError
Exception Value:(3, '')
Exception Location: C:\Users\workingbird\Desktop\Tourial\test_proj
\filebrowser\views.py in in
@Daniel
thanks a lot. it works!
following the document, i add file 'admin.py' under 'myapp', and input
"admin.site.register(Account)",it is ok now.
On Feb 4, 5:15 pm, Daniel Roseman
wrote:
> On Feb 4, 8:56 am, workingbird wrote:
>
>
>
> > i
the django documents said super user can edit data in site
administration. but i can not find how to enter.
did i miss something?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
i the database is created successfully, and i can sign in as a
super_user.
and in model documentation (http://localhost:8000/admin/doc/models/),
the 'Account' model can be found.
the problem is that, the on Site administration home page ,it is only
2 groups and their models: Auth, Sites. there is
"login_username" should be the attribute named "name", not "id".
On Dec 23 2008, 11:03 am, DragonSlayre wrote:
> I've created my own form:
>
>
> Login:
> Username:
>
> Password:
>
>
>
>
> I am mappying /accounts/login/ to a view of mine, which is then
> calling:
>
> if request.
6 matches
Mail list logo