can anyoune give me simple example how to use:
django.contrib.auth.views.password_change?
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-u
hi
im trying to use generic password_change. i log in and i go to change
password. when i click on pass change link im redirected to login
page, but im already loged in. so i think that something is not good
with my login page.
here is views.py login funct
def login_page(request):
if reques
error:
IntegrityError at /accounts/register/
accounts_playersprofile.first_name may not be NULL
Request Method: POST
Request URL:http://localhost:8000/accounts/register/
Exception Type: IntegrityError
Exception Value:accounts_playersprofile.first_name may not be NULL
Ex
thanks
On Oct 30, 1:59 pm, Matthias Kestenholz <[EMAIL PROTECTED]> wrote:
> On 30.10.2007, at 13:38, Gigs_ wrote:
>
>
>
> > im getting this error all the time.
>
> > IntegrityError at /accounts/register/
> > column username is not unique
> > Reque
its working now.
On Oct 30, 1:59 pm, Matthias Kestenholz <[EMAIL PROTECTED]> wrote:
> On 30.10.2007, at 13:38, Gigs_ wrote:
>
>
>
> > im getting this error all the time.
>
> > IntegrityError at /accounts/register/
> > column username is not unique
>
that username is not taken.
On Oct 30, 1:59 pm, Matthias Kestenholz <[EMAIL PROTECTED]> wrote:
> On 30.10.2007, at 13:38, Gigs_ wrote:
>
>
>
> > im getting this error all the time.
>
> > IntegrityError at /accounts/register/
> > column username is
im getting this error all the time.
IntegrityError at /accounts/register/
column username is not unique
Request Method: POST
Request URL:http://localhost:8000/accounts/register/
Exception Type: IntegrityError
Exception Value:column username is not unique
Exception Loca
is username and password and email stored under user or i need to make
models.CharField for them?
On Oct 26, 7:03 pm, dunia <[EMAIL PROTECTED]> wrote:
> Gigs_ wrote:
> > how do you people createuserprofile in models?
> > i want to createduserprofile for users to register
&
how do you people create user profile in models?
i want to created user profile for users to register
i have don it like this, but i have feeling that it could be better
class PlayersProfile(models.Model):
user = models.ForeignKey(User)
first_name = models.CharField(maxlength=20)
last
hI!
I'm going to start my first website (with django).
I need some guidelines what to do first, where to start etc.?
Website will be for some tennis game tournament, so it will have
database with registered users. Registered users could register for
upcoming tournaments (after they login) in s
i found solution in djangobook chapter9 at the end
On Oct 12, 6:37 pm, Gigs_ <[EMAIL PROTECTED]> wrote:
> if i wanna update object in django generic
> (django.views.generic.create_update.update_object) im using object_id
> and all work fine if i passwww.myurl.com/books/edit/obje
if i wanna update object in django generic
(django.views.generic.create_update.update_object) im using object_id
and all work fine if i pass www.myurl.com/books/edit/object_id/.
but what if i want to access my object with object name like book
title?
can i do that too?
--~--~-~--~~-
yes i figure out that after marty replay
On Oct 11, 10:01 pm, jake elliott <[EMAIL PROTECTED]> wrote:
> Marty Alchin wrote:
> > You'd replace "what goes here" with what you put in
> > "template_object_name": "author" (only without the quotes). Of course,
> > it'd be a little more readable if you
yes i know. this is just for learning.
thanks
On Oct 11, 8:06 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> You'd replace "what goes here" with what you put in
> "template_object_name": "author" (only without the quotes). Of course,
> it'd be a little more readable if you use the plural "autho
name" : "author",
"extra_context":{'name':'john', 'lname':'doe'}
}
urlpatterns = patterns('',
# we'll add URL patterns here
(r'author_list.html$', list_detail.object_list, author_list_info),
)
On
so if this is my template for that list
my template
my books app
{% for name in "what goes here" %}
{{ name }}
{% endfor %}
On Oct 11, 7:47 pm, Gigs_ <[EMAIL PROTECTED]> wrote:
> so i cant get list from models?
> from Author.objects.all()
>
> On Oct 11, 4:
so i cant get list from models?
from Author.objects.all()
On Oct 11, 4:03 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> the list you want to use in template must be in template context. use
> "extra_context" value
>
> On 11 окт, 17:31, Gigs_ <[EMAIL PROTECTED
hi all
im learning django with djangobook.com
im stuck in chapter 9 at Lists of objects.
i just cant get any list of objects in my template.
what should i put in template to make this work?
thanks!
--~--~-~--~~~---~--~~
You received this message because you are
What i need to know, except python before i start learn django?
thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To
What I need to know to learn django, except python(HTML, javascript,
sql, etc)?
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-users@googleg
20 matches
Mail list logo