Re: django registration error

2020-02-05 Thread N Rupesh
On Wed, Feb 5, 2020 at 3:40 PM wrote: > > > > > You might not have applied migrations > > python manage.py makemigrations > > python manage.py migrate > > > > *From: *nrupesh08 > *Sent: *Wednesday, February 5, 2020 2:18 PM > *To: *Django users > *Subject: *django registration error > > > > > >

Re: django registration error

2020-02-05 Thread N Rupesh
okay On Wed, Feb 5, 2020 at 3:40 PM wrote: > > > > > You might not have applied migrations > > python manage.py makemigrations > > python manage.py migrate > > > > *From: *nrupesh08 > *Sent: *Wednesday, February 5, 2020 2:18 PM > *To: *Django users > *Subject: *django registration error > > >

RE: django registration error

2020-02-05 Thread dhruvashah1221999
  You might not have applied migrationspython manage.py makemigrationspython manage.py migrate From: nrupesh08Sent: Wednesday, February 5, 2020 2:18 PMTo: Django usersSubject: django registration error  -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: django registration error

2020-02-05 Thread maninder singh Kumar
Are you using mutiple databases and perhaps django is looking in the wrong place for auth_user ? could you post the entire error and your settings.py file [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Wed, Feb 5, 20

Re: django registration issues

2017-05-12 Thread Antonis Christofides
Hi, not what you ask, but it isn't a good idea to have a copy of django-registration (or any third-party package) in your project directory; instead, just "pip install django-registration-redux". Regards, A. Antonis Christofides http://djangodeployment.com On 2017-05-12 17:09, farah_chaa...@h

Re: Django Registration

2014-09-29 Thread Collin Anderson
def get_success_url(request, user): return settings.REGISTRATION_EMAIL_REGISTER_SUCCESS_URL or even more straighforward: def get_success_url(request, user): return '/accounts/register/complete/' -- You received this message because you are subscribed to the Google Groups "Django users"

Re: django-registration: extending the user model

2013-10-07 Thread N8
If you mean that the User model doesnt have fields you may want, like telephone or address i.e., the best and easiest way is to use add a UserProfile model with a foreignkey to the User model. Django-profiles is one and it's meant for use with django-registration> https://bitbucket.org/uberno

Re: Django-Registration compatible with 1.5.2?

2013-09-11 Thread René Fleschenberg
Hi, Andre Lopes: > I need to user a registration app for Django 1.5.2. I'm a little bit > confused on what app to use. I use django-registration==1.0 from PyPi with Django 1.5. Works for me. Regards, René -- René Fleschenberg Am Stadtgarten 28, 45276 Essen, Germany Phone: +49 1577 170 7363 E-

Re: Django-registration reset password templates not getting picked up

2013-09-03 Thread Kelvin Wong
I put the overridden templates (auth, registration, etc) in a project templates folder in the project root. You have to set it up though in your settings.py as I noted earlier. The filesystem loader is still right there above the app_directories loader. To me the overridden templates don't seem

Re: Django-registration reset password templates not getting picked up

2013-09-03 Thread Vibhu Rishi
Hi Kevin, You were absolutely correct. Moving 'homepage' to the top made it work. Thanks! I was doing all my templates within a single directory pre 1.5 . But then in 1.5 they changed it, so I got a bit confused but then started putting the templates within the app. Not sure if this is good or ba

Re: Django-registration reset password templates not getting picked up

2013-09-02 Thread Kelvin Wong
Check that your 'homepage' app is above the 'registration' app: INSTALLED_APPS = ( 'homepage', # Order matters, this is loaded before others 'registration', 'django.contrib.auth', ... ) Order of the apps is significant. Review https://docs.djangoproject.com/en/dev/ref/templates/a

Re: Django-registration reset password templates not getting picked up

2013-09-02 Thread Vibhu Rishi
Essentially the below should work (and is working for all) as I have the following template loader: TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ) Vibhu On Tue, Sep 3, 2013 at 7:21 AM, Vibhu Rishi wrote: > I have a

Re: Django-registration reset password templates not getting picked up

2013-09-02 Thread Vibhu Rishi
I have a module called homepage and they reside in that. Path is as follows : $ ls homepage/templates/registration/ *activate.htmlpassword_change_form.html *activation_complete.html password_reset_complete.html *activation_email_subject.txt password_reset_confirm.html *activa

Re: Django-registration reset password templates not getting picked up

2013-09-02 Thread Kelvin Wong
If you are not using a templates folder in your project root, where are your registration templates located? K On Monday, September 2, 2013 9:42:50 AM UTC-7, Vibhu Rishi wrote: > > > So far, all the other template html files get picked up - except the ones > related to the password management

Re: Django-registration reset password templates not getting picked up

2013-09-02 Thread Vibhu Rishi
Thanks Kelvin for the response. However, I am not sure I understand why this is to be done. currently my TEMPLATE_DIRS is not having anything. it is as follows: TEMPLATE_DIRS = ( # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slash

Re: Django-registration reset password templates not getting picked up

2013-09-01 Thread Kelvin Wong
TEMPLATE_DIRS needs to have the location of the templates. As long as those templates are being picked up and one is called 'password_reset_form.html' it should work. One of my apps has this form at: /my_project/templates_global/registration/password_reset_form.html In /my_project/my_project/s

Re: django-registration ImportError

2013-07-21 Thread Mike
On Sunday, July 21, 2013 5:20:36 PM UTC+2, donarb wrote: > > > > On Saturday, July 20, 2013 9:23:37 PM UTC-7, Mike wrote: >> >> I just updated django-registration to 1.0 (from 0.8) and now I get an >> ImportError: >> >> ImportError: cannot import name activate >> >> >> /Users/mike/sieve-django/S

Re: django-registration ImportError

2013-07-21 Thread donarb
On Saturday, July 20, 2013 9:23:37 PM UTC-7, Mike wrote: > > I just updated django-registration to 1.0 (from 0.8) and now I get an > ImportError: > > ImportError: cannot import name activate > > > /Users/mike/sieve-django/SIEVEENV/lib/python2.7/site-packages/registration_email/backends/default/u

Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Lee Hinde
Thanks. On Fri, Apr 19, 2013 at 4:41 AM, Paul Walsh wrote: > These are the changes you'll have to make to django-registration, if you > are using AUTH_USER_MODEL in django 1.5 and inheriting from AbstractUser: > > > https://bitbucket.org/prjts/django-registration/commits/ba31fc3053bfca7eb7a19d9

Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Paul Walsh
These are the changes you'll have to make to django-registration, if you are using AUTH_USER_MODEL in django 1.5 and inheriting from AbstractUser: https://bitbucket.org/prjts/django-registration/commits/ba31fc3053bfca7eb7a19d912882e50e295adc55 On Friday, 19 April 2013 11:52:55 UTC+3, Paul Wals

Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Paul Walsh
James Bennet says above that it is compatible, but the latest django-registration code is not compatible with custom user models. RegistrationProfile, for example, still refers directly to User, whereas the new custom user implementation in Django 1.5 require this to be changed in order to work

Re: Django-Registration/Custom Authentication Issue

2013-04-17 Thread Scott Anderson
That's good to know. How stable is it? -scott Via mobile phone On Apr 17, 2013, at 3:52 AM, James Bennett wrote: Current hg tip is actually 1.5-compatible, in the sense that if you want to use your own User model, you just subclass the provided stuff and plug in your model, either importing di

Re: Django-Registration/Custom Authentication Issue

2013-04-17 Thread James Bennett
Current hg tip is actually 1.5-compatible, in the sense that if you want to use your own User model, you just subclass the provided stuff and plug in your model, either importing directly or using the helper function in Django 1.5. django-registration does not do this itself because 1. Using Djan

Re: Django-Registration/Custom Authentication Issue

2013-04-16 Thread Lee Hinde
Thanks Scott; that turned out to be the issue. I found those references and updated them and all is well. On Apr 16, 2013, at 7:05 PM, Scott Anderson wrote: > Django registration is not compatible with custom user models in Django 1.5, > as it directly references django.contrib.auth.models.Use

Re: Django-Registration/Custom Authentication Issue

2013-04-16 Thread Scott Anderson
Django registration is not compatible with custom user models in Django 1.5, as it directly references django.contrib.auth.models.User in several places. If you want to maintain your own copy you can swap those refs for those of your own User model. -scott Via mobile phone On Apr 16, 2013, at 9

Re: Django-Registration/Custom Authentication Issue

2013-04-16 Thread Rainy
On Sunday, April 14, 2013 9:49:32 PM UTC-4, Lee Hinde wrote: > > I'm trying to do a 'simple' registration with just a user email and > password required to create an account. I'm using django-registration with > django 1.5.1 and have created a custom model and the custom model manager. > > I

Re: django-registration vs Django 1.5

2013-03-09 Thread James Bennett
I plan to work on it at the PyCon sprints. Rejected some pull requests lately though due to people abusing various features of bitbucket to spam rather than to help, and my policy is not to reward that kind of behavior. -- You received this message because you are subscribed to the Google Groups

Re: django-registration vs Django 1.5

2013-03-09 Thread Ernest Ezis
I setup a brand new 1.5 project today. I had everything working fine. Was using django's built in admin to test/refine and add data to my models. Then I installed django-registration using the repo below, and grabbed the templates. The good news is that, yes, the registration stuff works and

Re: django-registration vs Django 1.5

2013-03-01 Thread william ratcliff
I believe that my patched version should also work: https://github.com/williamratcliff/django-registration Please let me know if there are problems--I should issue a pull request (the patch is minor) On Fri, Mar 1, 2013 at 11:07 AM, Johan Kock wrote: > Hi Xavi, > > I'm wrestling with the same

Re: django-registration vs Django 1.5

2013-03-01 Thread Johan Kock
Hi Xavi, I'm wrestling with the same problem right now. There are a couple of pull request to solve this but until they are accepted I'm using this fork: https://bitbucket.org/eire1130/django-registration pip install https://bitbucket.org/eire1130/django-registration/get/tip.tar.gz /Johan

Re: django-registration-template

2013-01-23 Thread Pankaj Singh
Hey Sameer, His project uses twitter bootstrap forms in templates. That's the only unique thing about this project. If you are looking for an email based registration app in django which uses bootstrap forms then you can use this one. -- Pankaj Singh http://about.me/psjinx On Wed, Jan 23, 2013

Re: django-registration-template

2013-01-23 Thread SameerOak
Hello, Sorry if you find my question too foolish or naive. Actually, I don't have any web development experience and this is the first time I'm trying to learn django and twitter-bootstrap. While searching on the forum for a solution about how to use twitter-bootstrap on the client side while d

Re: django-registration fork for 1.5?

2012-12-16 Thread Detectedstealth
You really don't need a fork I am using the latest dev build of django and the only thing you need to change is the direct_to_template in the urls.py to use the new class based views and everything else works as is, I even have a custom user. On Wednesday, December 12, 2012 2:44:53 PM UTC-8, mi

Re: django-registration customization

2012-12-14 Thread sri
Hi Karen, Thanks very much for your help. It's working now after i used the registrationfrom in the template. Thanks On Friday, 14 December 2012 02:34:24 UTC, Karen Tracey wrote: > > On Wed, Dec 12, 2012 at 3:36 PM, sri >wrote: > >> Now, when i click on the register button on the page, the for

Re: django-registration customization

2012-12-13 Thread Karen Tracey
On Wed, Dec 12, 2012 at 3:36 PM, sri wrote: > Now, when i click on the register button on the page, the form validation > does not work. > Let's say if i enter the username that already exists on the database, it > is not reporting any errors. It is just displaying the form without any > error me

Re: django registration custom backend

2012-10-27 Thread Bill Freeman
If I were doing this, I would create a view, written (or decorated) to require a new permission (or allowing superuser without the permission) to use, containing a form to collect minimal information, certainly email and username, probably also human name. The form class would have validation that

Re: Django-registration tutorial + code

2012-07-09 Thread Dhilip Sivaramakrishnan
Hello, i think the major issue is with your db query, this issue is happened while entering data to db. So try to check with your registration module. -- Dhilip S On Tue, Jul 10, 2012 at 5:01 AM, Jeff Silverman wrote: > I'm new as well, but I have run into similar issues when I don't have th

Re: Django-registration tutorial + code

2012-07-09 Thread Jeff Silverman
I'm new as well, but I have run into similar issues when I don't have the environment settings assigned properly. On Mon, Jul 9, 2012 at 12:03 AM, scoop wrote: > i installed registration, added registration to installed apps and used > your > templates. > > i nav to accounts/register , enter the

Re: Django-registration tutorial + code

2012-07-09 Thread scoop
i installed registration, added registration to installed apps and used your templates. i nav to accounts/register , enter the info and as i continue it breaks with the following: DoesNotExist at /accounts/register/ Site matching query does not exist. Request Method: POST Request URL:http://s

Re: django-registration simple backend help

2012-05-28 Thread psychok7
i followed your tips and got my answer here http://stackoverflow.com/questions/3441436/the-next-parameter-redirect-django-contrib-auth-login thanks ;) On Monday, May 28, 2012 9:43:34 PM UTC+1, Rafael Durán Castañeda wrote: > > El 28/05/12 22:13, Rafael Dur�n Casta�eda escribi�: > > El

Re: django-registration simple backend help

2012-05-28 Thread Rafael Durán Castañeda
El 28/05/12 22:13, Rafael Durán Castañeda escribió: El 28/05/12 21:28, psychok7 escribió: yes i read that part before posting, but i just dont understand the beahaviour of the normal login that redirects me somewhere and the login after registration that redirects me elsewhere. wich one should

Re: django-registration simple backend help

2012-05-28 Thread Rafael Durán Castañeda
El 28/05/12 21:28, psychok7 escribió: yes i read that part before posting, but i just dont understand the beahaviour of the normal login that redirects me somewhere and the login after registration that redirects me elsewhere. wich one should i use? On Monday, May 28, 2012 8:15:28 PM UTC+1, R

Re: django-registration simple backend help

2012-05-28 Thread psychok7
yes i read that part before posting, but i just dont understand the beahaviour of the normal login that redirects me somewhere and the login after registration that redirects me elsewhere. wich one should i use? On Monday, May 28, 2012 8:15:28 PM UTC+1, Rafael Durán Castañeda wrote: > > El 28/0

Re: django-registration simple backend help

2012-05-28 Thread Rafael Durán Castañeda
El 28/05/12 20:18, psychok7 escribió: anyone? On Monday, May 28, 2012 1:54:20 AM UTC+1, psychok7 wrote: hi there i am writing an app using django-registration 0.8 installed from pip and using the simple-backend my problem is, when i register a new user it logs me in after inser

Re: django-registration simple backend help

2012-05-28 Thread psychok7
anyone? On Monday, May 28, 2012 1:54:20 AM UTC+1, psychok7 wrote: > > hi there i am writing an app using django-registration 0.8 installed from > pip and using the simple-backend > > my problem is, when i register a new user it logs me in after inserting in > the db and redirects me to /users//

R: Re: R: Re: Django-registration tutorial + code

2012-05-16 Thread francescobocca...@libero.it
Thanks, it works perfectly.:) Francesco >Messaggio originale >Da: mail2nishad...@gmail.com >Data: 16/05/2012 19.57 >A: "Django users" >Ogg: Re: R: Re: Django-registration tutorial + code > >Hi ! >Please try following steps , it would definitely wo

Re: R: Re: Django-registration tutorial + code

2012-05-16 Thread nishad
in > find_template, line 138 > > /usr/local/lib/python2.7/dist-packages/django/contrib/auth/templates/registration/logout.html > (File does not exist) > Can you help me to understand it? > Thanks > Francesco > > Messaggio originale > > Da: scoobygalle...

R: Re: Django-registration tutorial + code

2012-05-16 Thread francescobocca...@libero.it
it? Thanks Francesco Messaggio originale Da: scoobygalle...@gmail.com Data: 16/05/2012 15.34 A: Cc: "francescobocca...@libero.it" Ogg: Re: Django-registration tutorial + code Hi! You can go this way: install the right version of django-registrationthis command will do th

R: Re: Django-registration tutorial + code

2012-05-16 Thread francescobocca...@libero.it
Thanks to all for answers, i'll try all solutions and i let you know.Thanks you again Francesco Messaggio originale Da: scoobygalle...@gmail.com Data: 16/05/2012 15.34 A: Cc: "francescobocca...@libero.it" Ogg: Re: Django-registration tutorial + code Hi! You

Re: Django-registration tutorial + code

2012-05-16 Thread scoobygalletas
Hi! You can go this way: 1. install the right version of django-registration 1. this command will do the trick: 2. pip install https://bitbucket.org/ubernostrum/django-registration/downloads/django-registration-0.8-alpha-1.tar.gz 2. Add "registration" to installed ap

Re: Django-registration tutorial + code

2012-05-16 Thread Sandro Dutra
I always used the native authentication API and it's sufficient for me, well documented: https://docs.djangoproject.com/en/1.4/topics/auth/ 2012/5/16 francescobocca...@libero.it > Hi all, > i'n new of Django and i like to create an registration user form my web > site > (login, logout, profile u

Re: Django-registration tutorial + code

2012-05-16 Thread Sandro Dutra
I always used the native authentication API and it's sufficient for me, well documented: https://docs.djangoproject.com/en/1.4/topics/auth/ 2012/5/16 francescobocca...@libero.it > Hi all, > i'n new of Django and i like to create an registration user form my web > site > (login, logout, profile u

Re: Django-registration tutorial + code

2012-05-16 Thread Frankline
This link should provide a few pointers, though a bit old. http://www.djangobook.com/en/beta/chapter12/ F.O.O -- 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 unsubscribe fr

Re: django registration

2012-03-05 Thread Alec Taylor
*hard to say On Tue, Mar 6, 2012 at 2:03 AM, Alec Taylor wrote: > Not sure how large your app is, so had to say. > > On Tue, Mar 6, 2012 at 1:59 AM, Stanwin Siow wrote: >> I don't think using another external app now would be ideal since i want to >> push it to production soon. >> >> From what i

Re: django registration

2012-03-05 Thread Alec Taylor
Not sure how large your app is, so had to say. On Tue, Mar 6, 2012 at 1:59 AM, Stanwin Siow wrote: > I don't think using another external app now would be ideal since i want to > push it to production soon. > > From what i found online, it says i'm calling that profile_callback() that > is in the

Re: django registration

2012-03-05 Thread Stanwin Siow
I don't think using another external app now would be ideal since i want to push it to production soon. >From what i found online, it says i'm calling that profile_callback() that is >in the original forms.py. But having said that, i think Pinax is quite cool if i've got the time to take a loo

Re: django registration

2012-03-05 Thread roy moss
Pinax is an open-source platform built on the Django Web Framework . By integrating numerous reusable Django apps and providing starter projects and infrastructure tools, Pinax takes care of the things that many sites have in common so you can focus on what makes your si

Re: django registration

2012-03-05 Thread Stanwin Siow
what is Pinax? And this is not a learning exercise. Well i'll still want to know the other way too. Best Regards, Stanwin Siow On Mar 5, 2012, at 9:41 PM, Alec Taylor wrote: > DRY principle is what Django is all about. > > Use Pinax instead of developing your own Profile system. > > If

Re: django registration

2012-03-05 Thread Alec Taylor
DRY principle is what Django is all about. Use Pinax instead of developing your own Profile system. If Pinax profiles don't show exactly what you want, extend them. Unless you're doing this as a learning exercise? On Mon, Mar 5, 2012 at 10:46 PM, Stanwin Siow wrote: > Even after doing that, >

Re: django registration

2012-03-05 Thread Stanwin Siow
Even after doing that, The error still occurs. And my data is still unsaved in the database. Should i be creating a backend? Best Regards, Stanwin Siow On Mar 5, 2012, at 7:13 PM, nicolas HERSOG wrote: > I looked at my code in order to notice diffs. > > You should add return new_user() af

Re: django registration

2012-03-05 Thread nicolas HERSOG
I looked at my code in order to notice diffs. You should add return new_user() after your new_profile.save() On Mon, Mar 5, 2012 at 11:54 AM, Stanwin Siow wrote: > Greetings, > > How do i save a user's profile into the database once i entered the > details in my custom registration form? > > Al

Re: django-registration-template

2011-11-04 Thread Andre Lopes
Great! I will test your templates. I'm new to Django and I have searched a lot for this. The templates look awesome. Best Regards, On Fri, Nov 4, 2011 at 4:11 AM, Ezequiel Bertti wrote: > Hi, > I just release a project on github with bootstrap from twitter v1.4 form > django-registration. > Is

Re: Django Registration extra fields not getting saved

2011-10-03 Thread Swaroop Shankar V
Hello Sébastien, Thanks for your response. I just figured out the issue. Actually signals was not getting called. The reason was that the django-registration was not installed properly. Actually i copied the django-registration folder to my project folder instead of the normal installation. Once i

Re: Django Registration extra fields not getting saved

2011-10-03 Thread BILLION Sébastien
Hi, Can you send your signals.py? I think you have a problem with your signal BILLION Sébastien the Answer to the ultimate question of life, the universe and everything is 42 http://www.sebastienbillion.com/ Le 01/10/2011 10:59, Swaroop Shankar a écrit :

Re: django-registration + csrf token

2011-09-11 Thread nicolas HERSOG
omg, I'm so ashamed... I use {% csrf_token %} and it works, Thx :) Nicolas On Sun, Sep 11, 2011 at 2:52 PM, DrBloodmoney wrote: > On Fri, Sep 9, 2011 at 12:02 PM, Brett Hutley wrote: > > You need to add it to the registration_form.html as well. > > > > Make sure you have 'django.middleware.csr

Re: django-registration + csrf token

2011-09-11 Thread DrBloodmoney
On Fri, Sep 9, 2011 at 12:02 PM, Brett Hutley wrote: > You need to add it to the registration_form.html as well. > > Make sure you have  'django.middleware.csrf.CsrfViewMiddleware', in the > MIDDLEWARE_CLASSES tuple in the settings.py file. > > Cheers, Brett > > On 9 Sep 2011, at 16:47, nicolas H

Re: django-registration + csrf token

2011-09-09 Thread Brett Hutley
You need to add it to the registration_form.html as well. Make sure you have 'django.middleware.csrf.CsrfViewMiddleware', in the MIDDLEWARE_CLASSES tuple in the settings.py file. Cheers, Brett On 9 Sep 2011, at 16:47, nicolas HERSOG wrote: > Hi All ! > > Do any of you use this app > https:/

Re: Django-Registration, How can a beginner work with this 3rd party App?

2011-08-16 Thread Andre Lopes
Thanks for your reply. I will follow this tutorial. Best Regards, On Tue, Aug 16, 2011 at 4:36 PM, shacker wrote: > See also: > > django-profiles: The Missing Manual > http://birdhouse.org/blog/2009/06/27/django-profiles/ > > (django-profiles and django-registration are close cousins; I always >

Re: Django-Registration, How can a beginner work with this 3rd party App?

2011-08-16 Thread shacker
See also: django-profiles: The Missing Manual http://birdhouse.org/blog/2009/06/27/django-profiles/ (django-profiles and django-registration are close cousins; I always use them in combination with one another). ./s -- You received this message because you are subscribed to the Google Groups

Re: Django-Registration, How can a beginner work with this 3rd party App?

2011-08-15 Thread william ratcliff
Perhaps the following blog post will be useful for you if you just want to get something up and running: http://devdoodles.wordpress.com/2009/02/16/user-authentication-with-django-registration/ The author even has a link where you can download some of the standard templates. Best, William On Mo

Re: Django-Registration, How can a beginner work with this 3rd party App?

2011-08-15 Thread Andre Terra
To be honest, django registration is quite complex in some aspects for a beginner, due to its modularity. Creating a custom backend for a third party app isn't the easiest exercise for a newbie. If anyone has examples on how to customize django registration, now would be a great time to share it!

Re: Django-Registration, How can a beginner work with this 3rd party App?

2011-08-15 Thread Thomas Weholt
Have you followed the standard tutorial on https://docs.djangoproject.com/en/1.3/intro/tutorial01/? Look at the http://www.djangobook.com/en/2.0/ ? If you haven't you should start there and not jump directly at a third app. After doing the tutorials and reading through the djangobook the online doc

Re: django-registration - stuck at Required templates topic

2011-08-05 Thread Eyad Al-Sibai
I had the same thing... all what you need is to add " {% csrf_token %}" in each template for Post form it will solve your issue On Sat, Aug 6, 2011 at 7:42 AM, bob gailer wrote: > I have stumbled around following various pieces of advice: > > added to views: >from django.core.context_proce

Re: django-registration - stuck at Required templates topic

2011-08-05 Thread bob gailer
I have stumbled around following various pieces of advice: added to views: from django.core.context_processors import csrf modified views to end with: form = ContactForm() c = {} c.update(csrf(request)) c['form'] = form return render_to_response('contact_fo

Re: django-registration - stuck at Required templates topic

2011-08-04 Thread Bruce Dou
I also think that should be a default simple template in the package. On Fri, Aug 5, 2011 at 12:52 PM, Phang Mulianto wrote: > well..like the error said..you need to put {% csrf_token %} inside your > form.. do you read the tutorial? you should read it if you serious getting > in django. . it he

Re: django-registration - stuck at Required templates topic

2011-08-04 Thread Phang Mulianto
well..like the error said..you need to put {% csrf_token %} inside your form.. do you read the tutorial? you should read it if you serious getting in django. . it helps you alot as it help me too.. On Aug 5, 2011 12:12 PM, "bob gailer" wrote: > > > On Aug 4, 11:47 pm, Mario Gudelj wrote: >> Hey B

Re: django-registration - stuck at Required templates topic

2011-08-04 Thread bob gailer
On Aug 4, 11:47 pm, Mario Gudelj wrote: > Hey Bob, > > You can download some basic templates for this > pagehttp://devdoodles.wordpress.com/2009/02/16/user-authentication-with-d... OK - did that - now what? I can get the login form displayed - when I click get: Forbidden (403) CSRF verificat

Re: django-registration - stuck at Required templates topic

2011-08-04 Thread Mario Gudelj
Hey Bob, You can download some basic templates for this page http://devdoodles.wordpress.com/2009/02/16/user-authentication-with-django-registration/ Cheers, On 5 August 2011 12:42, bob gailer wrote: > I followed the installation & configuration of django-registration up > to the start of th

Re: django-registration - Activate view not works

2011-03-15 Thread bedros
I really like django-userena better than django-registration; thanks for the link -Bedros On Mar 13, 3:52 pm, Sergio Berlotto Jr wrote: > Well, I'll try thehttp://django-userena.orgbecouse django-registration is > stoped development since March/2010. -- You received this message because you ar

Re: django-registration - Activate view not works

2011-03-15 Thread Sergio Berlotto Jr
Did not work. -- 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 unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit t

Re: django-registration - Activate view not works

2011-03-14 Thread Sergio Berlotto Jr
I´ll try it.. In my template I wrote the URL manually ! Oh god.. heheh -- 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 unsubscribe from this group, send email to django-use

Re: django-registration - Activate view not works

2011-03-14 Thread Cromulent
Sounds to me like you have done the wrong thing in your templates. My registration email template contains this line: http://{{ site }}{% url registration_activate activation_key=activation_key %} which should provide the correct information. If you already have that and it still does not work

Re: django-registration - Activate view not works

2011-03-13 Thread Sergio Berlotto Jr
Well, I'll try the http://django-userena.org becouse django-registration is stoped development since March/2010. -- 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 unsubscribe

Re: django-registration - Activate view not works

2011-03-13 Thread Sergio Berlotto Jr
The variable "activation_key" is blank, with no value, and the result os activation redirect always to activation_failed view. -- 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. T

Re: django-registration - Activate view not works

2011-03-13 Thread Cromulent
What is the error message you receive? On Mar 13, 5:27 pm, Sergio Berlotto Jr wrote: > I'm using django-registration. > The activation email is generated correctly, but when i'm trying to activate > the new user with generated key sent by e-mail, in > urlhttp://server.com/accounts/activate/ee3ad

Re: django-registration question: activation_key_expired.boolean = True

2010-10-31 Thread adj7388
> This particular object is used by the admin: > > http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#django.contri... > > Read through that carefully and you'll see the 'boolean' option and a > few other useful tricks. Well, this is embarrassing. I had actually read (err, skimmed?) that page

Re: django-registration question: activation_key_expired.boolean = True

2010-10-31 Thread James Bennett
On Sun, Oct 31, 2010 at 8:48 AM, adj7388 wrote: > What does that last line do? I have looked high and low in Django and > Python documentation, but I can't find an example or explanation of > this pattern. It appears to be clobbering the method > 'activation_key_expired()' with a boolean that is a

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
So you need to make your reverse calls use this views, if is really needed. If only template names are changed, have no sense to add custom views, just use same names in right place. and about this right place...when I used: accounts/templates/registration/ some templates for password get templ

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
Yeah. I don't understand that either. Except that auth_views.py uses different templates I think… Sent from my iPhone On Oct 7, 2010, at 1:50 PM, Felipe Prenholato wrote: But about views that you have at auth_views.py, are same of django auth views? this registration/auth_views.py exists for so

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
But about views that you have at auth_views.py, are same of django auth views? this registration/auth_views.py exists for something, not? 2010/10/7 Joel Klabo > Awesome, that fixed it. All I had to do was change "from registration > import auth_views" to "from django.contrib.auth import views as

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
Awesome, that fixed it. All I had to do was change "from registration import auth_views" to "from django.contrib.auth import views as auth_views" Thank you so much On Thu, Oct 7, 2010 at 12:56 PM, Ted wrote: > I think your problem is in auth_urls.py > > 28 - from registration import auth_views

Re: Django Registration password reset problem

2010-10-07 Thread Ted
I think your problem is in auth_urls.py 28 - from registration import auth_views in my version of registration this is: from django.contrib.auth import views as auth_views Then you can understand why you get this error: NoReverseMatch: Reverse for 'django.contrib.auth.views.password_reset_compl

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
I am just using it as is. I haven't modified any of the code from django-registration. I'm confused as to how these are connected. Thanks for looking. On Thu, Oct 7, 2010 at 10:20 AM, Felipe Prenholato wrote: > This auth_views.py doesn't exist in trunk (that is this version), sounds > like you wr

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
This auth_views.py doesn't exist in trunk (that is this version), sounds like you writing custom admin views? Or you just copied admin/views.py locally? You already tried to resolve via name of url? Else, if you writing custom admin views, isn't right to reference this custom views? (anyway, toni

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
Also, all my code is on Github if you would like to see something else: http://github.com/joelklabo/brooski I really appreciate your help, thank you. On Thu, Oct 7, 2010 at 9:43 AM, Joel Klabo wrote: > My version is: VERSION = (0, 8, 0, 'alpha', 1) > > Yeah, I have that include in my version as

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
My version is: VERSION = (0, 8, 0, 'alpha', 1) Yeah, I have that include in my version as well... It sends and email with this link: http://brooski.net/accounts/password/reset/confirm/1-2r2-ce8f57c2669d29e5f24e/ and

Re: Django Registration password reset problem

2010-10-07 Thread Felipe Prenholato
Actually auth urls is 'appended' to urls in default backend (and should be added to your own backend if you create one). Take a look at this line: http://1l.to/bf1/ ... so you don't need to add it (again) to your urls. I don't have this error with password_reset_complete view , but I'm using my c

Re: Django Registration password reset problem

2010-10-06 Thread Joel Klabo
Thanks for checking it out, this is the way it's set up: http://dpaste.org/e6Ra/ it looks like it's using registration.auth_urls to direct to the django.contrib.auth.urls ? I don't understand why registration.auth_urls would exist... On Oct 6, 6:32 pm, Ian Lewis wrote: > I just took a cursory lo

Re: Django Registration password reset problem

2010-10-06 Thread Ian Lewis
I just took a cursory look at this but did you make sure to add something like the following to your urlpatterns in urls.py? urlpatterns=patterns('', ... (r'^accounts/', include('django.contrib.auth.urls')), ... ) On Thu, Oct 7, 2010 at 1:29 AM, Joel Klabo wrote: > So now I am redire

Re: Django Registration password reset problem

2010-10-06 Thread Joel Klabo
So now I am redirecting to the named url in the URL conf. That is now giving me the error: The included urlconf registration.auth_urls doesn't have any patterns in it ... http://dpaste.org/OOw5/ any ideas would be greatly appreciated On Oct 5, 5:56 pm, Joel Klabo wrote: > Ok, so I'm pretty sure t

  1   2   >