Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
I found this comparison on a blog .. Apache vs Nginx https://www.hostingadvice.com/how-to/nginx-vs-apache/ -- 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 djan

Jinja pattern doesnt work inside a for loop

2020-01-25 Thread Chinmay Dali
I am trying to loop over a product list{more so a queryset} in django using for loop, by adding the range of products The following code works when printed out in cmd prompt I am doing something like this ''' for card in allproduct[nextRangePage:limit]: ''' in django template using this

Re: Best Django Deployment

2020-01-25 Thread Nick Sarbicki
I've used nginx+gunicorn/uwsgi, Apache+modwsgi, Google app engine flex, Google app engine standard, heroku, kubernetes on various cloud platforms, elastic beanstalk deployments and various others. Realistically I don't think there is a "best" way. It all depends on your environment, what you're wo

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
Guys thank you all for all your answers .. I think i'll go with Nginx rather than Apache , Apache seems to have more options , but also seems old , complicated and heavy ! Now i want to consider which layer of integration with web server to use , i.e should i user Nginx/Gunicorn or Nginx/uwsgi ??

I start final year project in django and project for social welfare ''''' please i need help and guideline '''''''

2020-01-25 Thread Jani Eric
if someone is free and ready for help then text me on *what'sapp :03331931286* * Thanks to all django group members* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: I start final year project in django and project for social welfare ''''' please i need help and guideline '''''''

2020-01-25 Thread Motaz Hejaze
please contact me on Skype My Skype account m3tz-hjze On Sat, Jan 25, 2020 at 2:33 PM Jani Eric wrote: > if someone is free and ready for help then text me on *what'sapp > :03331931286* > * Thanks to all django group members* > > -- > You received this message because yo

Re: Jinja pattern doesnt work inside a for loop

2020-01-25 Thread Jason
While you can use Jinja templates in django, that requires additional configuration to ensure the proper template renderer is used. Otherwise, by default, django uses its own template renderer. You don't say whether you've taken the necessary steps to have your django project use Jinja, and fr

Re: Jinja pattern doesnt work inside a for loop

2020-01-25 Thread Jani Eric
thanks bro On Saturday, January 25, 2020 at 3:11:33 PM UTC+5, Chinmay Dali wrote: > > I am trying to loop over a product list{more so a queryset} in django using > for loop, by adding the range of products The following code works when > printed out in cmd prompt > > I am doing something like t

Re: I start final year project in django and project for social welfare ''''' please i need help and guideline '''''''

2020-01-25 Thread Jani Eric
Thanks bro On Saturday, January 25, 2020 at 5:52:48 PM UTC+5, Motaz Hejaze wrote: > > please contact me on Skype > My Skype account m3tz-hjze > > On Sat, Jan 25, 2020 at 2:33 PM Jani Eric > wrote: > >> if someone is free and ready for help then text me on *what'sapp >> :03331931286* >> *

Re: Best Django Deployment

2020-01-25 Thread Nick Sarbicki
As far as I'm aware the performance difference between gunicorn and uwsgi is minimal. I prefer gunicorn but I have no real rationale for why. For ASGI Vs WSGI, WSGI is the historical standard most things are built on so is by far the easiest to start with. ASGI requires a fundamental change in how

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
They talking about making django asynchronous nature by the version 3.3 .. i can see that asynchronous model is high speed and performance like in node.js i don't know if that will be applicable to django On Sat, Jan 25, 2020 at 4:08 PM Nick Sarbicki wrote: > As far as I'm aware the performance

Re: Changing Queryset into String

2020-01-25 Thread mohamed Alisaleh
بتاريخ الجمعة، 24 يناير، 2020 7:22:23 م UTC+3، كتب Lim Kai Wey: > Greetings everyone, > > > I would like to ask if anyone knows how to convert my  queryset into string > or if there is a better approach to what I am trying to accomplish. In > theory, I am trying to assign all the text into a va

Changing Queryset into String

2020-01-25 Thread mohamed Alisaleh
Github.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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.go

Re: Changing Queryset into String

2020-01-25 Thread mohamed Alisaleh
aborabieamohame -- 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 web visit https://grou

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
https://github.com/andrewgodwin/deps/blob/async/draft/0009-async.rst#the-orm On Sat, Jan 25, 2020 at 4:50 PM Motaz Hejaze wrote: > They talking about making django asynchronous nature by the version 3.3 .. > i can see that asynchronous model is high speed and performance like in > node.js > i do

Re: Best Django Deployment

2020-01-25 Thread aakansha jain
Can anyone tell me how to run the django development environment so that I can contribute to Django. On Wed, Jan 22, 2020 at 10:09 PM Motaz Hejaze wrote: > Hey Friends! > > I want to ask what is the best Django deployment stack to increase the > request/per/second rate ?? > > does Nginx have bet

Hosting a django website

2020-01-25 Thread Perceval Maturure
dear all 1.what is the best way to host a django website on a shared host that you are not sudo? 2.is this possible? 3. any ideas? -- *Perceval Maturure* *083 303 9423* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Best Django Deployment

2020-01-25 Thread aakansha jain
Can anyone tell me how to run the django development environment so that I can contribute to Django. On Wednesday, January 22, 2020 at 10:08:53 PM UTC+5:30, Motaz Hejaze wrote: > > Hey Friends! > > I want to ask what is the best Django deployment stack to increase the > request/per/second rate ?

Re: Error with running test suite while contributing to django

2020-01-25 Thread aakansha jain
I am also getting the same issue. I am to getting how to run the django development environment so that I can contribute to Django. On Friday, January 24, 2020 at 6:10:40 PM UTC+5:30, Muhammed abdul Quadir owais wrote: > > Hi , > > I want help over here ,.. > I'm a newbie for django contributio

Re: Django blog post not linking to detail.html page

2020-01-25 Thread aakansha jain
Can anyone tell me how to run the django development environment so that I can contribute to Django On Sunday, January 19, 2020 at 9:56:31 PM UTC+5:30, amanda wrote: > > Hello, > I am new to Django, i follow a book : Django by Example 2. i install a > blog, it show blog post list, but when i cli

How to run the django development environment?

2020-01-25 Thread aakansha jain
I am new to open source. I have forked the project on my system. But now I am not getting how to run the django development environment so that I can contribute to Django.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Re: How to run the django development environment?

2020-01-25 Thread Kasper Laudrup
Hi Aakansha On 25/01/2020 19.49, aakansha jain wrote: I am new to open source. A good start to getting any help is not spamming unrelated threads with the same question over and over again. That will not make you feel very welcome in whatever open source community you're trying to work wit

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
make another thread for your question man , this is out of the topic of this thread On Sat, Jan 25, 2020 at 8:40 PM aakansha jain wrote: > Can anyone tell me how to run the django development environment so that I > can contribute to Django. > > On Wednesday, January 22, 2020 at 10:08:53 PM UTC+

Re: Jinja pattern doesnt work inside a for loop

2020-01-25 Thread Aditya Khatwa
Use custom templates tag instead doing it directly... make a function stating your {% query_set %} and then use it inside the template. On Sat, 25 Jan 2020, 18:29 Jani Eric, wrote: > thanks bro > > > On Saturday, January 25, 2020 at 3:11:33 PM UTC+5, Chinmay Dali wrote: >> >> I am trying to loo

Re: Django blog post not linking to detail.html page

2020-01-25 Thread Aditya Khatwa
Django 2 by example is pretty good book when it comes to understand django If you are having some problems then I suggest you go through the same project in your case blog post again and try to match it with your code syntax most likely you are going to find the problem you are facing. On Sun,

Re: Error with running test suite while contributing to django

2020-01-25 Thread Muhammed abdul Quadir owais
Oh! Reply me … if you find the solution of it … thanks > On 26-Jan-2020, at 12:13 AM, aakansha jain wrote: > > I am also getting the same issue. > I am to getting how to run the django development environment so that I can > contribute to Django. > > On Friday, January 24, 2020 at 6:10:40 PM