Re: Deploy Django app with Apache2

2021-06-28 Thread Abeer Eltanawy
Could this article solve your problem? https://medium.com/@shivansht9211/how-to-deploy-django-applications-on-aws-ec2-using-apache-server-f6ae2e1effc4 On Thu, Jun 24, 2021 at 9:27 AM tristant wrote: > I was looking to turn a a laptop into a standing webserver to deploy a > Django app within an i

Re: can Django replace PHP ?

2021-06-28 Thread Vkash Poudel
I used to java SPRINGBOOT but after I am developing in Django I see it's more convenient than spring-boot. Django is secure, it's simple, Very fast app development, documentation of Django its one of the best, I hope Django can do whats PHP can. On Tue, Jun 29, 2021 at 1:07 AM Ari Davidow wrote:

Re: can Django replace PHP ?

2021-06-28 Thread Ari Davidow
I can't think of any application where you would want php in an environment where python is already available UNLESS there is a requirement to use a php-specific content management system such as WordPress or Drupal. ari On Mon, Jun 28, 2021, 9:17 AM Krishna Adhikari wrote: > Hello all my seni

Re: can Django replace PHP ?

2021-06-28 Thread Kelvin Sajere
You can create anything with both django and php, but to be fair, django can only really be compared to laravel which is the most popular web framework for php like django is for python. I suggest using django since you’ve already been working with python for years. It would be easier, you can deve

Re: can Django replace PHP ?

2021-06-28 Thread 'Peter van der Does' via Django users
Django !== PHP Python is like PHP Django is like Laravel On 6/28/21 2:43 PM, Ajeet Kumar Gupt wrote: > Django is a best in web development as well most secure in comparison > to php?  > > On Mon, Jun 28, 2021, 7:09 PM Ahmed omar miladi > mailto:ahmedomarmil...@gmail.com>> wrote: > > today d

Re: user profile in Django

2021-06-28 Thread Kelvin Sajere
I suggest that you use the AbstractUser model that django officially recommends. from django.contrib.auth.models AbstractUser class User(AbstractUser): age : models.IntegerField(default=0) is_student : models.BooleanField(default=False) # extra profile information Then also make sure

Re: can Django replace PHP ?

2021-06-28 Thread Ajeet Kumar Gupt
Django is a best in web development as well most secure in comparison to php? On Mon, Jun 28, 2021, 7:09 PM Ahmed omar miladi wrote: > today django is the best for all web application > > Le lun. 28 juin 2021 à 14:17, Krishna Adhikari a > écrit : > >> Hello all my seniors >> >> I am doing Data

Re: can Django replace PHP ?

2021-06-28 Thread Ahmed omar miladi
today django is the best for all web application Le lun. 28 juin 2021 à 14:17, Krishna Adhikari a écrit : > Hello all my seniors > > I am doing Data Science programming (python) for 3 years now in my > organization I also have to develop a Web Platform to deeply ML models and > also to develop

Re: can Django replace PHP ?

2021-06-28 Thread Tim Chase
On 2021-06-27 21:20, Krishna Adhikari wrote: > *can we solve all kinds of web application problems with Django > without learning PHP ?? * > *or PHP also recommended.* For just about aspect, either they're interchangeable, or I find that Python/Django wins (readability, library consistency, breadt

Re: can Django replace PHP ?

2021-06-28 Thread Sam Chaffy
Django gives you a builtin admin panel for free. Enjoy On Mon, Jun 28, 2021 at 3:49 PM Boris Pérez wrote: > Hi friend...u can do everything u need in django...without use php... > Greetings > > > 2021-06-28 10:23 GMT-04:00, Luis Zárate : > > Hi, you can create several web applications with Djan

Re: can Django replace PHP ?

2021-06-28 Thread Boris Pérez
Hi friend...u can do everything u need in django...without use php... Greetings 2021-06-28 10:23 GMT-04:00, Luis Zárate : > Hi, you can create several web applications with Django. So I guest you can > replace all web stuff with Django or other lib in python for web > development. > > El lun, 28

Re: can Django replace PHP ?

2021-06-28 Thread Luis Zárate
Hi, you can create several web applications with Django. So I guest you can replace all web stuff with Django or other lib in python for web development. El lun, 28 jun 2021 a las 7:17, Krishna Adhikari () escribió: > Hello all my seniors > > I am doing Data Science programming (python) for 3 ye

can Django replace PHP ?

2021-06-28 Thread Krishna Adhikari
Hello all my seniors I am doing Data Science programming (python) for 3 years now in my organization I also have to develop a Web Platform to deeply ML models and also to develop other web applications together. I searched a lot of information on google, but till now I did not make a decisio

Re: user profile in Django

2021-06-28 Thread Abdoulaye Koumaré
If you're new the best way to create a profile is by using django signals you'll get more information about that at https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html . On Sunday, 27 June 2021 at 21:46:28 UTC suabiut wrote: > You can use the user m

MODEL CONSTRAINT (based on two dates)

2021-06-28 Thread ngallen4
I have two models like this How can I make models constraint based on the dates as shows on image?? -- 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-use

Re: In need of urgent help for products sorting and displaying

2021-06-28 Thread Kasper Laudrup
On 28/06/2021 13.58, Aritra Ray wrote: > We've realised the error but are unable to fix it. We'll be grateful if > you can solve it for us as we've been stuck on this for a long time. I cannot solve your problems for you, but I and many others will be happy to help if you provide some details on e

Re: In need of urgent help for products sorting and displaying

2021-06-28 Thread Aritra Ray
We've realised the error but are unable to fix it. We'll be grateful if you can solve it for us as we've been stuck on this for a long time. The search function in the views.py is conditioning the products via products.html filter form which is requesting for a "products-list url" which looks like

Re: In need of urgent help for products sorting and displaying

2021-06-28 Thread Kasper Laudrup
On 28/06/2021 12.51, Adarsh Sarda wrote: >  I've been building a Django E-commerce website and I'm facing problems > displaying the sorted products on the products page of my website. I can > display the products by category sorting in which I'm using crispy-forms > to display the form but I am una

I've got a problem with using factory with python zeep

2021-06-28 Thread Sencer Hamarat
Would you please checkout this StackOverflow link: https://stackoverflow.com/questions/68160839/python-zeep-xml-factory-exception-with-no-namespace-defined-for-the-prefix Regards, Sencer HAMARAT -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: using .annotate on a queryset and output field is a result of function

2021-06-28 Thread VISHESH MANGLA
this looks good, thanks On Thu, Jun 17, 2021 at 6:08 PM Nikeet NA wrote: > Its not the perfect method you can optimize ot more if you want. > You can prefer this Link > > > On Thu, 17 Jun 2021 at 18:06, Nikeet NA wrote: