Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2020/jul/20/django-31-release-candidate-1-released/
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving email
I'm still using the workaround I mentioned above
--
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 view this discussi
Its likely that Big Sites keep their detailed IP private; its unlikely that
you are working on such a site.
Aldian is correct that there are many strategies, or combination of
strategies you could use, and the exact one really does depend on the
team's skills and choices of technologies.
One i
This would make a great blog post! And in future, we can all refer
directly to it, when someone asks a similar question.
On Saturday, 18 July 2020 16:13:53 UTC+2, Liu Zheng wrote:
>
> Hi. Doesn't sound like a Django question, but I assume you came across
> this question when writing Django code
https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
This video series will be helpful
On Mon, Jul 20, 2020 at 5:33 AM Anirudh choudhary <
anirudhchoudary...@gmail.com> wrote:
> You can simply do it by manipulating the context data like
>
> context = {
> 'form_login':loginfor
Hi,
I have a class with a GET and a POST request. I am sending the data ( with
pk of the object ) in my GET request and I want the frontend to use that pk
to refer to the exact instance of the model whenever doing any operation.
In my POST request I am only sending the `choice field` value. How do
On 20/07/2020 4:51 am, Ralph Barhydt wrote:
> I have tried this many times and made it to part 4 only to get
> stymied, so I start over. The last few tries, when ever, in part 1, I
> do the first "python manage.py migrate" command everything goes
> haywire. All my directories are underlined in re
My new package:
https://github.com/pandichef/indjections
The basic idea: Installing third party Django packages should be one-line
of code.
I'm looking for feedback and/or contributors. Thanks!
--
You received this message because you are subscribed to the Google Groups
"Django users" group
Did you find any solution?
On Friday, October 18, 2019 at 2:12:21 AM UTC+5:30, Brian Maissy wrote:
>
> I have a model which essentially boils down to this:
>
> class Person(models.Model):
> name = models.TextField()
>
>
> class MarriedMan(Person):
> wife = models.OneToOneField(Person, on_d
You can simply do it by manipulating the context data like
context = {
'form_login':loginform,
'form_signup' :signupform
}
Thanks
On Sun, 19 Jul, 2020, 11:10 PM Exactly musty,
wrote:
> Read the doc or follow MDN tutorial
>
> --
> You received this message because you are subscribed to the
I've experienced this problem many times and the solution is to simply
change the name of the model then do the migration and after that you can
change the model name to the original name and run the migration again, I
think it's a bug in django.
On Sun, Jul 19, 2020 at 8:47 PM Heet Gupta wrote:
I have tried this many times and made it to part 4 only to get stymied, so
I start over. The last few tries, when ever, in part 1, I do the first
"python manage.py migrate" command everything goes haywire. All my
directories are underlined in red, Then when I set up the models (db) and
run "
Firstly push your code containing the migrations folder to heroku ("git
push heroku master"), then follow the below steps -
In your terminal run the command "heroku run bash".
It will open the heroku terminal for you.
Now In the heroku terminal run "python manage.py migrate"
On Sunday, July 19,
Read the doc or follow MDN tutorial
--
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 view this discussion on the we
bash% heroku run python. /manage.py migrate
søn. 19. jul. 2020, 18:48 skrev Aman Mandloi :
> Added a small model 'new_model' in existing app 'existing_app' on Django,
> Entered commands manage.py makemigrations and manage.py migrate it
> migrated changes to local database.
> Tried to apply same o
Can anyone help
I need to define login,regitration form from my html template all are in the
same page how do i define in my view.py
--
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
Hi
I do appreciate what I was asking about wasn't your problem, I was
looking at learning for myself etc.
For those that are following this, it seems that Postgres (as does
MySQL) loosens the SQL requirements. In Postgres (
https://www.postgresql.org/docs/11/sql-select.html#SQL-GROUPBY ) the
ru
Thank you Damanjeet
On Sunday, July 19, 2020 at 3:32:02 AM UTC-4, Damanjeet Singh wrote:
>
> Hello ,
>
> Prefetch_related can be helpful, see doc
>
>
>
> https://docs.djangoproject.com/en/3.0/ref/models/querysets/#prefetch-related
>
> Regards,
> Damanjeet
>
>
>
> On Sun, 19 Jul 2020, 04:39 karthi
Hi Roger,
I have fetched this query from the Django Debug tool bar. I am using
POSTGRES database and Django 2.2.3 version.
I am able to fetch the records which i require but the issue is with the
performance the django query set or the query which i am making.
Thanks & Regards,
karthik
On Su
Thanks for the tip, Aldian.
On Sun, Jul 19, 2020 at 7:01 AM Aldian Fazrihady wrote:
> Hi,
> There are more than one transactional data architectures to achieve the
> goals, so only Amazon, eBay, or any other big commerce employees can answer
> your question.
> However, if you are using transacti
Hi,
There are more than one transactional data architectures to achieve the
goals, so only Amazon, eBay, or any other big commerce employees can answer
your question.
However, if you are using transactional SQL as Django is using it by
default, you probably need to learn about horizontal partitioni
Hi,
I am wondering if anyone could point me to any documents or readings on how
to big eCommerce sites such as Amazon or eBay implements the following
situation:
- A seller posts a product with an initial quantity, 'init_qty'.
- An unknown number of clients access the product concurrently, add i
Hi
Just a side issue I spotted here, but I'm probably missing something,
so I'm seeking to understand.
Is this the SQL the django query builder made? If so which database
backend and django version are you using?
On Sun, 2020-07-19 at 08:30 +0100, Damanjeet Singh wrote:
> 2>SQL Query
>
> SELE
Hello ,
Prefetch_related can be helpful, see doc
https://docs.djangoproject.com/en/3.0/ref/models/querysets/#prefetch-related
Regards,
Damanjeet
On Sun, 19 Jul 2020, 04:39 karthik challa, wrote:
> Hi Experts,
>
> I am trying to execute the below query and the query is taking more than 5
>
24 matches
Mail list logo