vr
Novu is library used in django for sending notifications anyone has idea about that
Azizbek Xushnazarov
Has anyone implemented DRM for videos in django? I want to make it very hard to download or copy videos uploaded on the backend. How can I implement this?
Parsa
The oop need for django advantage?
Charly
The oop need for django advantage?
OOP is the basics of Django
Tejas
Can I have a look at ur snippet?
hi thank to you i solve this problem actully i just need to change date format and match with uploaded CSV file
Anonymous
hey, i am getting error Page not found (404) No Profile matches the given query. Request Method: GET Request URL: http://127.0.0.1:8000/items_detail/1/ Raised by: app.views.items_detail
Anonymous
in views templates are routed perfectly i am trying to access my item with the pk
Anonymous
Using the URLconf defined in core.urls, Django tried these URL patterns, in this order: admin/ login/ [name='login'] register/ [name='register'] logout/ [name='logout'] password_change/ [name='password_change'] [name='home'] profile [name='profile'] contact [name='contact'] search [name='search'] favs [name='favs'] items [name='items'] items_detail/<int:id>/ [name='items_detail']
Believe
Once
Anonymous
Check the view
view is correct dude
Anonymous
Obeject is listed in db
Muflone
Yes now where can we reslove these error
only you know what you wrote in the view and in the urls
Anonymous
Okay thankyou
Smok
can someone help me to solve problem
Smok
when I wanted to import a module through the Python Console, I got this error module = self._system_import(name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'jewerly'
Abhinand
Hai... Anyone know how to do email otp verification for login user in django?
Smok
actually, i have a module and when i try to import it I got that problem
Smok
can i send you a photo?
Muflone
no
Smok
I made migrations and wanted to add data to my database through the Python Console
Smok
and i tried to import my module and got this error module = self._system_import(name, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'jewerly'
Muflone
the answer is still the same
Fructuoso Nguema
Hello. Please 🙏🙏🙏 how to add dynamic chat.js in Django?
cj
Hello. Please 🙏🙏🙏 how to add dynamic chat.js in Django?
like any other .js file you add to your project
Fructuoso Nguema
Thank you
Fructuoso Nguema
How to display dynamic data on the chat.j?
Charly
How to display dynamic data on the chat.j?
We don't know. This isn't a javascript group.
Fructuoso Nguema
I mean in using Django
Charly
I mean in using Django
Yeah we don't know because we don't know how that javascript library expects the data
Ignacio
Hello people, which library do you recommend for implementing a notification system in Django?
Ignacio
Thxx
NARASIMHA
What is the imap or pop3 url to be used for django mailbox package
Pasha
Hey 👋 Can someone share link or guide how to make preview pictures in admin ? Thanks.
Karunakar
I have created rest APIs in drf for mobile app purpose now there comes payment gateway integration I have used phonepe for it the question is should I go with drf for payment integration or would it be better with flutter integration?
Karunakar
Because I don't know but I think we can't call the flutter page from our API View/model view set in views.py anyone with the solution?
Karunakar
Artem
Hi, guys, I have hard times to come up with the orm query. I need to fetch query set of all A objects with annotated ids of related B objects (B model has FK to A model). And I need to filter those related B objects with some conditions as well, so it won’t be all the related objects. Is such query possible?
Alex
Hello everyone, I am trying to integrate Dropbox into my Django project, it can upload files to Dropbox but is unable to retrieve the media in the template and {{instance.<field>.url}} Returns None. I can share the codebase if required.
Elyar
Hi everyone I have a django project which uses a postgresql database with predefined tables so i don't have to write models.py and run migrations also default migrations. But I cannot run raw queries either it returns error relation not found. Please help...
Александр
Hello everyone. Is pythonanywhere blockin multiprocessing?
Александр
I am just trying create background process of checking payment on my online shop. It cool working on local machine, but on a python anywhere, I am getting endless loading of page, where this part of code start working
Artem
you can use double underscore
I could not understand how to use ArrayAgg, but already figured out the solution for my question. Thanks anyways
Patrick
ModelName.objects.filter(M2MKey__field=value)
Patrick
Works for both FK and M2M key
Александр
it's this a good code entry? # func 1 pay_url, bill_id, response = conn.create_bill(value=value, comment=comment, description=description) c = multiprocessing.Process(target=check_payment, args=(bill_id, response, new_order, model, item_pk)) c.start() # func2 while True: time.sleep(3) status, response = conn.check_bill(bill_id) if status == "PAID": user_order.update(is_paid=True) result = "Оплачено" send_product(user_order, product_model, item_pk, amount=int(order.amount)) break elif status == "WAITING": continue else: user_order.delete() result = "Отклонено / просрочено" break
Александр
func 1 starting func 2
Александр
can u text what exactly is bad?
Muflone
1) multiprocessing 2) infinite busy loop
Muflone
learn how to use celery
Muflone
read above
Александр
thx bro, i will check it
Александр
celery doesn't work on pythonanywhere ._.
ᅠ ᅠ
Hello everybody. django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path
ᅠ ᅠ
I've already tried everything
ᅠ ᅠ
Nothing works. I read the forums. I'm trying to install django-jazzmin. I also added it to the app. Statics and media indicated
Karunakar
STATIC_ROOT = '/static' would work
Eternity
Doesn’t work
Try: STATIC_ROOT = 'static'
ᅠ ᅠ
Nothing works. I read the forums. I'm trying to install django-jazzmin. I also added it to the app. Statics and media indicated
ㅤXEN
Can anybody help me in the jwt token section?
ㅤXEN
When i give an access token to the authorization bearer, in responsd ive got 401 error