Hello
I have a field in my model which has unique = True.
If I specify an error message with a reference to the value of
the field, Django crashes with Key error.
Yet this works for other error_messages. How wan I solve this?
Here is the code and the trace back
Hi Matthew,
Thanks for your prompt answer; I will keep it in mind for terminology,
totally get it, Thanks !
Stéphane
Le mercredi 30 janvier 2019 23:08:08 UTC+1, Matthew Pava a écrit :
>
> You can try Mydb.objects.last()
>
> You can also try reversing the order and using first:
> Mydb.objects.
You can try Mydb.objects.last()
You can also try reversing the order and using first:
Mydb.objects.order_by(‘-pk’).first()
And for some terminology clarification, a database consists of tables. In
Django, a model maps to a table, not a database. A table has fields; a
database has tables but
Hello guys,
My issue is pretty simple. I want to get the very last record of my
database (which is populated with thousands of entries)
So far ->very easy. But I want to make sure that the access to the database
is as light as possible. Don't want django to parse everything in my
database.
K
You have to create a virtual environment, install django and start ur app
On Wed, Jan 30, 2019, 1:24 PM Frank john thompson how do i build webside on python using django?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe fr
Where are u having problem in your project
On Wed, Jan 30, 2019, 8:51 PM Mohamed Hashi i have a problem in my django
> i allready did start the project
> i would to get help and discuss about things
> any ready for helping me
> this is my whatsapp number
> 00918686910983
> thanks
>
> --
> You rec
i have a problem in my django
i allready did start the project
i would to get help and discuss about things
any ready for helping me
this is my whatsapp number
00918686910983
thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
Yes, we have access to an office network where you can work from any of
their offices for the day
On Wed, 30 Jan 2019, 11:50 Roshan Shah 3000 global offices ? 😀😀
>
> On Tue, Jan 29, 2019 at 6:40 PM wrote:
>
>> https://work.vendably.com/o/experienced-python-developer-remote-working
>>
>> --
>> Yo
Hi,
I am currently using the code below as a workaround.
Please be super-careful with this. I did not test this extensively. Do
not use it if your password reset page requests external resources. Make
sure you understand the security implications before you deploy it.
apollo13 suggested this on
I agree, when you hear hoofbeats, you think horses and not zebras. Except
in this case, it was indeed a zebra you saw :-)
--
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
You can do all that stuff with Python and use Django as an UI.
I'm doing something similar. I'm from computational linguistics area as
well.
My first advice for you is to study a special book related to python and
linguistics. The book is not 100% but the read it is worthwhile.
Here is the lin
i have a problem in my django
i allready did start the project
i would to get help and discuss about things
any ready for helping me
this is my whatsapp number
00918686910983
thanks
في الأربعاء، 30 يناير 2019 في 5:10 ص تمت كتابة ما يلي بواسطة <
caleor...@gmail.com>:
> https://work.vendably.c
Hi Franjhohn,
With a bit knowleges of python, and time you can start here :
https://www.djangoproject.com/start/
Read and do the first app that is in the manual.
Or you can start with a book : I recommend you this editorial
https://www.packtpub.com/
Else at the beginning is not easy, the learnin
Vert simple
Le mer. 30 janv. 2019 à 12:24, Frank john thompson a
écrit :
> how do i build webside on python using django?
>
> --
> 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,
Hi guys, I am doing a university project on a credit score tool. I am
supposed to use the FICO dataset to assign points for each question the
user answers to deliver a credit score. My research has shown that I should
use a scorecard. Is this true? Does anyone have any idea on how to do this,
I'd r
how do i build webside on python using django?
--
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 post to this group,
I'm a student of linguistics and just started to learn python and django a
few months ago. Planning to apply some utilities of linguistic with some
advanced function into a showcase on the website, but still not sure how to
achieve it through django.
Can anyone recommend some similar projects(p
-- Forwarded message -
From: shiva kumar
Date: Tue 29 Jan, 2019 11:21 pm
Subject: data sharing with multiple clients by server simultaneously
To:
Hi guys. I have a doubt regrading communication b\w client and server.
consider an example there are 20 clients continuously connecte
3000 global offices ? 😀😀
On Tue, Jan 29, 2019 at 6:40 PM wrote:
> https://work.vendably.com/o/experienced-python-developer-remote-working
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving
Django version: 2.0.4
I noticed that there is no link for chaning the user password on the
change user view in Django admin. In older versions of Django (like
1.10) that link was there by default.
I'm not talking about chaning the password of the logged in user. That's
working fine.
I'm talking
Simon,
Thank you for fast reply! I've tried to rewrite a query using RowNumber()...
inner_subquery = queryset.objects.filter(date__gte=today,
day_type='working_day')
inner_subquery =
inner_subquery.annotate(row_number=Window(expression=RowNumber(),
order_by=F('number').asc()))
inner_subquery =
>
> Bok Nebojša, jel možeš uletit i pogledati molim te što radim krivo.
>>
>> Znači, imam 2 aplikacije, prva abc radi a druga product groups ne radi..
>> Sve je kopirano u 2 privitka.
>>
>> Da li imaš vremena pogledati pliz?
>>
> Šta god napravim, No reverse mi se javlja...
--
You received th
22 matches
Mail list logo