_untold_._mystery_
Mirco
To give sample code
Look for it on internet, there are many and many articles about it
Too long to explain here
_untold_._mystery_
Yeah but not clearly
_untold_._mystery_
In our project to put two database and try to open separate django admin for database based
Mirco
2 dbs ?
Danish
Is it possible?
Мark
Hello do you know is it possible to implement web3 login?
Ms
Guyz which design pattern would you suggest ,
My project get too complicated and i don't know where should i put login
Specifically in serializers when they get nested its make things even worse
Could some body give me an hint, link or etc...
Thanks
Promiscuous Ferris
Hey guys. i have searched quite a lot for this issue to no avail.
i have this project in which i decided to use APIViews from drf. the thing is, i also changed my auth method from django's deafult to rest framework's implementation. and i fed the jwt authentication method to the REST FRAMEWORK settings.
the thing is, rest framework doesn't make you install middlewares and it suffices to installing the app.
So the way i see it, django's default authentication is still active but is not being used by me views. and furthermore, the rest framework authentication only applies to it's own APIViews, correct?
if so, then how is drf able to check the value of the authorization header? because when i was making my own custom authentication, django's default authentication system would check the authorization header, fail to authorize [rightfully so, since i was using my custom method] and my code wouldn't even run.
at the moment, the drf authentication works even though the django authentication middleware is also active, but the middlewear is not stopping drf from doing its job. how does that happen?
Devendra
Can anyone tell me how to host django project and which platform is best to host
John.
> 𝙼𝚊𝚖𝚋𝚊𝙳𝚎𝚟 >
We are not as accurate as robots
Muflone
The error is pretty common and you mixed migrations having two with the same initial number
M R. WICK
Saeid
Hello,
I am experiencing a weird issue! my project runs very well! but when it gets done all the website gets a mess up! I cannot see the data in the front-end part of my website! I know my question might be general, but I really do not know where the issues are! I got mixed up!
Could you pls guide me? :(
Muflone
Saeid
#static
Thx now the web runs very well! :)
.
2 models, 1 form. Is it real?
I have a model related to django user model, and in 1 form i want to fill this 2 models
Alex
King of dollars
How to Lear django model’s, aunthetication, urls and other things in deep
King of dollars
clouded
Any reliable source
First step in learning Django is to do the official Django tutorial.
King of dollars
Already did
King of dollars
Doesn’t learn much from it
King of dollars
Idk 🤷 it has very long documentations
King of dollars
What I learn from tutorial and what my fellow classmates were doing .. is totally different . I don’t understand what they are doing.
Anurag K
Anybody help me to do google authentication in django project
King of dollars
That’s why I said I need some reliable resource to learn dhango. And I hope you might help me
King of dollars
Just doing and reading also .. but not much
KD
Anurag K
you can use allauth.
Actually i am not using django in build User models, i use custom model for user registration
With that can i use allauth
_untold_._mystery_
Mirco
IDRIS
Hey im having an issue With sending an email to a user With Django can someone help me?
Starboi
Maxim
_untold_._mystery_
why ?
Some task are there based
_untold_._mystery_
have sperate database for each user in django so django admin has to be in different based on user url id
Sasha Tsikhun
hi!
I use Cloudinary to save images and when I add a image to the API (DRF) I have this path (json output):
"image": "image/upload/v1704304089/file.webp"
but in order to access photos from the frontend, the path must be completed:
"image": "https:/res.cloudinary.com/dgma1faft/**image/upload/v1704304089/file.webp**"
Can you tell me, how to make path absolute?
𝙰𝚜𝚑𝚠𝚒𝚗
Sasha Tsikhun
Sasha Tsikhun
but the main thing is that it will work!)
thank you!
Charly
Sasha Tsikhun
ask him then whats the solution
he is just a front-end dev, he doesn't known python and how to work with Cloudinary)
and I am also a beginner...
Charly
Sasha Tsikhun
TI Mercado Industrial
Hello, any course or advice about deploying a Vue + Django + Cloudflare in AWS? Thanks!
py
I am really happy if some tell me the advantage of using Django over other back end framework like Nodejs or php language?
Kasra
Charly
Aman
any resource in how to integrate django with react??
Aman
any tutorial for this
Aman
okay thanks
Máђ_Møùđ_3dłý🖤
Guys, sorry, the problem is that when we create the data piece, it does not work
Doragonsureiyā
I'm
Does anyone know if there is a way to upload large files like 50GB with django?
TI Mercado Industrial
Charly
M. Hossein
Is it possible to make my custom DRF exception handler to catch both drf and django related exceptions?
It does not by default
I also dont wanna use any cuatom middleware
Jarvis
from django.urls import path
from . import views
from django.contrib.auth import views as auth_views
urlpatterns = [
path('',views.dashboard,name='dashboard'),
path('login/', auth_views.LoginView.as_view(), name='login'),
path('logout/', auth_views.LogoutView.as_views(), name='logout'),
]
Jarvis
line 8, in <module>
path('logout/', auth_views.LogoutView.as_views(), name='logout'),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'LogoutView' has no attribute 'as_views'. Did you mean: 'as_view'?
Jarvis
how to solve
Nawaraj
Nawaraj
its as_view() not as_views()
Gigil
Guys I have a project in django 1.1 and python 2.7 and need to integrate a new feature of another team which is in python 3.6+ do any one have experience in making them communicate
Like a script in my django1.1 needs to call the script in the python 3.x
I tried to do IPC but then i am concerned about the load.
ERMIA
how to solve
Plz get use to read error messages it's trying to tell you as_view()
ERMIA
Victor7
Good morning folks
Can anyone help me with the road map of Python backend?
Doragonsureiyā
clouded