Wednesday, March 31, 2021

Deploy Django website internally within company network

So I am trying to propose building an internal website site at work with Django. But I have no idea what is needed from an IT perspective. I know how to deploy one on the internet through Heroku or such. But what are the steps/resource requirements if I was to deploy within an intranet? The IT department has not done this with Django before ( although they have done so with other framework such as Angular, etc).

If someone could give me some pointers on this process.

Thanks,

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/36ef7600-4f4c-47f2-9bce-66425716a232n%40googlegroups.com.

Re: Django asychronous for millions of users

Yes Lars I would love to do that I just sent you an email just now 

Sent from my iPhone

On Mar 31, 2021, at 2:54 PM, Lars Liedtke <liedtke@punkt.de> wrote:



I was on the brink of proposing this before, but if you'd like we could have an online beer together and talk of course without any cost, because we are just having a beer or any other beverage of your liking. Just send me a mail privately and we'll find an appointment

Am 31.03.21 um 18:09 schrieb Josh moten:
I truly would love to do that but I know I do not have the funds to hire someone with that much experience. I am disabled so I only get paid once a month and what's left after bills and groceries is only $200 a month so I am having to bootstrap everything. It would be very disrespectful to ask someone with that much ability and experience to basically be working for free.  I am open to anyone who wish to help. I do have a private GitHub repository for my website so if anyone is interested please let me know.

Again I do not wish to disrespect anyone and I know I am a beginner but I know this can be done Ive only be programming since October of last year and I have made leaps and bounds


Sent from my iPhone

On Mar 31, 2021, at 10:05 AM, Derek <gamesbook@gmail.com> wrote:

I agree with Lars. You have said very little about your actual situation; my concern would be that if someone was appointed to develop a web-based system that was expected to scale that big and that fast I would expect (in fact, if I was the project funder I would *demand*) that you already have a number of years experience developing, deploying and maintaining such systems - preferably in more than one domain.  There are very smart and knowledgeable people on this mailing list - you may want to consider hiring or partnering with someone like that who can offer you this capability.

On Wednesday, 31 March 2021 at 14:46:25 UTC+2 lie...@punkt.de wrote:

Sorry for having been so blunt, but your mail looked to me like some random person asking for how to simply implement something with $framework.

But my remarks had a lot of expirience in them. If you are still not decided on a language or framework then I would suggest you choose the language you are most familiar with and the framework, that offers what you expect from it. Before deciding though you should  also have a look at the integration of caching, because you will definetely need something like e.g. redis and maybe varnish. Additionally you should think about which database you want to use and if this can do clustering.

Django can do all of this and might be the right choice for you, but have a look at how Django "thinks" and decide, if this is a way that you could familiarize yourself well with.

As often in IT there are now real "right" choices, only choices that will be right for you and your usecase.

Cheers

Lars

Am 31.03.21 um 01:28 schrieb Josh moten:
I am trying to implement the right infrastructure, so that I can be able to support all the users. I am in no way trying to deceive anyone. I am asking because I truly want to make the right decisions from the beginning, so that it will be cost effective. I am thinking of using AWS elastic band, so that proper load balancing will be in place. I am also looking up cacheing as well

Sent from my iPhone

On Mar 30, 2021, at 7:13 PM, Lars Liedtke <lie...@punkt.de> wrote:



Hello Josh,

somehow this sounds a bit sketchy to me. Could you please extend your request to your plans to setup such a system. This is not simply done with choosing "the right"  library or package. This has to be a quite elaborate system with multiple kinds of Software, like caches as redis and/or elasticsearch, most propably load balancers and multiple application servers (which could be run with django). But simply sending a question like you did will not solve the prpably appearing problems you'll be facing, if you really will that many users.

Cheers

Lars

Am 30.03.21 um 13:32 schrieb Josh moten:
I am creating an auction that will be hosting millions to possibly billions of users so I am trying to figure out which would be the best library to use for scalability at a rapid pace. I am positive to reach a million users in four months. What is the best library and/or package to us for over 100k+ users per second? --
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b0ed59a5-5892-4a0e-b159-adc89476da78n%40googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b93ddf40-0c57-732c-36af-c53728bb7cd4%40punkt.de.
--
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...@googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/02c94a94-e7a0-4791-87f0-0eab85ba5dd2n%40googlegroups.com.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4BD733A1-66C7-4ECD-9437-5D8676F6143F%40gmail.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  info@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/78c08e12-d353-83b2-feb1-9f5b40a8c4ac%40punkt.de.

Re: Django asychronous for millions of users

I was on the brink of proposing this before, but if you'd like we could have an online beer together and talk of course without any cost, because we are just having a beer or any other beverage of your liking. Just send me a mail privately and we'll find an appointment

Am 31.03.21 um 18:09 schrieb Josh moten:
I truly would love to do that but I know I do not have the funds to hire someone with that much experience. I am disabled so I only get paid once a month and what's left after bills and groceries is only $200 a month so I am having to bootstrap everything. It would be very disrespectful to ask someone with that much ability and experience to basically be working for free.  I am open to anyone who wish to help. I do have a private GitHub repository for my website so if anyone is interested please let me know.

Again I do not wish to disrespect anyone and I know I am a beginner but I know this can be done Ive only be programming since October of last year and I have made leaps and bounds


Sent from my iPhone

On Mar 31, 2021, at 10:05 AM, Derek <gamesbook@gmail.com> wrote:

I agree with Lars. You have said very little about your actual situation; my concern would be that if someone was appointed to develop a web-based system that was expected to scale that big and that fast I would expect (in fact, if I was the project funder I would *demand*) that you already have a number of years experience developing, deploying and maintaining such systems - preferably in more than one domain.  There are very smart and knowledgeable people on this mailing list - you may want to consider hiring or partnering with someone like that who can offer you this capability.

On Wednesday, 31 March 2021 at 14:46:25 UTC+2 lie...@punkt.de wrote:

Sorry for having been so blunt, but your mail looked to me like some random person asking for how to simply implement something with $framework.

But my remarks had a lot of expirience in them. If you are still not decided on a language or framework then I would suggest you choose the language you are most familiar with and the framework, that offers what you expect from it. Before deciding though you should  also have a look at the integration of caching, because you will definetely need something like e.g. redis and maybe varnish. Additionally you should think about which database you want to use and if this can do clustering.

Django can do all of this and might be the right choice for you, but have a look at how Django "thinks" and decide, if this is a way that you could familiarize yourself well with.

As often in IT there are now real "right" choices, only choices that will be right for you and your usecase.

Cheers

Lars

Am 31.03.21 um 01:28 schrieb Josh moten:
I am trying to implement the right infrastructure, so that I can be able to support all the users. I am in no way trying to deceive anyone. I am asking because I truly want to make the right decisions from the beginning, so that it will be cost effective. I am thinking of using AWS elastic band, so that proper load balancing will be in place. I am also looking up cacheing as well

Sent from my iPhone

On Mar 30, 2021, at 7:13 PM, Lars Liedtke <lie...@punkt.de> wrote:



Hello Josh,

somehow this sounds a bit sketchy to me. Could you please extend your request to your plans to setup such a system. This is not simply done with choosing "the right"  library or package. This has to be a quite elaborate system with multiple kinds of Software, like caches as redis and/or elasticsearch, most propably load balancers and multiple application servers (which could be run with django). But simply sending a question like you did will not solve the prpably appearing problems you'll be facing, if you really will that many users.

Cheers

Lars

Am 30.03.21 um 13:32 schrieb Josh moten:
I am creating an auction that will be hosting millions to possibly billions of users so I am trying to figure out which would be the best library to use for scalability at a rapid pace. I am positive to reach a million users in four months. What is the best library and/or package to us for over 100k+ users per second? --
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b0ed59a5-5892-4a0e-b159-adc89476da78n%40googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b93ddf40-0c57-732c-36af-c53728bb7cd4%40punkt.de.
--
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...@googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/02c94a94-e7a0-4791-87f0-0eab85ba5dd2n%40googlegroups.com.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4BD733A1-66C7-4ECD-9437-5D8676F6143F%40gmail.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  info@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

Re: Django asychronous for millions of users

I truly would love to do that but I know I do not have the funds to hire someone with that much experience. I am disabled so I only get paid once a month and what's left after bills and groceries is only $200 a month so I am having to bootstrap everything. It would be very disrespectful to ask someone with that much ability and experience to basically be working for free.  I am open to anyone who wish to help. I do have a private GitHub repository for my website so if anyone is interested please let me know.

Again I do not wish to disrespect anyone and I know I am a beginner but I know this can be done Ive only be programming since October of last year and I have made leaps and bounds


Sent from my iPhone

On Mar 31, 2021, at 10:05 AM, Derek <gamesbook@gmail.com> wrote:

I agree with Lars. You have said very little about your actual situation; my concern would be that if someone was appointed to develop a web-based system that was expected to scale that big and that fast I would expect (in fact, if I was the project funder I would *demand*) that you already have a number of years experience developing, deploying and maintaining such systems - preferably in more than one domain.  There are very smart and knowledgeable people on this mailing list - you may want to consider hiring or partnering with someone like that who can offer you this capability.

On Wednesday, 31 March 2021 at 14:46:25 UTC+2 lie...@punkt.de wrote:

Sorry for having been so blunt, but your mail looked to me like some random person asking for how to simply implement something with $framework.

But my remarks had a lot of expirience in them. If you are still not decided on a language or framework then I would suggest you choose the language you are most familiar with and the framework, that offers what you expect from it. Before deciding though you should  also have a look at the integration of caching, because you will definetely need something like e.g. redis and maybe varnish. Additionally you should think about which database you want to use and if this can do clustering.

Django can do all of this and might be the right choice for you, but have a look at how Django "thinks" and decide, if this is a way that you could familiarize yourself well with.

As often in IT there are now real "right" choices, only choices that will be right for you and your usecase.

Cheers

Lars

Am 31.03.21 um 01:28 schrieb Josh moten:
I am trying to implement the right infrastructure, so that I can be able to support all the users. I am in no way trying to deceive anyone. I am asking because I truly want to make the right decisions from the beginning, so that it will be cost effective. I am thinking of using AWS elastic band, so that proper load balancing will be in place. I am also looking up cacheing as well

Sent from my iPhone

On Mar 30, 2021, at 7:13 PM, Lars Liedtke <lie...@punkt.de> wrote:



Hello Josh,

somehow this sounds a bit sketchy to me. Could you please extend your request to your plans to setup such a system. This is not simply done with choosing "the right"  library or package. This has to be a quite elaborate system with multiple kinds of Software, like caches as redis and/or elasticsearch, most propably load balancers and multiple application servers (which could be run with django). But simply sending a question like you did will not solve the prpably appearing problems you'll be facing, if you really will that many users.

Cheers

Lars

Am 30.03.21 um 13:32 schrieb Josh moten:
I am creating an auction that will be hosting millions to possibly billions of users so I am trying to figure out which would be the best library to use for scalability at a rapid pace. I am positive to reach a million users in four months. What is the best library and/or package to us for over 100k+ users per second? --
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b0ed59a5-5892-4a0e-b159-adc89476da78n%40googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b93ddf40-0c57-732c-36af-c53728bb7cd4%40punkt.de.
--
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...@googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/02c94a94-e7a0-4791-87f0-0eab85ba5dd2n%40googlegroups.com.

Re: Django asychronous for millions of users

I agree with Lars. You have said very little about your actual situation; my concern would be that if someone was appointed to develop a web-based system that was expected to scale that big and that fast I would expect (in fact, if I was the project funder I would *demand*) that you already have a number of years experience developing, deploying and maintaining such systems - preferably in more than one domain.  There are very smart and knowledgeable people on this mailing list - you may want to consider hiring or partnering with someone like that who can offer you this capability.

On Wednesday, 31 March 2021 at 14:46:25 UTC+2 lie...@punkt.de wrote:

Sorry for having been so blunt, but your mail looked to me like some random person asking for how to simply implement something with $framework.

But my remarks had a lot of expirience in them. If you are still not decided on a language or framework then I would suggest you choose the language you are most familiar with and the framework, that offers what you expect from it. Before deciding though you should  also have a look at the integration of caching, because you will definetely need something like e.g. redis and maybe varnish. Additionally you should think about which database you want to use and if this can do clustering.

Django can do all of this and might be the right choice for you, but have a look at how Django "thinks" and decide, if this is a way that you could familiarize yourself well with.

As often in IT there are now real "right" choices, only choices that will be right for you and your usecase.

Cheers

Lars

Am 31.03.21 um 01:28 schrieb Josh moten:
I am trying to implement the right infrastructure, so that I can be able to support all the users. I am in no way trying to deceive anyone. I am asking because I truly want to make the right decisions from the beginning, so that it will be cost effective. I am thinking of using AWS elastic band, so that proper load balancing will be in place. I am also looking up cacheing as well

Sent from my iPhone

On Mar 30, 2021, at 7:13 PM, Lars Liedtke <lie...@punkt.de> wrote:



Hello Josh,

somehow this sounds a bit sketchy to me. Could you please extend your request to your plans to setup such a system. This is not simply done with choosing "the right"  library or package. This has to be a quite elaborate system with multiple kinds of Software, like caches as redis and/or elasticsearch, most propably load balancers and multiple application servers (which could be run with django). But simply sending a question like you did will not solve the prpably appearing problems you'll be facing, if you really will that many users.

Cheers

Lars

Am 30.03.21 um 13:32 schrieb Josh moten:
I am creating an auction that will be hosting millions to possibly billions of users so I am trying to figure out which would be the best library to use for scalability at a rapid pace. I am positive to reach a million users in four months. What is the best library and/or package to us for over 100k+ users per second? --
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b0ed59a5-5892-4a0e-b159-adc89476da78n%40googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b93ddf40-0c57-732c-36af-c53728bb7cd4%40punkt.de.
--
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...@googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  in...@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/02c94a94-e7a0-4791-87f0-0eab85ba5dd2n%40googlegroups.com.

Re: Nested comments feature

On March 31, 2021 1:08:10 AM CDT, Salima Begum <salima.b@rohteksolutions.com> wrote:
> We are planning to add nested comments features in our web application
>and
>are wondering whether Django FWK has a specific function or library
>that we
>can make use of and customize it according to our application. I would
>appreciate if you could share respective suggestions regarding
>implementation.


You might think about using something like django-mptt to handle the nesting.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/384DE209-4803-4014-A312-C882C8362168%40fattuba.com.

Re: Django asychronous for millions of users

Sorry for having been so blunt, but your mail looked to me like some random person asking for how to simply implement something with $framework.

But my remarks had a lot of expirience in them. If you are still not decided on a language or framework then I would suggest you choose the language you are most familiar with and the framework, that offers what you expect from it. Before deciding though you should  also have a look at the integration of caching, because you will definetely need something like e.g. redis and maybe varnish. Additionally you should think about which database you want to use and if this can do clustering.

Django can do all of this and might be the right choice for you, but have a look at how Django "thinks" and decide, if this is a way that you could familiarize yourself well with.

As often in IT there are now real "right" choices, only choices that will be right for you and your usecase.

Cheers

Lars

Am 31.03.21 um 01:28 schrieb Josh moten:
I am trying to implement the right infrastructure, so that I can be able to support all the users. I am in no way trying to deceive anyone. I am asking because I truly want to make the right decisions from the beginning, so that it will be cost effective. I am thinking of using AWS elastic band, so that proper load balancing will be in place. I am also looking up cacheing as well

Sent from my iPhone

On Mar 30, 2021, at 7:13 PM, Lars Liedtke <liedtke@punkt.de> wrote:



Hello Josh,

somehow this sounds a bit sketchy to me. Could you please extend your request to your plans to setup such a system. This is not simply done with choosing "the right"  library or package. This has to be a quite elaborate system with multiple kinds of Software, like caches as redis and/or elasticsearch, most propably load balancers and multiple application servers (which could be run with django). But simply sending a question like you did will not solve the prpably appearing problems you'll be facing, if you really will that many users.

Cheers

Lars

Am 30.03.21 um 13:32 schrieb Josh moten:
I am creating an auction that will be hosting millions to possibly billions of users so I am trying to figure out which would be the best library to use for scalability at a rapid pace. I am positive to reach a million users in four months. What is the best library and/or package to us for over 100k+ users per second? --
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b0ed59a5-5892-4a0e-b159-adc89476da78n%40googlegroups.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  info@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/7XmCZgz3XzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b93ddf40-0c57-732c-36af-c53728bb7cd4%40punkt.de.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/10F9EE9C-EC21-4BF3-9C42-490D95940A1A%40gmail.com.
--   ---  punkt.de GmbH  Lars Liedtke  .infrastructure    Kaiserallee 13a	  76133 Karlsruhe    Tel. +49 721 9109 500  https://infrastructure.punkt.de  info@punkt.de    AG Mannheim 108285  Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

Re: Facing_error_while_creating_question_in_shell

ok sahil ..well done

On Wed, Mar 31, 2021, 16:50 sahil gupta <sahilguptawushu28@gmail.com> wrote:
Worked , issue resolved thanks for your help

On Wed, 31 Mar 2021, 8:38 am Ashima jain, <vn24111997@gmail.com> wrote:
& run migrations

On Wed, Mar 31, 2021, 08:37 Ashima jain <vn24111997@gmail.com> wrote:
ur pub_date is bad practice & remove timezone from ur views

On Tue, Mar 30, 2021, 18:28 sahil gupta <sahilguptawushu28@gmail.com> wrote:
from django.utils import timezone
>>> q = Question(question_text="What's new?", pub_date=timezone.now())
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Users\DELL\Envs\test3\lib\site-packages\django\db\models\base.py", line 501, in __init__
    raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg))
TypeError: Question() got an unexpected keyword argument 'question_text'


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5c968208-a9e0-4426-af8e-ede7ee5855d3n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iPEA%3Dv41mccrHijznskPJ7tpALR90HF4k1dmSE7n7u8og%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAZ_3RotRQ9j5ZUtZuNMTUdzQNRVGGRbUa%3DnRgfOdfOKHXJApA%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iONzwRbj6NRJGRqOoXnUDphy32NqyrDWwC%3Du4-R_hjFwA%40mail.gmail.com.

Re: Facing_error_while_creating_question_in_shell

Worked , issue resolved thanks for your help

On Wed, 31 Mar 2021, 8:38 am Ashima jain, <vn24111997@gmail.com> wrote:
& run migrations

On Wed, Mar 31, 2021, 08:37 Ashima jain <vn24111997@gmail.com> wrote:
ur pub_date is bad practice & remove timezone from ur views

On Tue, Mar 30, 2021, 18:28 sahil gupta <sahilguptawushu28@gmail.com> wrote:
from django.utils import timezone
>>> q = Question(question_text="What's new?", pub_date=timezone.now())
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Users\DELL\Envs\test3\lib\site-packages\django\db\models\base.py", line 501, in __init__
    raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg))
TypeError: Question() got an unexpected keyword argument 'question_text'


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5c968208-a9e0-4426-af8e-ede7ee5855d3n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iPEA%3Dv41mccrHijznskPJ7tpALR90HF4k1dmSE7n7u8og%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAZ_3RotRQ9j5ZUtZuNMTUdzQNRVGGRbUa%3DnRgfOdfOKHXJApA%40mail.gmail.com.

Re: Chaining filter is not working

Thank you Oba Stephen , it worked for me.

On Tue, 30 Mar 2021 at 18:51, oba stephen <obastepheno@gmail.com> wrote:
You didn't equate to anything.

You have to specify what quality you are filtering by. 

Best regards

Stephen Oba

On Tue, Mar 30, 2021, 1:58 PM Saurabh Ahire <ahiresaurabh009@gmail.com> wrote:
Please check the model class also , if there are any mistakes point them out

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAARnLzxHO5QpX3U-4qrH%2BJC_kne8cOuSmcPT7NZTxJUXxM4eFQ%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAJsLnri%2BBM6f0o11MudExcF6tPergERcGcq01YJu7A2R7dxQQ%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAARnLzw90CUjCVbriD1SX%3DkAPdLmUQu1B_k52%2B_-A7eMzXpzhQ%40mail.gmail.com.

unable to update pdf and edit category.


my code is not giving an error but it is not performing edit action. and it uploads pdf but not shown in the html page.
*****************View.py****************
def Upload_Charter(request):
    Category_List= Category.objects.all().order_by("Category_name")# for viewing all catogories
    if request.method == 'POST':
        Remove_Category_List = request.POST.getlist('Category_Uuid_delete')
        if Remove_Category_List:
            Category.objects.filter(uuid=Remove_Category_List).delete()# removing the category
            messages.add_message(request, messages.INFO, _("Category Delete Operation Successfully Completed")) 
        else:
            pass
        action = request.POST.get('action')
        Category_Names = request.POST.getlist('Category')
        Category_Uuids = request.POST.getlist('Category_Uuid'
        for index, Category_Name in enumerate(Category_Names): 
            if Category_Name=='':
                continue
            elif not Category_Name in Remove_Category_List:
                if action=='save':
                    if  not Category.objects.filter(Category_name=Category_Name).exists():
                        Category(Category_name=Category_Name).save() # createing a new category
                elif action=='update':
                    Category.objects.filter(uuid=Category_Uuids[index]).update(Category_name=Category_Name)#UPDATE
        return redirect(reverse('Upload-Charters')) 
    return render(request, 'Upload-Charters.html',{'Category_List': Category_List})  

@login_required
def Upload_Charter_file(request):
    if request.method == 'POST' and request.FILES.get('charters_files'):
        charters_files = request.FILES.get('charters_files')
        fs = FileSystemStorage()
        filename = fs.save(charters_files.name,charters_files)
        uploaded_file_url = fs.get_available_name(filename)
    return render(request, 'Upload-Charters.html', {
             'uploaded_file_url': uploaded_file_url, 'Category_List': Category_List}) 





--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP%2B6t008%2BmVpp%3D_iyOzB%3DLcHqrNFtsame5B6dLkS62uzt8f9XA%40mail.gmail.com.

Tuesday, March 30, 2021

Nested comments feature

Hi all,

We are planning to add nested comments features in our web application and are wondering whether Django FWK has a specific function or library that we can make use of and customize it according to our application. I would appreciate if you could share respective suggestions regarding implementation.

Thanks
~Salima


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMSz6b%3DMWd-wKDUyxcGp-zp9GmQCsmzh3swrach1aiUhuQF%3DmA%40mail.gmail.com.

Trying to understand duplicate results from related_set

Hello,

my first post here.
I've been poking at this duplicate result thing
and it's come down to maybe a fundamental what-does-django-do question:


class Medium(models.Model):
artifact = models.ForeignKey('Artifact', on_delete=models.PROTECT)


class Artifact(models.Model):
def get_medium(self,idx):

try:
media = self.medium_set.all()
for m in media: # <-- THIS
pass # <-- THIS
return media[idx]
except:
return False


Why would iterating over media give me correct results,
get_medium(0), get_medium(1) == 9, 13

but if I don't, I get a duplicate row?
get_medium(0), get_medium(1) == 9, 9


-Michael



--
Michael Ross <gmx@ross.cx>

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20210331070648.1c3915a6f0ccc8a0d69db31a%40ross.cx.

Re: Django dependent select without Ajax


On Wed, Mar 31, 2021 at 5:41 AM Ryan Nowakowski <tubaman@fattuba.com> wrote:
About how many elements do you anticipate will be in the drop-down?

On March 30, 2021 8:59:19 AM CDT, Sachin Kumar <sachinkumaras@gmail.com> wrote:
Hi Experts,

Does anyone knows Drop down list in Django without Ajax which is faster enough to fetch data from Big DataBase.

Please guide me on this.

Regards
Sachin

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/84F1F92D-FEC1-42C9-BEE7-BB4FEE086506%40fattuba.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m317cm7GjTi53CA0pQh9ximtmhVYAEc-72jPK%2BOWfdfosOw%40mail.gmail.com.

Re: Facing_error_while_creating_question_in_shell

& run migrations

On Wed, Mar 31, 2021, 08:37 Ashima jain <vn24111997@gmail.com> wrote:
ur pub_date is bad practice & remove timezone from ur views

On Tue, Mar 30, 2021, 18:28 sahil gupta <sahilguptawushu28@gmail.com> wrote:
from django.utils import timezone
>>> q = Question(question_text="What's new?", pub_date=timezone.now())
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Users\DELL\Envs\test3\lib\site-packages\django\db\models\base.py", line 501, in __init__
    raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg))
TypeError: Question() got an unexpected keyword argument 'question_text'


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5c968208-a9e0-4426-af8e-ede7ee5855d3n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iPEA%3Dv41mccrHijznskPJ7tpALR90HF4k1dmSE7n7u8og%40mail.gmail.com.

Re: Facing_error_while_creating_question_in_shell

ur pub_date is bad practice & remove timezone from ur views

On Tue, Mar 30, 2021, 18:28 sahil gupta <sahilguptawushu28@gmail.com> wrote:
from django.utils import timezone
>>> q = Question(question_text="What's new?", pub_date=timezone.now())
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Users\DELL\Envs\test3\lib\site-packages\django\db\models\base.py", line 501, in __init__
    raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg))
TypeError: Question() got an unexpected keyword argument 'question_text'


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5c968208-a9e0-4426-af8e-ede7ee5855d3n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iM57KtipMVyG2aFoM6NYm6hKyFkHm%3Dk0xKWXNregLP1Gw%40mail.gmail.com.

Re: Facing_error_while_creating_question_in_shell

any migration is pending

On Wed, Mar 31, 2021, 08:31 Ashima jain <vn24111997@gmail.com> wrote:
did u import timezone in ur model

On Wed, Mar 31, 2021, 08:21 Ashima jain <vn24111997@gmail.com> wrote:
check ur settings

On Wed, Mar 31, 2021, 08:21 Ashima jain <vn24111997@gmail.com> wrote:
& check ur code oncs again

On Wed, Mar 31, 2021, 08:19 Ashima jain <vn24111997@gmail.com> wrote:
I think you don't declare any field name

On Wed, Mar 31, 2021, 05:14 Rama akki <sonulucky777@gmail.com> wrote:
you may not have or error while writing key argument 'question_text' please see in your data base model

On Tue, 30 Mar 2021, 9:29 pm sahil gupta, <sahilguptawushu28@gmail.com> wrote:
ok fine , please do share


On Tuesday, March 30, 2021 at 8:07:15 PM UTC+5:30 vn241...@gmail.com wrote:
okk sahil wait for sometime I sharing ur problems with my team_mates 

On Tue, Mar 30, 2021, 20:00 sahil gupta <sahilgup...@gmail.com> wrote:
On Tuesday, March 30, 2021 at 7:30:13 PM UTC+5:30 vn241...@gmail.com wrote:
sahil which model u use ..plz mentioned in detail

On Tue, Mar 30, 2021, 19:27 sahil gupta <sahilgup...@gmail.com> wrote:
unable to figure out it, please do help


On Tue, Mar 30, 2021 at 6:32 PM Ashima jain <vn241...@gmail.com> wrote:
its a type error

On Tue, Mar 30, 2021, 18:28 sahil gupta <sahilgup...@gmail.com> wrote:
from django.utils import timezone
>>> q = Question(question_text="What's new?", pub_date=timezone.now())
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "C:\Users\DELL\Envs\test3\lib\site-packages\django\db\models\base.py", line 501, in __init__
    raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg))
TypeError: Question() got an unexpected keyword argument 'question_text'


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5c968208-a9e0-4426-af8e-ede7ee5855d3n%40googlegroups.com.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iObRmjtcxOeaESoMNNptG79_KkvKzr8k4yCpa_w8u2_rA%40mail.gmail.com.

--
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...@googlegroups.com.

--
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...@googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d1ebcf8c-27d3-4d73-a64a-e48b7f1ca34en%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAmXcB5cUUb%3DW88BDr6d0M80k_VDh6DYzR7c91mPsV8-VGHnEA%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJhs3iNLrbwmpfQHEZRkP%2BU4S3J_yr-ZbmZg5KEa9xRvrNt0UQ%40mail.gmail.com.