V
How can I solve this error: Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB) ERROR: Could not find a version that satisfies the requirement configparser==5.0.1 (from -r requirements.txt (line 4)) (from versions: 3.2.0.post1, 3.2.0.post2, 3.2.0.post3, 3.3.0.post1, 3.3.0.post2, 3.5.0b1, 3.5.0b2, 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.7.4, 3.7.5, 3.8.1, 4.0.2) ERROR: No matching distribution found for configparser==5.0.1 (from -r requirements.txt (line 4))
Rahul
Anybody having any idea about how to exactly set up a ci/cd pipeline on gitlab for deploying django application on heroku?
Rahul
Or even if u have some helpful resources. Please share
Ononiwu Maureen
Omohhh mentors please I have spent mu whole day, trying to debug an sending an email verification that keeps timing out on heroku but works fine on locallhost. I have only one option left to remove the email bcc. I really hope it works
Mohamed
hi
Dev
Heroku site images uploaded it deleted in python Django how to solve
Dev
How to free hosting. Django startup buiness website
Doragonsureiyā
🚫 ‎Mustapha [487429415] is already banned.
brk
Hi, how to generate pdf from html template in django ?
brk
Use pdfkit
Thank you
Dev
How to generate product barcode in django
Khoshimov 
Hello everyone, I'm from Uzbekistan and I'm learning Django from books especially William S Vincent's d-beginner, d-profession, d-api. And now I'm working as a developer at the company in my country. So I wanna learn more about API, Communication protocols, Can Anyone give me advice?
Khoshimov 
Can you recommend a better book on this as well?
Anna Karolina
messages.extend(check_resolver(pattern)) RecursionError: maximum recursion depth exceeded
Claudia
someone could advise me to work with ajax
Harsh
How To Run Django Project On Production? Is this possible with manage.py runserver or any other ways?
Manuel
Use pdfkit
I use reportlab
Doragonsureiyā
How To Run Django Project On Production? Is this possible with manage.py runserver or any other ways?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
William
You mean python?
No, read the message properly
Harish
You mean python?
change the version of colorama to 4.0.2
Alkaif
Create a Python program to demonstrate Multi Processing capability. The program must create 2 Processes (not Threads). These processes must be able to communicate/share data with each other. They must have the following properties. Process Properties 1 - Must take in their name (which can be any string) as Function Argument when created. 2 - Must take an Integer nLoops as Function Argument. 3 - The Processes must loop nLoops times. For each iteration, one of the processes must share its iteration index ( Eg. 0 for first iteration, 1 for second iteration, nLoops for last iteration etc. ) with the second process. The seconds process should receive all the information sent from the first process and print them.
Alkaif
Can anyone solve this
Alkaif
from multiprocessing import Process,Queue if name == "__main__": q=Queue() string="Hello World" n=range(n) proc1 = Process(target=,args=(string,n,q)) proc2 = Process(target=,args=(string,n,q)) proc1.start() proc2.start() proc1.join() proc2.join() print(q.get())
Alkaif
I've completed till here
Alkaif
I need someone to write the function as mentioned in question
coder
from fpdf import FPDF pdf = FPDF() for do in ["One","Two","Three"] : print(do) pdf.add_page('A6') # Refer to page size pdf.set_font('Arial', 'B', 16) pdf.cell(40, 10, do) pdf.output('sample.pdf', 'F') why loop is not show all the data?
Baku
Hello, how to implement filtering by price in DRF? You can choose several options: 25-100 100-500 500-1000 1000+
Sean
django-filter
Champak Lal
i m just adding django inbulit authantication
Champak Lal
it giving this error
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Champak Lal
https://hastebin.com/ekenojopas.yaml
Champak Lal
help
Anonymous
I have done orm ..into the database the schema is getting displayed but data saved is not getting displayed..
Anonymous
Can anyone help meh about this..??
Ranken
Please how can one embed a youtube video in a Model Field so that it can play on site and not redirect to youtube?
P
Please how can one embed a youtube video in a Model Field so that it can play on site and not redirect to youtube?
I'd suggest you just store a youtube video URL in your model and render the required iframe in a template
Anonymous
Elaborate please
Jwt authentication with flask ...??
Anonymous
While logging and signup??
P
Jwt authentication with flask ...??
Are you using your own implementation for jwt?
Anonymous
No
Anonymous
Can you share meh link ..or to do easily
P
But I want to use my own
Do you really want to write something that has been done a multitude of times by other people? I’d suggest getting a ready made jwt plugin for that.
Anonymous
Ok..I'll use ready made plugin..
P
But how to implement with python flask I do not know
In order to do so you first need to understand how jwt works
Anonymous
In order to do so you first need to understand how jwt works
While doing signup I don't need... While doing login I'll need the jwt to encode and give me the tokens..and while fetching the user details..the token will be verified and shown the user details
Anonymous
In order to do so you first need to understand how jwt works
Can you plz share meh good link for reference...??
P
Can you plz share meh good link for reference...??
Try looking at pyjwt or if you are lazy, try this: https://flask-jwt-extended.readthedocs.io/en/stable/#
Anonymous
Ok
Pranav
I had to connect python script to django front end can any one tell how to do it
Pranav
Need some more details
Actually i had python program script do scrap the content and create xlsheet that script i wanted to connect with my django website page
Pranav
Write URLs and views
Any reference or demo script where i can get the idea ?
P
Yes
In which case you should probably integrate your script into your django project and use it from a django view
Pranav
Any reference
P
Any reference
No. That’s basic python understanding. Reuse your code, write it into a separate module in your django app and call it from your view
Anonymous
class MemoryCreateView(LoginRequiredMixin,BSModalLoginView): template_name = 'userapp_temp/create_memory.html' model = Memory def form_valid(self, form): form = MemoryModelForm(request.POST) form.instance.user = self.request.user return super(MemoryCreateView, self).form_valid(form)
P
form not working????
that's not how you get help
Anonymous
anybody can use,BSModalCreateView, BSModalUpdateView, BSModalReadView, BSModalDeleteView this format???
P
probably nobody's helping you because they can't understand your question
VISHNU
https://hastebin.com/agoxosodiz.rb