Hi guys. What is wrong with my codes below?
class EmailChangeForm(forms.ModelForm):
new_email1 = forms.CharField(label = _("Type new Email"))
new_email2 = forms.CharField(label = _("Type Email again"))
def __init__(self, user, *args, **kwargs):
self.user = user
def clean_
Could you please clarify your question ?
What do you want to do ?
I dont have mind control skill
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Tue, May 14, 2013 at 10:33 AM, Nathaniel wrote:
> Hi guys. What is wrong with my codes below?
>
> class EmailChangeForm(forms.ModelForm):
>
Hi. Upon login, user can go to email_change_form.html to update their email
address. They will enter their new email twice to update their profile.
Actually, a change email confirmation would be perfect.
On Tuesday, May 14, 2013 3:33:41 PM UTC+8, Nathaniel wrote:
>
> Hi guys. What is wrong with m
Post your models, views, forms and sometimes a template
Many thanks,
Serge
+380 636150445
skype: skhohlov
On Tue, May 14, 2013 at 11:18 AM, Nathaniel wrote:
> Hi. Upon login, user can go to email_change_form.html to update their
> email address. They will enter their new email twice to updat
My codes below do not work, please help me correct them... Thanks in advance
urlpatterns = patterns('symphony.accounts.views',
(r'^email/change/$', 'email_change'),
url(r'^email/change/done/$', direct_to_template,
{'template': 'registration/email_change_done.html'},
name="email_ch
On Wednesday, 15 May 2013 10:58:32 UTC+1, Nat wrote:
> My codes below do not work, please help me correct them... Thanks in
> advance
>
>>
>>
No. You haven't said what does not "work". What happens? What doesn't
happen? What errors do you get? Be specific.
--
DR.
--
You received this message
To begin with, CharField needs a max_length parameter.
On 05/15/2013 11:58 AM, Nat wrote:
> My codes below do not work, please help me correct them... Thanks in
> advance
>
> urlpatterns = patterns('symphony.accounts.views',
> (r'^email/change/$', 'email_change'),
> url(r'^email/change/d
paste your url.py and model.py
2012/7/13 mickey :
> I had uploaded image of error.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/4QFMHRLMN58J.
>
On Friday, July 13, 2012 6:03:09 PM UTC+5:30, skhohlov wrote:
>
> paste your url.py and model.py
>
> 2012/7/13 mickey :
> > I had uploaded image of error.
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups
> > "Django users" group.
> > To view this
Hello Every one
I am new to Django. I have been working from 4 to 5 months only.
I have deployed the real time Project on PythonAnywhere.
Client is using this now.
My Basic question is
How to Secure our Project. What are the Preventive Steps We must take
before deployment of Project.
Some meas
You can go through below links:
https://docs.djangoproject.com/en/2.2/topics/security/
https://opensource.com/article/18/1/10-tips-making-django-admin-more-secure
https://coffeeonthekeyboard.com/best-basic-security-practices-especially-with-django-697/
https://developer.mozilla.org/en-US/docs/Lear
11 matches
Mail list logo