; ///
>>
>> On Wed, Mar 13, 2013 at 10:14 PM, VVilku wrote:
>> > No, I dont't. :)
>> > The attachment in the first post it is my attempt to isolate the
>> > problem.
>> > (assumption "blog"=="atest")
>> >
>> >
gt; Django phpBB?
>
> I've used phpBB before, and am curious about importing a phpBB forum
> into Django.
>
> I am curious what that site is, but when I go there I get nothing :(
>
>
> VVilku wrote:
> > Hello,
> > I have problem with:
> >
> &g
e the
> problem.
> > (assumption "blog"=="atest")
> >
> >
> >
> > W dniu środa, 13 marca 2013 14:33:42 UTC+1 użytkownik VVilku napisał:
> >>
> >> Hello,
> >> I have problem with:
> >>
> >>
Django phpBB?
I've used phpBB before, and am curious about importing a phpBB forum
into Django.
I am curious what that site is, but when I go there I get nothing :(
VVilku wrote:
Hello,
I have problem with:
Reverse for 'django.contrib.auth.views.login' with arguments
umption "blog"=="atest")
>
>
>
> W dniu środa, 13 marca 2013 14:33:42 UTC+1 użytkownik VVilku napisał:
>>
>> Hello,
>> I have problem with:
>>
>> Reverse for 'django.contrib.auth.views.login' with arguments '()' and
>&
No, I dont't. :)
The attachment in the first post it is my attempt to isolate the problem.
(assumption "blog"=="atest")
W dniu środa, 13 marca 2013 14:33:42 UTC+1 użytkownik VVilku napisał:
>
> Hello,
> I have problem with:
>
> Reverse for 'dj
On Wed, Mar 13, 2013 at 1:33 PM, VVilku wrote:
> Hello,
>
> I have problem with:
>
> Reverse for 'django.contrib.auth.views.login' with arguments '()' and
> keyword arguments '{}' not found.
>
>
> Request Method: GET
> Request
Hello,
I have problem with:
Reverse for 'django.contrib.auth.views.login' with arguments '()' and
keyword arguments '{}' not found.
Request Method: GET
Request URL: http://www.django-phpbb.pl:8000/blog/accounts/login/
Django Version: 1.5
Exception Type
I'm trying to build a login form by following the instructions on this page
https://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.views.login.
The form is rendered in the template with a username and password field,
but the hidden "next" field has no value, th
r'^json/sendcommand/','rchip.views.json_send_command'),
>
> i get this message
> Caught ViewDoesNotExist while rendering: Tried json_command in module
> rchip.views. Error was: 'module' object has no attribute
> 'json_command'
>
> this is my login URL:
> ur
gt;> Caught ViewDoesNotExist while rendering: Tried json_command in module
>> rchip.views. Error was: 'module' object has no attribute
>> 'json_command'
>>
>> this is my login URL:
>> url(r'^accounts/login/$','django.contrib.auth.views
.views. Error was: 'module' object has no attribute
> 'json_command'
>
> this is my login URL:
> url(r'^accounts/login/$','django.contrib.auth.views.login',
> {'template_name': 'main/login.html', }),
>
> --
> Tha
rror was: 'module' object has no attribute
'json_command'
this is my login URL:
url(r'^accounts/login/$','django.contrib.auth.views.login',
{'template_name': 'main/login.html', }),
--
Thanks
Kevin Anthony
www.NoSideRacing.com
--
You
cks into
> django.contrib.auth.views.login?
> I need to check some fields from UserProfile to login
>
> --
> 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@googl
Is it possible, to add some extra validation checks
into django.contrib.auth.views.login?
I need to check some fields from UserProfile to login
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
On Mon, Aug 30, 2010 at 2:34 AM, ashy wrote:
>
> I am using django.contrib.auth.views.login for the login view. The
> code for 'registration/login.html' is as below:
>
>
>
>User Login
>
>
>User Login
>{% if form.has_errors %}
It loo
Hi All,
I am using django.contrib.auth.views.login for the login view. The
code for 'registration/login.html' is as below:
User Login
User Login
{% if form.has_errors %}
Your username and password didn't match.
Please try agai
In my settings I have set:
LOGIN_URL = '/accounts/login/'
Now if I run ./manage shell and type:
In [3]: reverse('django.contrib.auth.views.login')
Out[3]: '/accounts/login/'
which is ok. However, when I run one of the tests from
On Jan 9, 9:16 am, Brian Neal wrote:
> If you use RequestContext and have the settings in your
> TEMPLATE_CONTEXT_PROCESSORS, then the user variable will be available
> for use in your templates. Check out:
>
> http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-c...
I just wan
gt; Boo.
> {% endif %]
>
> In an accounts/urls.py, I add a line like this:
>
> urlpatterns = patterns('',
> (r'^login/$', 'django.contrib.auth.views.login'),
> (r'^logout/$', 'django.contrib.auth.views.logout'),
> )
terns = patterns('',
(r'^login/$', 'django.contrib.auth.views.login'),
(r'^logout/$', 'django.contrib.auth.views.logout'),
)
I copied the form from the Djangoprojects page on user authentication
into a registration/login.html template.
When visit
On Oct 1, 9:55 pm, Denis Morozov <[EMAIL PROTECTED]> wrote:
> Try
> {% if form.errors %}
> Your username and password didn't match.
> Please try again.
> {% endif %}
This is working, thank you :-)
--~--~-~--~~~---~--~-
On Oct 1, 11:21 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> Assuming you are actually using Django 1.0, you'll need to keep in mind that
> some things have changed (forms & admin definitions are two biggies) between
> what the book is describing and the version you are using. In cases where
>
On Wed, Oct 1, 2008 at 3:55 PM, Denis Morozov <[EMAIL PROTECTED]> wrote:
>
> Try
> {% if form.errors %}
> Your username and password didn't match.
> Please try again.
> {% endif %}
>
Note this is not an error in the book but rather an indication t
*
> from bookmarks.views import *
>
> urlpatterns = patterns('',
> (r'^$', main_page),
> (r'^user/(\w+)/$', user_page),
> (r'^login/$', 'django.contrib.auth.views.login'),
> )
>
> and this is the template
is the url.py file:
from django.conf.urls.defaults import *
from bookmarks.views import *
urlpatterns = patterns('',
(r'^$', main_page),
(r'^user/(\w+)/$', user_page),
(r'^login/$', 'django.contrib.auth.views.login'),
)
and this is the template regis
I found the error,
In my instance at the server I had added a line like,
from django.contrib.auth.views import login, logout
which was conflicting with the import I was expectating,
from django.contrib.auth import authenticate, login
I had added this after deployment to the server.
On Sep 12, 7:
I am trying to loging a user after they fill a form, using code
if request.method == 'POST':
data = request.POST.copy()
errors = form.get_validation_errors(data)
if not errors:
new_user = form.save(data)
user_profile = UserProfile(user = new_use
Ahhh! If I had been more explicit in giving you my code, we might have
seen the problem sooner!
The problem is that my login form is on the sidebar of my base.html - it
appears on my homepage. My homepage renders directly to a template.
So, the POST from my homepage goes to the login view from
Hey Mike,
On Sat, 2007-06-09 at 16:53 +0100, Mike H wrote:
> Malcolm Tredinnick wrote:
> > Assuming you have the SessionMiddleware installed, you will have a
> > session created whenever you access a page that Django is responsible
> > for.
> >
> >
>
> Thanks, exactly what I needed to know :)
Malcolm Tredinnick wrote:
> Assuming you have the SessionMiddleware installed, you will have a
> session created whenever you access a page that Django is responsible
> for.
>
>
Thanks, exactly what I needed to know :) This is not happening. After
the first page view, I have no session.
Mike
Ok, a little progress on this. This is what is currently happening :
I have no cookies. I go to the login page. No cookies are set. I submit
the page. The test cookie is checked as part of that request. It fails.
A session is still started however, and a sessionid cookie is set.
set_test_cooki
On Sat, 2007-06-09 at 16:33 +0100, Mike H wrote:
> Hi Malcolm,
>
> I'm more than willing to help track down the error (as if I dont get it
> fixed, I cant use Django! Asking customers to log in twice wont go down
> well...)
>
> I have a question though : After the first load of the login page,
Hi Malcolm,
I'm more than willing to help track down the error (as if I dont get it
fixed, I cant use Django! Asking customers to log in twice wont go down
well...)
I have a question though : After the first load of the login page,
should a session have been started for me? Or does the sessio
On Sat, 2007-06-09 at 15:48 +0100, Mike H wrote:
> Hi,
>
> I'm trying to use the provided login view for my new application,
> but whenever I use it, the first time i submit the login request,
> AuthenticationForm returns the error
> "Your Web browser doesn't appear to have cookies enabled. Cooki
Hi,
I'm trying to use the provided login view for my new application,
but whenever I use it, the first time i submit the login request,
AuthenticationForm returns the error
"Your Web browser doesn't appear to have cookies enabled. Cookies are
required for logging in."
The second time i submit t
ponse = django.contrib.auth.views.login(request)
if request.user.is_authenticated():
do database stuff...
return response
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
I'm pretty new to Django, so any advice would really be appreciated,
especially if I'm headed in the wrong direction.
I'm trying to "extend" django.contrib.auth.views.login in the same
fashion as a generic view. I would like to deposit points in a user's
account a
On 5/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I seem to be able to log in as a user with the is_active flag not set
> to True.
> A validator in django.contrib.auth.forms.AuthenticationForm should test
> for that.
>
> I'd log a bug, but as far as I can tell there's no place in the bug
ECTED]" <[EMAIL PROTECTED]>
To: "Django users"
Subject: is_active isn't honored by django.contrib.auth.views.login()
Date: Sat, 20 May 2006 01:23:36 -0700
Message-ID: <[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mac
40 matches
Mail list logo