Karthik
cj
Karthik
Eric
User
User
User
Mehrdad
Hi,
Is there any sample code to implement master/detail in django?
Doragonsureiyā
Eric
Okay
You could also do what this guy did: https://www.bbc.com/news/technology-21043693 and get someone in this group to build it for you 😅
Mehrdad
What are you talking about?
i need a form, above there is a tab control and inside it is a grid that comes from a master table
below it there is another tab control and inside that also there is a grid that holds data from detail info of that header in above
whenever user scroll down the header grid, the detail grid shows related details of that header
am i clear?
Lalit
For OTP authentication which third party should I use
Mirco
Balde
i want to know how to convert html file to pdf with django
ERMIA
Careful
Jack
User
Pratap
Hii everyone
I have a issue with django admin panel looks so weird how can i fix it anyone help me
Gaurav
Hay i am kind of new in django and react too but I had a project of mlm site so can anybody help me with that like
Should I make app for every diff. Role like admin, distributor,and moderator and also tell me where to make these deshboard of each role like in react
부산
Gaurav
Ya I did that
Gaurav
But now I have prob. In logic like i had a site in c# and I am converting it into react and django
Gaurav
Now
Prasanna
Hello,I am new to django project.i already have done small Project in codeignitor..I need to add data dynamic and save data to database means.i have tried many scripts but failed...so anybody help
Prasanna
I have four form in single html page.if i submit first form means data to be saved and move to next tab.. anybody help...2days I am struggling
Jan
Pratap
Alaa
Hey guys I'm working on chrome extension for spell check as when it's find a mispelled word it should be underlined and a context menue displayed my api is django and its working the extension is sending the request successfully but some how no underlined mispelled words or a context menue displayed
ERMIA
What the fuck?django is backend framework while react is a library
Abuya
No you can't use django in react without creating api because django is a framework
Muflone
This doesn't change the facts
Abuya
It is not an advisable way to write code
Muflone
YouTube for learning is always LOL
Suren
Hello, page_obj.paginator.count counts all articles, how can I make it that way that article which is not active not counted?
Charly
Balde
Guys who want to do a django project as a group. And I am new to django and programming. So we need someone to organize and give direction.
Muflone
Azimov
hi i need help
The following error occurs in Django when I add information to the database from the admin panel
OverflowError at /admin/core/product/add/
Python int too large to convert to C ssize_t
Juan
Hosting free or cheap for django?
Juan
C&E&H
C&E&H
Naggafin
question for all: has anyone experienced an odd issue when writing a django TestCase class where you create an object (say, User) and then add other objects to one of its M2M fields (say, Permission on User.user_permissions, via the add() function) only to have it appear blank when querying from a test function? i.e., if I make a user object in setUpTestData(), and add permissions to it via user.user_permissions.add(perm), then check it at the end of setUpTestData(), everything looks as expected. BUT, when it goes to running tests, and THEN I check it, using user.has_perm() or even user.user_permissions.all(), I get nothing. literally as if I'd never added it. I am using TestCase, so the data should not be changing from test to test because they're wrapped in transactions. I'm completely lost at this. has anyone else experienced the same issue?
PS: the super weird thing is that if I perform a check inside of another function called by the test function (for example, a View class' handler methods), THEN it shows! I mean if I do MyView.as_view()(request) then check request.user.user_permissions.all(), they show! but request.user and user are the SAME instance. I don't understand :(
Naggafin
Hosting free or cheap for django?
contabo does vps rentals for $8/mo. that's very inexpensive all things considering. you could rent a bare bone vps then setup your django env yourself on it. you'd need to configure apache and all that yourself though. it can be pretty technical if you don't have experience with Linux sys admin stuff
Naggafin
Sandip
In my pc i have installed django-otp but when i try to makemigrations it shows me 'no django-otp model found
Naggafin
Sandip
Yes
Andrej
Sandip
Yes
Naggafin
have you gone thru their documentation? if you're having this problem with a standard setup, chances are very high someone else also has had it, enough to the point where a solution maybe in the docs
Andrej
Sandip
Yes
Andrej
Runserver command'
Sandip
Setting which creates at the time of project creation
Sandip
No i haven't try runserver command
Sandip
Could you please wait for 5 min i will check
Naggafin
yes. something also to think about: did you truncate any database tables manually? if django's tables register that django-otp has been migrated, but in actuality the table for it was truncated or deleted, then you will get that error
Sandip
It still shows no module name django-otp
Sandip
Shall i share my code
Sandip
How can i
Naggafin
Shall i share my code
no, not for an import error. it means you need to install the stated module with pip
Sandip
I have installed pip saperate env and also global
Naggafin
How can i
https://django-otp-official.readthedocs.io/en/stable/overview.html#installation
Naggafin
pip install django-otp
Sandip
for now i will read this documentation
Sandip
thanks to you
Naggafin
you are welcome
Sandip
wait