Let's say i have a "register a new user" View and on this page, when the
user forgets to inform a password or a username, i show a message to him on
the same page saying "you forgot the password". The way i do this is by
doing this(on my View.py in a function called cadastrarprofessor):
You aren't using Value correctly -- it's not for wrapping raw SQL.
https://docs.djangoproject.com/en/dev/ref/models/expressions/#value-expressions
What I was trying to suggest is that you write your own expression class
that generates the FIELD(...) SQL.
In my original ticket (https://code.djangoproject.com/ticket/28756) I
explained this:
I have reoccurring situation, when in a view.py function I need a queryset
ordered by a set of identifiers. The order of those identifiers is
dependent on factors outside of my control. Essentially in my view
Hi,
you may need to install sqlite3 for windows and set your PATH to the
directory where sqlite3 executable is found.
Etienne
Le 2017-10-30 à 03:52, bonagiri abhishek a écrit :
C:\Users\admin\cricwebsite>python manage.py dbshell
CommandError: You appear not to have the 'sqlite3' program
Hello,
I am following "getting started" in the django channel docs as well as
"django channels form the ground up"
https://artandlogic.com/2016/06/django-channels-ground-part-2/ tutorial in
the django, using REDIS, NGINX and GUNICORN on digital ocean.
Based on console errors in the
On Oct 30, 2017 9:09 AM, "md fahad" wrote:
Hey I am just new to django
i have a problem using the term "from django.http import HttpResponce it is
showing error to it
so plz help me out
Check your spelling:
from django.http import HttpResponse
-James
--
You received
Hey I am just new to django
i have a problem using the term "from django.http import HttpResponce it is
showing error to it
so plz help me out
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
Hi,
Please follow tutorials on djangoproject.com and simpleisbetterthancomplex.com
Sent from my iPhone
> On Oct 30, 2017, at 20:46, cjacque...@gmail.com wrote:
>
> Hi !
>
> I liked it : https://tutorial.djangogirls.org/en/
>
> Le lundi 30 octobre 2017 15:45:49 UTC+1, Rafael Mauricio Builes
Hi !
I liked it : https://tutorial.djangogirls.org/en/
Le lundi 30 octobre 2017 15:45:49 UTC+1, Rafael Mauricio Builes Marin a
écrit :
>
> Hi everybody, I would like to know what is the best way for learn to use
> Django and how mach knowledge of django I need.
> Thank you
>
> El contenido de
Hi everybody, I would like to know what is the best way for learn to use
Django and how mach knowledge of django I need.
Thank you
--
El contenido de este mensaje y sus anexos son únicamente para el uso del
destinatario y pueden contener información clasificada o reservada. Si
usted no es
Ok, i finally found where the problem was : the admin class (UserAdmin) of
my custom user class was in models.py and must be in admin.py.
I found the solution here :
https://stackoverflow.com/questions/45783147/django-lookuperror-app-accounts-doesnt-have-a-user-model
--
You received this
C:\Users\admin\cricwebsite>python manage.py dbshell
CommandError: You appear not to have the 'sqlite3' program installed or on
your path.
Can anyone please explain me the problem?
I'm unable to access the database as it is showing the above CommandError.
--
You received this message because you
I have a model with a datetime field that is filled with UTC datetime
values (time_aware)
I am trying to aggregate data by hours on another timezone
('Europe/Paris'). Last sunday at 2am there has been the day-saving-time
impact to local time.
pytz.exceptions.AmbiguousTimeError: 2017-10-29
Hi guys,
I'm pleased to announce the first beta release of Django-livestore 1.0!
Django-livestore is a fork of the Satchmo framework to develop ecommerce
web applications in Django.
This release is for developers only. It is not suitable for production use.
Whats new:
- Python 3.5.3
An additional information : the settings.py was generated with Django 1.9.7
Le lundi 30 octobre 2017 08:35:44 UTC+1, cjacq...@gmail.com a écrit :
>
>
> Yes, there is my INSTALLED_APPS (it was ok with Django 1.10) :
>
> INSTALLED_APPS = [
> #django
> 'django.contrib.admin',
>
Yes, there is my INSTALLED_APPS (it was ok with Django 1.10) :
INSTALLED_APPS = [
#django
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
On Thu, Oct 26, 2017 at 7:54 AM, Jack wrote:
> I have a model field for choosing multiple options. Here is the code for
> models and forms:
>
> *models.py:*
> CONDO_APARTMENT = 'Condo Apartment'
> DETACHED_HOUSE = 'Detached House'
> SEMI_DETACHED =
>
> File "/Library/Python/2.7/site-packages/django/contrib/auth/forms.py",
> line 22, in
> UserModel = get_user_model()
> File "/Library/Python/2.7/site-packages/django/contrib/auth/__init__.py",
> line 198, in get_user_model
> "AUTH_USER_MODEL refers to model '%s' that has not been
Thanks alot
I did it and it worked, added the address to ALLOWED_HOSTS in my settings.py
Thanks once again
Yingi Kem
> On 30 Oct 2017, at 2:02 AM, shreekant bohra wrote:
>
> Hi
>
> You don't need to integrate localtunnel with django. Open django test server
> in one
19 matches
Mail list logo