Re: Handle Form Submission

2024-05-29 Thread Tawfeeq Zaghlool
Thanks Faisal, I really appreciate it. If I have any other questions, I will ask you then. Thanks again mate :) :) Tawfeeq Zaghlool IoT Full Stack Developer || Project Manager & Youth Leader +962 77 8891479 <+962778891479>

Re: How to use different templates for different sites/domains

2024-05-29 Thread Faisal Mahmood
You're right, using a single Django instance to serve multiple sites with overridden templates can be tricky. While a custom template loader might seem appealing, it's true that it doesn't accept the request object by default. Here's the breakdown and some alternative solutions: The Challenge:

Re: Django Admin Shortcuts

2024-05-29 Thread Faisal Mahmood
Hi, First of all Sorry for the late reply Okay let's go... It is generally not recommended to authenticate auto-generated users directly from inspect_db without proper user model fields and permissions. Here's why: - Security Concerns: - AbstractBaseUser and PermissionsMixin provide

Re: How to use different templates for different sites/domains

2024-05-28 Thread Mike Dewhirst
On 28/05/2024 9:09 pm, Antonis Christofides wrote: Hello, I use the sites framework for a Django project that serves many different domains. But each of those domains has some templates overridden. Might depend on what you are overriding - entire templates or just includes or just vars.

Re: Django Admin Shortcuts

2024-05-28 Thread utibe solomon
Hey bro is it possible to authenticate an auto generated user from inspect_db without necessarily having to migrate fields that come with using abstractbaseuser and permissions mixin On Tue, 28 May 2024 at 20:39, Mike Schem wrote: > Hey Faisal, > > Thanks for taking the time to read the PR and

Re: Django Admin Shortcuts

2024-05-28 Thread Faisal Mahmood
█▀ █▀█ █▀█ █░ █▄ █▄█ █▄█ █▄ That's great to hear keep it up. And have a great day ahead. I'm nothing but a student of Django. Hopefully my questions doesn't bother you too much.    Great!  And once again thanks a lot for your hard work. I will be glad if you need any assistance from me in

Re: Django Admin Shortcuts

2024-05-28 Thread Mike Schem
Hey Faisal, Thanks for taking the time to read the PR and provide some feedback. I copied all of your concerns here and responded to them accordingly. Please let me know if you have any further questions! 1. Have you considered including a section in the Django admin documentation that outlines

How to use different templates for different sites/domains

2024-05-28 Thread Antonis Christofides
Hello, I use the sites framework for a Django project that serves many different domains. But each of those domains has some templates overridden. If I used a different instance of Django (i.e. a different gunicorn service) for each domain, I'd have different settings for each site. But I'm

Django: Working in models.py and forms.py

2024-05-27 Thread Solomon Ankyelle Balaara (Azonto Stick)
When you create a profile table that has a field of OneToOne, referencing the user table, and the profile form is rendered in the templates, the field OneToOne would be a select html tag that has all the user objects in the sqlite database as options for the current user creating the form to

Is it possible to authenticate an already existing user model created from inspect_db ?

2024-05-27 Thread utibe solomon
Hey Guys I've been trying to figure out a way to authenticate an auto generated user model and its impossible to do that unless the model has permission mixins and abstractuser .So how can i still authenticate an autogenerated user model without necessarily making migrations to that database

Handle Form Submission

2024-05-27 Thread Tawfeeq Zaghlool
Hello Djangooos: I am building a simple Django application, that shows products in items/employee_id url, the customer opens the link and start selecting the items by clicking on them, then an action button appears to prepare for submission to display a modal asking the customer to enter his

Re: Django Admin Shortcuts

2024-05-25 Thread Faisal Mahmood
Hi *Mike Schem, Thank you for reaching out and for your work on adding keyboard shortcuts to the Django admin. This is a valuable feature that can greatly enhance productivity for many users. We appreciate your contribution and the effort you've put into this PR. We have reviewed your pull

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-25 Thread utibe solomon
I'm interested with as low pay as possible I want to gain experience On Wed, May 22, 2024, 11:12 PM Amen Guda wrote: > hey > > > On Thu, May 9, 2024 at 9:01 PM Hussain Ezzi > wrote: > >> i am interested , with only 10 dollars per hour, i just want to hone my >> skills again >> >> On Tuesday,

Django Admin Shortcuts

2024-05-24 Thread Mike Schem
Hey all, I’m seeking some support and feedback on my PR. I’ve added keyboard shortcuts to the Django admin for the save actions. We use it at my company, and it’s pretty helpful for power users. I’d love to hear what the community thinks. https://github.com/django/django/pull/17599 Mike Schem

Re: Increasing iteration count for the PBKDF2 password hasher

2024-05-23 Thread Mike Dewhirst
On 23/05/2024 6:12 pm, Shaheed Haque wrote: Hi, As happens from time-to-time, I see the 5.1 alpha recently announced has increased the iteration count for the PBKDF2 password hasher (from 720k to 870k), and the putative release notes for 5.2 mention a further increase (to 1M). I assume

Increasing iteration count for the PBKDF2 password hasher

2024-05-23 Thread Shaheed Haque
Hi, As happens from time-to-time, I see the 5.1 alpha recently announced has increased the iteration count for the PBKDF2 password hasher (from 720k to 870k), and the putative release notes for 5.2 mention a further increase (to 1M). I assume this iteration count has something to do with the

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-22 Thread Amen Guda
hey On Thu, May 9, 2024 at 9:01 PM Hussain Ezzi wrote: > i am interested , with only 10 dollars per hour, i just want to hone my > skills again > > On Tuesday, May 7, 2024 at 2:22:56 PM UTC+5 Satyajit Barik wrote: > >> I’m interested >> >> On Sat, 4 May 2024 at 10:04 PM, Bethuel Thipe >>

Re: Creating live streaming app

2024-05-22 Thread Raize Studio
You can probably be fine with just websockets. But a more robust solution for heavy usage is to use nginx-rmtp module . Le mercredi 15 mai 2024 à 20:58:56 UTC+2, Anshuman Thakur a écrit : > Hi Teams, > > how can we create live streaming application when we are using react.js in > frontend and

Re: Django 5.1 alpha 1 released

2024-05-22 Thread Natraj Kavander
Thank you On Wed, May 22, 2024, 10:26 PM Natalia Bidart wrote: > Details are available on the Django project weblog: > > > https://www.djangoproject.com/weblog/2024/may/22/django-51-alpha-1-released/ > > -- > You received this message because you are subscribed to the Google Groups > "Django

Django 5.1 alpha 1 released

2024-05-22 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/may/22/django-51-alpha-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 emails from it,

Re: Changing my github django simple ecommerce to use drf and and react native frotend

2024-05-20 Thread Natraj Kavander
Thank you On Mon, May 20, 2024, 7:31 AM De Ras wrote: > Hey would am changing my django ecomerce site in github from traditional > views and fprms to use django rest framework and react native as its backed > greater support appreciated for any support. There is the link to my repo >

Re: Displaying contrast of a queryset

2024-05-20 Thread Natraj Kavander
Thank you On Sun, May 19, 2024, 11:24 PM Abdou KARAMBIZI wrote: > Hello, > *I have 2 models :* > > class Product(models.Model): > product_id = models.AutoField(primary_key=True) > product_name = models.CharField(max_length=200) > price = models.IntegerField() > image = >

Re: Reactive frontend + Session Authentication (+ csrf ?)

2024-05-20 Thread Natraj Kavander
Thank you  On Mon, May 20, 2024, 8:40 PM zvo...@seznam.cz wrote: > With traditional frontend (like realized with Django templates), the user > will GET the login form and in this step Django sends csrf token. Later, in > 2nd step, you send credential and the csrf token to the server. > > But

Reactive frontend + Session Authentication (+ csrf ?)

2024-05-20 Thread zvo...@seznam.cz
With traditional frontend (like realized with Django templates), the user will GET the login form and in this step Django sends csrf token. Later, in 2nd step, you send credential and the csrf token to the server. But in Django + Reactive frontend (Svelte in my case, but it is not important at

Re: why get_object_or_404 error is not using translation?

2024-05-19 Thread Natraj Kavander
Thank you On Sun, May 19, 2024, 1:48 AM Hossein Mahdavipour wrote: > Hi. > I am using DRF with django. In views I use get_object_or_404. When I get > a 404, the exception detail is "No %s matches the given query." > You can see the code here: >

Changing my github django simple ecommerce to use drf and and react native frotend

2024-05-19 Thread De Ras
Hey would am changing my django ecomerce site in github from traditional views and fprms to use django rest framework and react native as its backed greater support appreciated for any support. There is the link to my repo https://github.com/D3ras/eccommerce-django -- You received this message

Re: Displaying contrast of a queryset

2024-05-19 Thread Abdou KARAMBIZI
Hello, *I have 2 models :* class Product(models.Model): product_id = models.AutoField(primary_key=True) product_name = models.CharField(max_length=200) price = models.IntegerField() image = models.ImageField(upload_to='images/products_images/',null=True,blank=True) def

why get_object_or_404 error is not using translation?

2024-05-18 Thread Hossein Mahdavipour
Hi. I am using DRF with django. In views I use get_object_or_404. When I get a 404, the exception detail is "No %s matches the given query." You can see the code here: https://github.com/django/django/blob/8f205acea94e93a463109e08814f78c09307f2b9/django/shortcuts.py#L88 My question is why it

Re: View "functions" that are callables?

2024-05-16 Thread Anthony Flury
I can't see why not - as far as Python is concerned a callable is a callable. There is a deep in the weeds way for a caller to determine if a callable is a __call__ method on a class, but I really doubt Django does anything close to that - what would be the benefit. On Wed, May 15, 2024 at 8:39 

Cascading drop down list

2024-05-15 Thread kateregga julius
Hi. I need help on implementing Cascading drop downlist in django using functional based views and manual forms. *​**Kateregga Julius* *Email: julikats2...@gmail.com * *Kampala-Uganda* *Skype: Katslog* -- You received this message because you are subscribed to the Google Groups "Django users"

Re: View "functions" that are callables?

2024-05-15 Thread Faisal Mahmood
Yes, in Django, a view function in a URLconf can indeed be a callable that is not necessarily a function. You can use classes with a `__call__` method as views, often referred to as class-based views (CBVs). Class-based views offer more flexibility and organization than function-based views in

Re: View "functions" that are callables?

2024-05-15 Thread Abdulfarid Olakunle
Yes, in Django, a view function in a URLconf can indeed be a callable that is not necessarily a function. It can be a class-based view where the class has a `__call__` method, effectively making it callable. This is a common practice and allows for more flexibility and organization in your code.

View "functions" that are callables?

2024-05-15 Thread Christophe Pettus
Hi, I'm surprised I don't know this, but: Can a view "function" in a urlconf be a callable that is not actually a function, such as a class with a __call__ method? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Creating live streaming app

2024-05-15 Thread Anshuman Thakur
Hi Teams, how can we create live streaming application when we are using react.js in frontend and django rest framework in baackend -- 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

Arabic text is written in reverse when filling PDF form and saving it

2024-05-14 Thread Yousuf Yousuf
I'm using fillpdf library to fill in a PDF form. When I use it externally it works fine and all. When I save the file generated by fillpdf to my model the Arabic text becomes reversed. [image: Screenshot 2024-05-14 120336.png] This is my code: import requests from fillpdf import

Re: Account verification

2024-05-13 Thread Anthony Flury
Your register view is setting is_active to True - regardless of email verification. Remember that the email confirmation will happen asynchronously to the registration. What I do is have a separate table that records that a user needs to complete the verification process. So registration sends

Serving static files with whitenoise

2024-05-13 Thread Richlue King
Hi, I'm trying to upload my project to render.com and I need to set up the static files with whitenoise. However, when I run collectstatic, I keep encountering this error: Post-processing 'assets\css\bootstrap.min.css' failed! raise ValueError( ValueError: The file

Re: very urgent

2024-05-13 Thread Babatunde Mabinuori
Good day, The error occurs because "usagers/login.html" doesn't exist in your template file or wasn't properly referenced. Kindly check the filename properly to see if it exist, the filename is correctly spelt and well referenced. On Sunday, May 12, 2024 at 4:03:41 PM UTC+1 Yann wrote: >

Re: very urgent

2024-05-13 Thread Agar Joshua
whats the folder structure for your templates? On Sun, May 12, 2024 at 6:03 PM Yann wrote: > Please does somoene can help me with this: > [image: Capture d'écran 2024-05-12 091648.png] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

DO you know that error I been trying to fox it since 6 hours with no udaptes

2024-05-12 Thread Yann
TemplateDoesNotExist at /login/ usagers/login.html Request Method: GET Request URL: http://127.0.0.1:8000/login/ Django Version: 4.0.3 Exception Type: TemplateDoesNotExist Exception Value: usagers/login.html Exception Location:

Django Model Image as background image in css

2024-05-11 Thread Paul Magadi
How do we use a model image as a background image for static css -- 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

Streamlining Model validation of ForeignKeys

2024-05-10 Thread Shaheed Haque
Hi, I have two models Source and Input, where Input has an FK to Source like this: class Source(db_models.Model): scheme = db_models.CharField(...) path = db_models.CharField(...) display_as = db_models.CharField(...) class Input(db_models.Model): name = db_models.CharField(...)

Re: Call for Testing: Connection Pooling PR for Django Oracle

2024-05-09 Thread Benjamini Athanas
thanks On Mon, 6 May 2024 at 22:41, suraj shaw wrote: > Dear Django Users, > > > I hope this email finds you well. > > > We're reaching out to the Django community today with an exciting > opportunity to test a significant enhancement for the Oracle database > backend: connection pooling

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-09 Thread Hussain Ezzi
i am interested , with only 10 dollars per hour, i just want to hone my skills again On Tuesday, May 7, 2024 at 2:22:56 PM UTC+5 Satyajit Barik wrote: > I’m interested > > On Sat, 4 May 2024 at 10:04 PM, Bethuel Thipe wrote: > >> I am interested >> >> >> Sent from Yahoo Mail for iPad >>

how to acheive this

2024-05-09 Thread malhaar mahapatro
I have scrpaded and saved attachment I want to send it to dashboard of iso,isto and irt and I want an option that they have seen that message or not and what action taken I can see and then can send again to csirt dashboard about action taken and csirt can send it to whom he wants how to achieve

Django bugfix releases issued: 4.2.13 and 5.0.6

2024-05-07 Thread Natalia Bidart
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/may/07/bugfix-releases/ -- 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

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-07 Thread Satyajit Barik
I’m interested On Sat, 4 May 2024 at 10:04 PM, Bethuel Thipe wrote: > I am interested > > > Sent from Yahoo Mail for iPad >

Django bugfix releases issued: 4.2.12 and 5.0.5

2024-05-06 Thread Sarah Boyce
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2024/may/06/bugfix-releases/ -- 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

Call for Testing: Connection Pooling PR for Django Oracle

2024-05-06 Thread suraj shaw
Dear Django Users, I hope this email finds you well. We're reaching out to the Django community today with an exciting opportunity to test a significant enhancement for the Oracle database backend: connection pooling functionality. A pull request has been submitted that introduces connection

Re: E-comm live project

2024-05-06 Thread Dean Mahori
Add me +263786881635 Sent from Outlook for Android From: django-users@googlegroups.com on behalf of amruth bitla Sent: Monday, May 6, 2024 6:23:52 PM To: Django users Subject: Re: E-comm live project Hi 1001_prabhjot Singh, I am

Re: E-comm live project

2024-05-06 Thread amruth bitla
Hi 1001_prabhjot Singh, I am interested, check out my *GitHuB* Page for *Django Project*, Please *Email* me. On Monday, May 6, 2024 at 12:13:13 PM UTC-4 avdesh sharma wrote: > I am interested, +91-9650031844 <+91%2096500%2031844>

Re: E-comm live project

2024-05-06 Thread avdesh sharma
I am interested, +91-9650031844 On Mon, Mar 18, 2024 at 10:56 PM 1001_prabhjot Singh < prabhjotbal...@gmail.com> wrote: > so i am working on a full stack e-comm website and this project is really > very big for me because it's a live project am using django for backend > interested one's can

Re: E-comm live project.

2024-05-06 Thread Daouda Sagno
Salut, Mon numéro WhatsApp est +2250749741167 Le lun. 6 mai 2024 à 13:14, ankit lodhi a écrit : > > Hi there, > I have worked on multi-vendor E-Commerce apps, > e-comm apps and on e-mart apps. > You can consider me. > > My WhatsApp no. : +919165805819 > On Monday, May 6, 2024 at 6:00:16 PM

Re: E-comm live project

2024-05-06 Thread Montego King
I'm a novice, and wish to follow and learn whatsapp:+237651802010 On Monday, March 18, 2024 at 6:26:50 PM UTC+1 1001_prabhjot Singh wrote: > so i am working on a full stack e-comm website and this project is really > very big for me because it's a live project am using django for backend >

Re: E-comm live project.

2024-05-06 Thread Ibrahim Olayiwola
+1 201 852 7823 On Monday, May 6, 2024 at 8:30:16 AM UTC-4 M.VIKRAMAN ROMAN_VIKI wrote: > Lets do this guys. This is my whatsapp number : *+919514531375 > <+91%2095145%2031375>* > > On Monday 18 March, 2024 at 11:04:22 pm UTC+5:30 Sang wrote: > >> Looks interesting. I'm on WhatsApp @

Re: E-comm live project.

2024-05-06 Thread ankit lodhi
Hi there, I have worked on multi-vendor E-Commerce apps, e-comm apps and on e-mart apps. You can consider me. My WhatsApp no. : +919165805819 On Monday, May 6, 2024 at 6:00:16 PM UTC+5:30 M.VIKRAMAN ROMAN_VIKI wrote: > Lets do this guys. This is my whatsapp number : *+919514531375 >

Re: E-comm live project.

2024-05-06 Thread M.VIKRAMAN ROMAN_VIKI
Lets do this guys. This is my whatsapp number : *+919514531375* On Monday 18 March, 2024 at 11:04:22 pm UTC+5:30 Sang wrote: > Looks interesting. I'm on WhatsApp @ 9937826218. Please let's catch up > there. > > On Mon, Mar 18, 2024, 22:56 1001_prabhjot Singh > wrote: > >> so i am working on

[no subject]

2024-05-05 Thread Dean Mahori
Dear Programmers, My name is Dean Mahori and I'm a student at Chinhoyi University . I'm working on a university project to build a website using the Django framework. I'm currently in the process of developing a website to better connect with our community and raise awareness about our cause.

Re: E-comm live project

2024-05-04 Thread Samwel Omolo
Hi Dean, I hope this message finds you well. I'm Samwel Omolo, and I came across your request to be added to the WhatsApp group for the full stack e-comm website project using Django for the backend. I'm definitely interested in joining the group and contributing to the project. Please add me to

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-04 Thread Bethuel Thipe
I am interested  Sent from Yahoo Mail for iPad On Friday, May 3, 2024, 3:15 PM, Raunak Ron wrote: I am Interested. On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote: I am interested in this position. I have an experience in Django Development with strong Python. On Tue, Apr 2,

Re: E-comm live project

2024-05-04 Thread Dean Mahori
add me +263786881635 On Tue, Apr 30, 2024 at 3:23 PM Kintu Peter wrote: > Watsap +256789746493 > > > On Monday, March 18, 2024 at 8:26:50 PM UTC+3 1001_prabhjot Singh wrote: > >> so i am working on a full stack e-comm website and this project is really >> very big for me because it's a live

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-03 Thread Raunak Ron
I am Interested. On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote: > I am interested in this position. > > I have an experience in Django Development with strong Python. > > On Tue, Apr 2, 2024, 10:49 PM Abhishek J > wrote: > >> Dear Developers, >> >> I need to build an android

Newbie

2024-05-03 Thread Cindy Pearl Soriano
Hello everyone, can somebody help how to make an interactive site sor logging system? -- ---*DISCLAIMER AND CONFIDENTIALITY NOTICE* The Mindanao State University-Iligan Institute of Technology   (MSU-IIT) makes no warranties of any kind, whether expressed or implied,

Re: Displaying contrast of a queryset

2024-05-03 Thread Abdou KARAMBIZI
ThanksKelvin Macharia Now it is working properly On Wed, May 1, 2024 at 9:24 PM Kelvin Macharia wrote: > Actually: > Query for tasks without relations to Product > > tasks = Task.objects.filter(product__isnull=True) > > after setting product field optional in as follows: > > product =

Re: Displaying contrast of a queryset

2024-05-01 Thread Kelvin Macharia
Actually: Query for tasks without relations to Product tasks = Task.objects.filter(product__isnull=True) after setting product field optional in as follows: product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True, blank=True) On Wednesday, May 1, 2024 at 4:59:46 PM UTC+3 Ryan

Re: Displaying contrast of a queryset

2024-05-01 Thread Kelvin Macharia
Hi Abdou KARAMBIZI, Have you tried to make the product field in the Task model optional? Like: product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True, blank=True) On Saturday, April 27, 2024 at 9:55:56 PM UTC+3 Abdou KARAMBIZI wrote: > Hello friends, > > products =

Lookin for Internship opportunity (Django, React)

2024-04-30 Thread Ricky Kristian
Hi, I'm looking for internship as a full stack engineer. My tech stack is, Django Rest Framework, React.Js, SQL, MySQL, Tailwind CSS, CSS, HTML You may check my current live project: https://workmatch.rickykristianbutarbutar.com github: Your Repositories (github.com)

Re: E-comm live project

2024-04-30 Thread Kintu Peter
Watsap +256789746493 On Monday, March 18, 2024 at 8:26:50 PM UTC+3 1001_prabhjot Singh wrote: > so i am working on a full stack e-comm website and this project is really > very big for me because it's a live project am using django for backend > interested one's can send there number for

Re: E-comm live project

2024-04-30 Thread FIRDOUS BHAT
HI there, I've worked on multi-vendor E-Commerce apps, EdTech apps and on Real Estate apps. You can consider me. My WhatsApp no. : +918553332955 On Tue, Apr 30, 2024 at 4:03 PM shubham joshi wrote: > Hello @prabhjotbal...@gmail.com and team, > > Please consider me for e-comm project > +91

Re: E-comm live project

2024-04-30 Thread shubham joshi
Hello @prabhjotbal...@gmail.com and team, Please consider me for e-comm project +91 8390246938 is my whpp number Thanks, shubham From: django-users@googlegroups.com on behalf of 1001_prabhjot Singh Sent: Monday, March 18,

Re: E-comm live project

2024-04-30 Thread shubham joshi
+91 8390246938 From: django-users@googlegroups.com on behalf of 1001_prabhjot Singh Sent: Monday, March 18, 2024 10:45 PM To: Django users Subject: E-comm live project so i am working on a full stack e-comm website and this project is really very big for me

Re: E-comm live project

2024-04-29 Thread kumbhaj shukla
Looking for remote opportunities, anyone is there who have link or looking for a co founder>. Mail are always open just write your proposal , and let's build something and make some impact with similar thought.kumbha...@gmail.com *Best regards,* *Kumbhaj shukla*

Re: E-comm live project

2024-04-29 Thread rahul sharma
7899403562 On Mon, Apr 29, 2024, 19:45 Pankaj Saini wrote: > Please share WhatsApp Group Link. > > On Mon, Mar 18, 2024, 10:56 PM 1001_prabhjot Singh < > prabhjotbal...@gmail.com> wrote: > >> so i am working on a full stack e-comm website and this project is really >> very big for me because

Re: Freelance Opportunity : Django Developer for building A Dialer

2024-04-29 Thread Pankaj Saini
I am interested in this position. I have an experience in Django Development with strong Python. On Tue, Apr 2, 2024, 10:49 PM Abhishek J wrote: > Dear Developers, > > I need to build an android and IOS phone dialer similar to Truecaller. > > We are seeking experienced and dedicated candidates

Re: E-comm live project

2024-04-29 Thread Pankaj Saini
Please share WhatsApp Group Link. On Mon, Mar 18, 2024, 10:56 PM 1001_prabhjot Singh wrote: > so i am working on a full stack e-comm website and this project is really > very big for me because it's a live project am using django for backend > interested one's can send there number for WhatsApp

Re: Displaying contrast of a queryset

2024-04-28 Thread manohar chundru
print(p) On Sun, Apr 28, 2024 at 12:25 AM Abdou KARAMBIZI wrote: > Hello friends, > > products = Task.objects.select_related().all() > for p in products: > print(p.product.product_name) > > This gives product that has relation in Task model but *I need product > which doesn't have relation in

Re: Displaying contrast of a queryset

2024-04-27 Thread Abdou KARAMBIZI
Hello friends, products = Task.objects.select_related().all() for p in products: print(p.product.product_name) This gives product that has relation in Task model but *I need product which doesn't have relation in Task * *Means we have products have relations in Task model and others with no

Re: Displaying contrast of a queryset

2024-04-27 Thread Kelvin Macharia
Before I share my thoughts here is a question for you. Where do you expect your product to be printed out? Here is what I think you should try out. First, the source code looks correct to me. Your view only get triggered when you access the routes(url) pointing to this view via the browser

Re: Displaying contrast of a queryset

2024-04-26 Thread Muhammad Juwaini Abdul Rahman
You're looking for `product`, but the model that you queried is `Task`. On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI wrote: > Hello, > *I have 2 models :* > > class Product(models.Model): > product_id = models.AutoField(primary_key=True) > product_name =

Displaying contrast of a queryset

2024-04-26 Thread Abdou KARAMBIZI
Hello, *I have 2 models :* class Product(models.Model): product_id = models.AutoField(primary_key=True) product_name = models.CharField(max_length=200) price = models.IntegerField() image = models.ImageField(upload_to='images/products_images/',null=True,blank=True) def

Re: Problem to style form fields with error

2024-04-25 Thread Guido Luis Dalla Vecchia
Here I attach the relevant parts of the files "views.py", "index.html" and "forms.py" so you can check them out. Thanks! El jueves, 25 de abril de 2024 a las 11:36:03 UTC-3, Ryan Nowakowski escribió: > Can you share some code snippets? > > > On April 24, 2024 6:28:18 PM CDT, Guido Luis Dalla

Problem to style form fields with error

2024-04-24 Thread Guido Luis Dalla Vecchia
Hello! I'm building my first website with Django and I've been stuck for the past two months with a problem I can't figure out. My website has a form with three fields that allow the user to input his first name, last name and email. In my "forms.py" file, I've declared "clean" methods for each

Problem when styling form fields with errors

2024-04-24 Thread Guido Luis Dalla Vecchia
Hello! I'm building my first website with Django and for the last 2 months have been stuck with a problem with my form. My webpage has a form with 3 fields that allow the user to input his first name, last name and email. I've defined "clean" methods for all three fields in "forms.py", in which

Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-24 Thread villeantropist
I am in sir +2348158951292 On Friday, March 15, 2024 at 8:49:19 PM UTC+1 Jorge Bueno wrote: > Good evening everyone, I need help in my personal project to create an > agricultural and livestock marketplace and an agricultural and livestock > social network as a whole.Longer explanation:Farmers

Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-23 Thread 1001_prabhjot Singh
Intrested 9877199920 On Sat, Mar 16, 2024, 1:19 AM Jorge Bueno wrote: > Good evening everyone, I need help in my personal project to create an > agricultural and livestock marketplace and an agricultural and livestock > social network as a whole.Longer explanation:Farmers and ranchers leave >

Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-23 Thread Sujata Aghor
BTW your github pages are not accessible (giving #404 error) - Both links frontend and backend. On Tue, Apr 23, 2024 at 3:24 PM Sujata Aghor wrote: > Hello > I am interested in Python Django work. > Whatsapp : 9881301878 > > >> On Saturday, March 16, 2024 at 1:19:19 AM UTC+5:30 Jorge Bueno

Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-23 Thread Sujata Aghor
Hello I am interested in Python Django work. Whatsapp : 9881301878 > On Saturday, March 16, 2024 at 1:19:19 AM UTC+5:30 Jorge Bueno wrote: > >> Good evening everyone, I need help in my personal project to create an >> agricultural and livestock marketplace and an agricultural and livestock >>

Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-21 Thread Ankit Patne
I can work with Python and Django part. Whatsapp : +91 9373579749 On Saturday, March 16, 2024 at 1:19:19 AM UTC+5:30 Jorge Bueno wrote: > Good evening everyone, I need help in my personal project to create an > agricultural and livestock marketplace and an agricultural and livestock > social

Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-21 Thread Collins Emmanuel
Count me in  +254714411940 On Sun 21. Apr 2024 at 19:13, Michael Onuekwusi wrote: > Interested please, 8072094026 whatsapp > > On Fri, Mar 15, 2024, 8:49 PM Jorge Bueno > wrote: > >> Good evening everyone, I need help in my personal project to create an >> agricultural and livestock

How to solve Access to fetch at 'https://api.amadeus.com/v1/flight-offers' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: Response to preflight request doesn't pass access contro

2024-04-21 Thread Эля Min
I have this one:from django.middleware.common import MiddlewareMixin from django.http import JsonResponse class CorsMiddleware(MiddlewareMixin): def process_request(self, request): if request.method == "OPTIONS" and "HTTP_ACCESS_CONTROL_REQUEST_METHOD" in request.META:

Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-21 Thread Michael Onuekwusi
Interested please, 8072094026 whatsapp On Fri, Mar 15, 2024, 8:49 PM Jorge Bueno wrote: > Good evening everyone, I need help in my personal project to create an > agricultural and livestock marketplace and an agricultural and livestock > social network as a whole.Longer explanation:Farmers and

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
from django.urls import path from . import views urlpatterns = [ path('login/', views.login_user, name='login'), path('logout/', views.logout_request, name='logout'), path('register/', views.registration, name='registration'), ] On Wed, Apr 17, 2024 at 5:16 PM Ana Jiménez wrote: >

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
the file that says i have wrong is this one: djangoapp/urls.py # Uncomment the required imports before adding the code from django.shortcuts import render from django.http import HttpResponseRedirect, HttpResponse from django.contrib.auth.models import User from django.shortcuts import

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
check your urls.py file to make sure you haven't imported circularly. or better still, paste your urls.py here On Wed, Apr 17, 2024 at 4:47 PM Ana Jiménez wrote: > hi guys, so i'm doing a project and there's a part that says i need to do > the migrations but when i do that i get this error >

problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
hi guys, so i'm doing a project and there's a part that says i need to do the migrations but when i do that i get this error "Traceback (most recent call last): File "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/urls/resolvers.py", line

Re: ModuleNotFoundError: No module named 'mysite'

2024-04-14 Thread Ahmad Irfan
have you checked your virtual env? On Sun, 14 Apr 2024 at 5:38 AM, hikinthru wrote: > I am a new Django user and am setting up my first site on a local MAMP > server. Django is running, but when I run `python manage.py makemigrations` > I get the following error: > >

problem when i create a new django project

2024-04-14 Thread 无名氏
创建 Django 应用程序时出错: Python 端错误。退出代码: 1,错误: Traceback (most recent call last): File "D:\pycharm_stu\pycharm_stu_\plugins\python\helpers\pycharm\_jb_django_project_creator.py", line 12, in management.execute_from_command_line(argv=["django-admin", "startproject", project_name, path]) File

ModuleNotFoundError: No module named 'mysite'

2024-04-13 Thread hikinthru
I am a new Django user and am setting up my first site on a local MAMP server. Django is running, but when I run `python manage.py makemigrations` I get the following error: --- Traceback (most recent call last): File

Login using phone and number

2024-04-13 Thread Yash Trivedi
I need a code for login using phone number and password without using form.py and tell me how can I do quickly -- 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

Re: How to effectively use PUT and DELETE HTTP methods in Django Class-Based Views?

2024-04-12 Thread Luis Zárate
Also a recomendation, see that `dispatch` method call the view as handler(request, *args, **kwargs) So maybe is a good idea do something like: class MyView(view): def put(self, request, *args, **kwargs): ... Regards, El vie, 12 abr 2024 a las 16:13, Luis Zárate () escribió:

  1   2   3   4   5   6   7   8   9   10   >