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 '()' 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:     NoReverseMatch
Exception Value:

Reverse for 'django.contrib.auth.views.login' with arguments '()' and keyword arguments '{}' not found.


blog/urls.py:
urlpatterns = patterns('',
url(r'^accounts/login/$', 'django.contrib.auth.views.login', name='login1'), url(r'^accounts/logout/$', 'django.contrib.auth.views.logout'),
)

blog/templates/registration/login.html:
<form method="post" action="{% url 'django.contrib.auth.views.login' %}">

I try without quotes, but I receive another error (I know, in django 1.5 are a some changes in url tag):

'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs.

I tried to use only name ("login" -> {% url 'login1' %} and {% url 'login1' %} ). Also, it does not work. (Reverse for 'login1' with arguments '()' and keyword arguments '{}' not found.)


Any suggestions?

regards,
VVilku

--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

--
Mike Doroshenko, Junior Sys Admin
TecKnoQuest Inc.
[email protected]
www.tecknoquest.com

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to