Before going to answer of your question i am really sure that you have
not read the docs of django-registration and django docs any
way
if you want to make it use django-registration(default) then install
it and write in settings.py 'registration'(below of your appname)
in
name='registration_activate'),
url(r'^login/$',
auth_views.login,
{'template_name': 'registration/
login.html'},
name='auth_login'),
name='registration_activate'),
url(r'^login/$',
auth_views.login,
{'template_name': 'registration/
login.html'},
name='auth_login'),
The templates are basically your HTML pages. You need to write your
urls.py so that when a user visits a certain page, the view that
corresponds to that url is just a render_to_response with a path to
the HTML page. I can't really be bothered to explain it in detail but
once you get the hang of
I have a fair understanding of Python, and have been interested in
Django for a while now, I have read the documentation and done some
tutorials.
Now I want to get my teeth stuck into a working project, As I said I
want to set up a working registration application, and I am working
through the
eed just "registration"? No you don't.
Again, please read Eric's essay (see link above).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
I am working through the following tutorial :
http://www.mangoorange.com/2008/09/17/django-registration-tutorial/
A sample working document is provided, im just not sure how to get it
working!
I am unsure whether I have to provide the HTML myself to create the
forms for the registration, as its
On Apr 20, 9:50 am, soniiic wrote:
> you can't just add django funcationality to an already-made HTML
> site. The whole site has to be moved on the django platform.
Sorry for the lack of detail surrounding my problem.
soniiic, thanks for the help.
How should I go about moving the site onto
you can't just add django funcationality to an already-made HTML
site. The whole site has to be moved on the django platform.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this grou
On Sun, Apr 19, 2009 at 02:28:39AM -0700, TP wrote:
> Still having the same problem if anyone can help?
I can't help with your problem, but it's likely that I can help you find
people who are willing and able to help you. Please see this essay,
"How To Ask Questions The Smart Way," by Eric S. R
What exactly your problem?
We need more specific details about your errors that you're getting
On Apr 19, 7:28 pm, TP wrote:
> Still having the same problem if anyone can help?
>
> On Apr 17, 3:35 pm, TP wrote:
>
>
>
> > Hi I have a HTML website and im looki
Still having the same problem if anyone can help?
On Apr 17, 3:35 pm, TP wrote:
> Hi I have a HTML website and im looking to use Django-registration
> with it.
>
> I have downloaded the registration app, but cannot see how I add it to
> my already made website.
>
> An
Hi I have a HTML website and im looking to use Django-registration
with it.
I have downloaded the registration app, but cannot see how I add it to
my already made website.
Any help would be great.
--~--~-~--~~~---~--~~
You received this message because you are
On Apr 13, 5:57 am, Praveen wrote:
> How the current user logging-in first while registration.. you mean to
> say after successfully registration the user must login automatically.
Well, you haven't explained the user flow at all here. But I assume
that it's the RegistrationF
l activated the account).
> >
> > I will fix it.
> >
> > On Sun, Apr 12, 2009 at 12:21 PM, MrBodjangles >wrote:
> >
> > > Hi Folks and Happy Easter!
> >
> > > OK, making slow but sure progress on learning Django.
> >
> > > I a
t; OK, making slow but sure progress on learning Django.
>
> > I am using django-registration, have provided the simple templates
> > required, and am to the point that a user can register (their usename,
> > password, etc. get populated in the auth_user table of the PostgreSQL
>
How the current user logging-in first while registration.. you mean to
say after successfully registration the user must login automatically.
On Apr 11, 7:55 pm, Praveen wrote:
> Hi all, i am really fed up and have tried number of way. Please read
> my last line which really describe wher
am using django-registration, have provided the simple templates
> required, and am to the point that a user can register (their usename,
> password, etc. get populated in the auth_user table of the PostgreSQL
> databae I am using), and receives an email.
>
> I am stuck on the activation.
Hi Folks and Happy Easter!
OK, making slow but sure progress on learning Django.
I am using django-registration, have provided the simple templates
required, and am to the point that a user can register (their usename,
password, etc. get populated in the auth_user table of the PostgreSQL
On Apr 11, 3:55 pm, Praveen wrote:
> Hi all, i am really fed up and have tried number of way. Please read
> my last line which really describe where i am facing problem.
> First Attempt.
> Problem:Data is saving for register and contact but for profile i get
> error
> ValueError
> Exception Va
ength=30,
choices=CITY_CHOICES, blank=True)
class RegistrationForm(forms.Form):
"""The basic account registration form."""
title = forms.CharField(max_length=30, label=_('Title'),
required=False)
email = forms.EmailField(label=_('Email address
d_welcome_email(contact.email, contact.first_name,
contact.last_name)
signals.satchmo_registration_verified.send(contact,
contact=contact)
context = RequestContext(request, {
'account': account,
'expiration_days': config_value('SHOP',
&
I have a random/intermittent user registration problem. I can't figure
out any pattern to it, but it appears to have started when I went to
Django 1.0.
Some users (again, it appears random and intermittent) are not getting
a site user profile created. The auth.user profile is created, an
ield in user model class or not but i do not want
> change the structure of auth_user table. ok in a single line i want
> django-registration and django-profile to be mingle in one form. could
> you please suggest me link or idea.
So you need to provide:
1. A form class which has all the
of auth_user table. ok in a single line i want
django-registration and django-profile to be mingle in one form. could
you please suggest me link or idea.
On Apr 8, 5:36 pm, Praveen wrote:
> hi all i have one very intrested question when we write /accounts/
> register/ then on browser i get 5
On Wed, 2009-04-08 at 05:36 -0700, Praveen wrote:
[...]
> i am very much familiar with django-registration and django-profile
> but it really wiered to display extra fields on Registration Form for
> that we will have to customize the from django.contrib.auth.forms.
I feel you migh
hi all i have one very intrested question when we write /accounts/
register/ then on browser i get 5 field
username,pwd,cnfpwd,firstname,lastname
but i want to add two more fields city, age on registration form.
i know i can use django-profiles to extend User and can save to
UserProfile
but i am
Hello,
I'm new to django/python and I'm trying to use django-registration in
my first app but I'm having problems rendering the activation_key in
the email message i.e., the email_message.txt file passed as the first
argument to render_to_string() will render it's own conten
he rest of the message to be sent?
message = render_to_string('registration/
activation_email.txt',
{ 'activation_key':
registration_profile.activation_key,
'expiration_days
On Mon, Mar 23, 2009 at 6:28 PM, neri...@gmail.com wrote:
>
> Hey,
>
> does anyone know why I'm getting a "Exception Type:
> SMTPRecipientsRefused" error using django-registration?
>
> Exception Type: SMTPRecipientsRefused
> Exception Value:
>
&
Hey,
does anyone know why I'm getting a "Exception Type:
SMTPRecipientsRefused" error using django-registration?
Exception Type: SMTPRecipientsRefused
Exception Value:
{u'neri...@gmail.com': (504, ': Sender address
rejected: need fully-qualified
h 23, 2009 3:33:04 PM GMT -06:00 US/Canada Central
Subject: django-registration - outputting errors
Hello,
I just started my first django project and I'm not sure how to print
the errors from non_field_errors(). Here is the snippet from
registration.forms.py:
Hello,
I just started my first django project and I'm not sure how to print
the errors from non_field_errors(). Here is the snippet from
registration.forms.py:
def clean(self):
"""
Verifiy that the values entered into the two password fields
match. Note that an error
Hello,
I successfully set up django-registration on my local machine to the
point of being able to load a url and attempt to load the template.
However, I'm trying to set it up on Dreamhost and keep getting "An
unhandled exception was thrown by the application." The only th
may be it can
> > help someone:
>
> Unfortunately you found the wrong answer; if you're making changes to
> the code that came with django-registration, you're doin' it wrong.
>
> The "register" view takes keyword arguments precisely so that you can
>
On Fri, Mar 13, 2009 at 5:02 AM, Bastien wrote:
> I will answer my own question since I found the answer, may be it can
> help someone:
Unfortunately you found the wrong answer; if you're making changes to
the code that came with django-registration, you're doin' it wrong.
o use the available functionality "terms of service" in
> Django-Registration but have no clue about how I do that. I already
> have the basic thing running on my project.
>
> thanks
--~--~-~--~~~---~--~~
You received this message because you are subsc
Hi,
I'd like to use the available functionality "terms of service" in
Django-Registration but have no clue about how I do that. I already
have the basic thing running on my project.
thanks
--~--~-~--~~~---~--~~
You received this message because you
On Mon, Mar 2, 2009 at 7:44 AM, localhorst.1...@gmail.com <
localhorst.1...@gmail.com> wrote:
>
> hi,
> the UserCreationForm has only the fields username, password and
> password again.
> But i want an optional emailfield in my registration.
>
> i read the overrid
hi,
the UserCreationForm has only the fields username, password and
password again.
But i want an optional emailfield in my registration.
i read the overriding a ModelForm part in the documentation and i
tried this:
>>> class UserCreationFormExtended(ModelForm):
... email = model.E
u. are
> > you using django-profiles?
>
> > On Feb 19, 8:24 am, timlash wrote:
> > > I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my
> > > Debian Etch box. I'm making decent progress on developing my first
> > > Dja
> > Debian Etch box. I'm making decent progress on developing my first
> > Django web app. I've got models, tables, views, templates,
> > registration has successfully sent Gmail and test users have been
> > activated.
> >
> > My first noob problem: I don&
> Django web app. I've got models, tables, views, templates,
> registration has successfully sent Gmail and test users have been
> activated.
>
> My first noob problem: I don't understand how Django and/or
> Registration is controlling the order in which web pages are
>
I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my
Debian Etch box. I'm making decent progress on developing my first
Django web app. I've got models, tables, views, templates,
registration has successfully sent Gmail and test users have been
activated.
On Wednesday 11 February 2009 02:13:53 pm Alex Rades wrote:
> On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote:
> > I don't know about django-profiles, but django-registration provides a
> > couple signals, user_registered and user_activated. By connecting a
> > hand
On Wednesday 11 February 2009 02:13:53 pm Alex Rades wrote:
> On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote:
> > I don't know about django-profiles, but django-registration provides a
> > couple signals, user_registered and user_activated. By connecting a
> > hand
On Wed, Feb 11, 2009 at 10:43 PM, Mike Ramirez wrote:
> I don't know about django-profiles, but django-registration provides a couple
> signals, user_registered and user_activated. By connecting a handler to
> either one of these singals you can redirect the users to the profi
On Wednesday 11 February 2009 01:19:14 pm Alex Rades wrote:
> It's "django-profiles" not "django-profile"
>
> On Wed, Feb 11, 2009 at 10:15 PM, Alex Rades wrote:
> > Hi,
> > I'm developing a site using django-registration and I'm pretty ha
It's "django-profiles" not "django-profile"
On Wed, Feb 11, 2009 at 10:15 PM, Alex Rades wrote:
> Hi,
> I'm developing a site using django-registration and I'm pretty happy
> with it. Now, I need to attach a profile to each user, with some
> addi
Hi,
I'm developing a site using django-registration and I'm pretty happy
with it. Now, I need to attach a profile to each user, with some
additional information. I've set up django-profiles and... works OK
too :)
What I'd like to do now is to "force" a new user to
On Mon, Feb 2, 2009 at 4:33 AM, Praveen wrote:
>
> I am trying to create UserProfile.i am using django-registration.
>
> [snip bunch of code that wraps badly in email, except a key bit]
> regview.py
> --
> def profile_callback(self, user):
> [snip]
if
I am trying to create UserProfile.i am using django-registration.
models.py
-
class UserProfile(models.Model):
user = models.ForeignKey(User, unique=True, verbose_name=_('user'))
gender = models.CharField(_('gender'), max_length=1,
choices=GENDER_
It seems to me the that automatic mechanism mentioned in the docs
does not exist in django-registration but in its component
django-profiles, reading the source code I see this...
def create_profile(request, form_class=None, success_url=None,
template_name='pro
Django 1.0/django-registration .07 problems continue
***
Issue 1 - No module named urls occuring during registration form
completion.
Via the methodology listed by Karen above I was able to trace my
missing
On Wed, Jan 21, 2009 at 2:21 PM, NoviceSortOf wrote:
>
>
> Karen:
>
> Thanks again, you are right I had the userprofile installed instead of
> django-profiles
> installed.
>
> I went to the bitbucket django-registration link you mentioned before
> and downloaded th
Karen:
Thanks again, you are right I had the userprofile installed instead of
django-profiles
installed.
I went to the bitbucket django-registration link you mentioned before
and downloaded the django-profiles linked there and installed it.
I made a small modification to
On Wed, Jan 21, 2009 at 12:22 PM, NoviceSortOf wrote:
>
> > 0.7 is where full Django 1.0 compatibility was included. I'm assuming
> you
> > are using Django 1.0 or higher? The error related to 'alnum_re' you
> mention
> > later looks to be the
> 0.7 is where full Django 1.0 compatibility was included. I'm assuming you
> are using Django 1.0 or higher? The error related to 'alnum_re' you mention
> later looks to be the result of django-registration using a core validator
> thingy -- these were all removed
On Wed, Jan 21, 2009 at 10:06 AM, NoviceSortOf wrote:
>
>
> Initially my problem was getting django-registration to add/update new
> users to my
> custom designed mysite.UserProfile table.
>
> Other than that django-registration worked o.k. sent notifications and
> so on,
update to the above - running manage.py syncdb DID
create the mysite.myproject.userprofile
with all the userprofile.models base fields included.
on completion of the registration form though i still get The
following error
* Request URL: http://www.rareasianbooks.com/accounts
Initially my problem was getting django-registration to add/update new
users to my
custom designed mysite.UserProfile table.
Other than that django-registration worked o.k. sent notifications and
so on,
but without it giving me control of our custom user profile it was
impossible to
move
Thanks Bruno,
Looks like out emails crossed in the ether!
The error message didn't really help, it was failing at the auth
stage, which doesn't help debugging. My colleague had to add debug
code to Django auth to figure out the issue.
I was just surprised that @login_required didn't check for i
On 21 jan, 00:27, AlastairC wrote:
> Hi everyone,
>
> I'm trying to create a registration process that includes membership
> details and a paypal bit (for a non-profit org), and use the
> registration app as the first step.
>
> However, I'd like to log people in
To answer my own question... I got some help at work, and established
that the login was failing because it is using the hashed password,
not the raw one.
That means that there is no way for me to use the activation stage to
log the person in (apart from asking them for their details again). I
ca
Hi everyone,
I'm trying to create a registration process that includes membership
details and a paypal bit (for a non-profit org), and use the
registration app as the first step.
However, I'd like to log people in when they 'activate' (click the
link in the email and retur
I just hg pull the code from time to time. I've had bad luck running
the latest/greatest of anything. So now I only upgrade when I need
to.
-d
On Dec 16, 6:23 am, shabda wrote:
> Django registration has moved from googlecode to Bitbucket, which
> means my projects which are svn:ex
On Tue, Dec 16, 2008 at 8:23 AM, shabda wrote:
> Django registration has moved from googlecode to Bitbucket, which
> means my projects which are svn:externaled to django-registration
> might not get the latest code. Is anyone maintaining an svn repository
> which is I can svn:exter
Django registration has moved from googlecode to Bitbucket, which
means my projects which are svn:externaled to django-registration
might not get the latest code. Is anyone maintaining an svn repository
which is I can svn:external to?
--~--~-~--~~~---~--~~
You
Maximus007 wrote:
> Hi guys,
> I am not able to change any of the file
> ("views.py,""form.py,""models.py","urls.py") in user registration
> module which I have installed in Python's sitepackages.It is giving me
> permission denied msg
Hi,
I'm not exactly getting your problem. If you can't import the module
registration something went wrong in the installation. I don't get why
you want to change the code of the application. The application works
like a charm (once correct installed). Maybe you should read the
do
Hi guys,
I am not able to change any of the file
("views.py,""form.py,""models.py","urls.py") in user registration
module which I have installed in Python's sitepackages.It is giving me
permission denied msg.
I have to use email id as an username inst
Alex S. wrote:
> hi there,
>
> i want to use django-profiles to save some additional data for each
> user. so i created the needed profile model and set it in my settings
> file. after some looking over the standard user model i found fields
> for first- and lastname. i need that data in my profil
Thanks!
regards
Alex
On 11 Nov., 16:16, Steve Holden <[EMAIL PROTECTED]> wrote:
> Alex S. wrote:
> > hi there,
>
> > i want to use django-profiles to save some additional data for each
> > user. so i created the needed profile model and set it in my settings
> > file. after some looking over the
hi there,
i want to use django-profiles to save some additional data for each
user. so i created the needed profile model and set it in my settings
file. after some looking over the standard user model i found fields
for first- and lastname. i need that data in my profiles and really
would not li
On Sat, Oct 11, 2008 at 4:39 AM, NoviceSortOf <[EMAIL PROTECTED]> wrote:
>
> These lines in forms.py
> ---
> 92. new_user =
>
> RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'],
> 93. pass
These lines in forms.py
---
92. new_user =
RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'],
93. password=self.cleaned_data['password1'],
94. first_name=self.cleaned_data['first_name'],
On Fri, Oct 10, 2008 at 4:02 PM, NoviceSortOf <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to add first_name and last_name to the registration form.
>
> Under class RegistrationForm(forms.Form)
>
> I add
>
> fir
I'm trying to add first_name and last_name to the registration form.
Under class RegistrationForm(forms.Form)
I add
first_name = forms.RegexField(regex=r'^\w+$',
max_length=30,
widget=forms.TextInput(attrs=attrs_dict),
Thanks guys, that fixed the problem.
On Wed, Oct 8, 2008 at 6:37 PM, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> Rishabh Manocha wrote:
>> On Wed, Oct 8, 2008 at 5:07 PM, Chris <[EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>> wrote:
>>
>>
>>
Rishabh Manocha wrote:
> On Wed, Oct 8, 2008 at 5:07 PM, Chris <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> I installed django-registration via easy_install, and followed the
> directions for setting it up in my app, but when I go to /r
On Sep 11, 5:39 pm, cjl <[EMAIL PROTECTED]> wrote:
> Probably not exactly what you are looking for, but check out:
>
> https://pycon.coderanger.net/
>
> -cjlesh
that 129 snippest didnt work for me. I just put the top in the view
and the bottom as a template.
I get this, can anybody tell me what
On Wed, Oct 8, 2008 at 5:07 PM, Chris <[EMAIL PROTECTED]> wrote:
>
> I installed django-registration via easy_install, and followed the
> directions for setting it up in my app, but when I go to /register, I
> get the error:
>
> File "/usr/lib/python2.5/site-pac
I installed django-registration via easy_install, and followed the
directions for setting it up in my app, but when I go to /register, I
get the error:
File "/usr/lib/python2.5/site-packages/django_registration-0.5-
py2.5.egg/registration/views.py", line 12, in
File "/us
Hi,
I want to make a registration form that writes to two models: User and
a custom Preferences. It seems that model formsets would be the best
way to do that, but all the documentation I can find seems to say that
modelformset_factory gets associated with a queryset. If I want to
create a new
Probably not exactly what you are looking for, but check out:
https://pycon.coderanger.net/
-cjlesh
--~--~-~--~~~---~--~~
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,
There was a django calendar app but it is in 'rewriting' right now
and will be released soon (from what i heard).
For now i built mine based on this snippest
http://www.djangosnippets.org/snippets/129/
Greg
On Sep 11, 5:59 pm, Marcus <[EMAIL PROTECTED]> wrote:
> Hi -- django newbie here put
Hi -- django newbie here putting together a site for a client who
wants a calendar of events that users can register for. Before I
build one I thought I'd check with the community to see if something
similar already exists-- any suggestions? I think a general calendar
model, or something that al
tivate
>
> def activate(request, activation_key):
> '''
> Wrapper around registration module's activate view, which logs in user
> '''
> prior = RegistrationProfile.objects.get(activation_key=activation_key)
> resp = activ
Hi all,
I'm using django-registration 0.6 to handle user account creation:
http://code.google.com/p/django-registration/
When the user activates their account (by following the activation link that
they are emailed), what I'd like is for them to be logged in right away. As
far as
This is how I solved it!
my model is like this:
class userForm(forms.Form):
username = forms.CharField()
display_name = forms.CharField()
email_address = forms.EmailField()
timezone = TimeZoneField()
password1 = forms.CharField(widget=forms.PasswordInput)
django-registration uses the standard settings for sending emails. You
need to use the following settings:
EMAIL_USE_TLS (Set to True if using Gmail)
EMAIL_HOST
EMAIL_HOST_USER
EMAIL_HOST_PASSWORD
EMAIL_PORT
More info is available here:
http://www.djangoproject.com/documentation/settings
Is there a reason emails aren't being sent when running this app on
localhost? Is there more that needs to be done to get the email
sending part working other then what is included with django-
registration? I'll come back to it later today.
T
Hi!
I'm also trying to use django-registration. In my case the userprofile
is mandatory, so I should create my own form. However, I would like to
use ModelForms for the UserProfile part, but I should also provide
room to enter username, and password. (and I also would like to store
addit
You didn't provide the 'dob' parameter.
On Jun 13, 12:02 pm, Chr1s <[EMAIL PROTECTED]> wrote:
> Hi thanks for your replay,
> It is the second situation, I re-write the form.py like this
>
> class RegistrationForm(forms.Form):
> (other stuff )
> def save(self, profile_callback=None
any help:?
On Jun 13, 6:02 pm, Chr1s <[EMAIL PROTECTED]> wrote:
> Hi thanks for your replay,
> It is the second situation, I re-write the form.py like this
>
> class RegistrationForm(forms.Form):
> (other stuff )
> def save(self, profile_callback=None):
>
> new_user =
> Re
Hi all!
I need an app, which registers users but also forces user to fill out
a profile.
I found the link below, but it seems to me, that django-profile will
not send email, and with django-registration I cannot force users to
fill out a profile (I would like to use ModelForm for this)
So what
Hi thanks for your replay,
It is the second situation, I re-write the form.py like this
class RegistrationForm(forms.Form):
(other stuff )
def save(self, profile_callback=None):
new_user =
RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['userna
Hi guys I am newbie for django, today I tried django-registration, in
the source code it said that
---
To enable creation of a custom user profile along with the
``User`` (e.g., the model specified
2008/6/13 Chr1s <[EMAIL PROTECTED]>:
> But still I don't know how to implement this, anyone could give me a
> simple example? thanks very much
This feature is intended for a situation where each of the following is true:
1. You have a custom user-profile model.
2. The user-profile model has been
Hi guys, I tried django-registration 0.5 today, it is powerful indeed,
but I have a site-specific user profile just like this writen in my
model.py
class Userdetail(models.Model):
user = models.ForeignKey(User, primary_key = True) #
nickname = models.CharField(max_length=30)
DOB
701 - 800 of 941 matches
Mail list logo