Earlier comment is correct that you shouldn't email a password. It's
actually not necessary, or even possible. The stored version is a "one
way hash" -- which is not reversible; there's no way to get the password
from the hash -- and you (should) only have access to the hashed value.
you should *never* send anything password related via email to the user.
doing so is highly irresponsible. furthermore, the plain password is never
stored in the database, only the encrypted hash of it.
--
You received this message because you are subscribed to the Google Groups
"Django
I have an attribute of a model called "options" that is an array of prayers
that are entered through textinputs. How can I declare this attribute in
the model and what widget may I use in the model form?
thank you!
--
You received this message because you are subscribed to the Google Groups
The HTML for the user registration form looks like this:
{% csrf_token %}
{{ registration_form.as_p }}
Register
I understand that the `registration_form.as_p` line automatically gives me
the form's HTML. But I'd like to customize that HTML. For instance, I'd
like the label text to be
why is `WebsocketMultiplexer.group_send` a class method?
Currently it's the following:
@classmethod
def group_send(cls, name, stream, payload, close=False):
message = cls.encode(stream, payload)
if close:
message["close"] = True
Hello,
after successful registration of the user, how to send personal information
(password) to the user in emails? I personally use send_mass_mail. But I
have a problem that the password is not in text, but it's in the
"encrypted" form.
I do not know how to send user's data but now they need
you'll need to set up a virtual conf file.
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/modwsgi/ has
good directions.
You can have it run on the same port, just set the URL path differently to
point to django. Eg, using the Alias directive
assuming you're talking python code, the django dev server, with the
runserver command, is live reloading.
If you're talking about javascript, that is something entirely different.
what commands are you executing?
--
You received this message because you are subscribed to the Google Groups
Hi all.I'm new in Django. I have a question.I have a server with apache and php. I would like to use django in this server.How can I config django in apache?Can I use django in the same port that php projects? How?Thank you a lot!Julián Melero.
--
You received this message because you are
How can i use live reloader in django. Please can anyone help me?
--
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 django-users+unsubscr...@googlegroups.com.
To
On Wednesday, 29 November 2017 08:24:26 UTC+5:30, Tom Tanner wrote:
>
> My `forms.py` looks like this. (I want user's email to be their login
> username.
> from django.utils.translation import ugettext_lazy as _
>
> from django import forms
> from django.contrib.auth.forms import
Nothing wrong, but havign set up the system I didn't want to change
software cause I'm not that savvy.
Anyway, I ended up hiring someone on Fivrr and got the job done. I was
closed, but not closed enough
Thank for you help !!!
Il giorno mercoledì 29 novembre 2017 22:56:37 UTC+1, Etienne
Tom,
- You shouldn't use Model=User (or the Meta) as it was a ModelForm, it is
just a regular Form
- AuthenticationForm takes request as its first parameter:
def login_register(request, template="templates/login_register.html"):
if request.method == "POST":
login_form =
13 matches
Mail list logo