V4RI4NT
can anyone solve this below issue https://stackoverflow.com/questions/65913578/how-to-get-subcategory-with-their-category-in-django-models-and-showing-in-templ
Saila
have they get solved or not
Not yet , I am facing 404 redirect issues . I have followed all the steps and added the login_redirect_url ='' Even it's not getting fixed .
Anonymous
Saila Hello 👋 I’m having issues to add phone number to a model.
😇ANGELO™️🎧
Which library to use
No libraries. Just inclide the bootstrap link in your main html page. Then create models according to your posts ad you see fit. Them link them up to the Django project
Gk
I thing I have to use celery
S
You c an still do it. Just pit your mind to it.
I'm just confused where to start.
Raman
I am new in Django framework and currently working on first project. I made a a simple contact form it takes data from user and save it into database. Everything is working right but when I login into my admin panel and go into the contacts and click on the data that I received. I am getting error. Change_view() missing 1 required positional argument: 'object_id'.
Lucid
I have 2 users basically actors student and teacher ,now I want to introduce a new actor admin which has all the functions of teacher with some additional features
Lucid
What is the efficient way of doing this?
😇ANGELO™️🎧
What is the efficient way of doing this?
Do it within the administrator's page
Lucid
Do I migrate all of my teacher models there ?
Suganesh
class FindDataTypeListCrtApi(ListCreateAPIView): queryset = FindDatatype.objects.all() serializer_class = FindDataTypeSerializer def find_datatype(self, args, *kwargs): querylist = FileDatatype.objects.all() file_format = self.request.GET.get('filetype') file_dir = self.request.GET.get('filepath') file_name = self.request.GET.get('filename') HERE = os.path.abspath(os.path.dirname(__file__)) DATA_DIR = os.path.abspath(os.path.join(HERE, file_dir)) file_path = os.path.abspath(os.path.join(DATA_DIR, file_name)) if file_format == 'Excel': xl = pd.ExcelFile(file_data) sheet_name = xl.sheet_names data = pd.read_excel(file_data) data_type = data.dtypes return data_type elif file_format == 'CSV': data = pd.read_csv(file_data) data_type = data.dtypes return data_type elif file_format == 'JSON': data = pd.read_json(file_path) data_type = data.dtypes return data_type else: return "File Format Not Available...!" Hi Im trying to create api for read excel file based on user import file and return output with data type based on pandas. Im completely new for that. Please someone help me to create responsive api.
😇ANGELO™️🎧
In admin.py
Yes you could add it as a model or as a post Use admin.py to add it as a model Use the administrator's login site to add it as a post. You could also use the python she'll if you want
Lucid
Could you refer me a example model?
Lucid
Or any link so I may clear my perplexion
S
Do you guys suggest taking paid course for django ?
S
Did you explore Udemy?
Yes.. A friend gifted me a course... But that course is for django 2.2
Sopan
That should be good to start with - you can upgrade to yourself later then.
Anonymous
Hi. I want to build multi-seller ecommerce website please suggest me any good package for this.
😇ANGELO™️🎧
Do you guys suggest taking paid course for django ?
There are lots of stuffs withthe free tier. There's no need
S
There are lots of stuffs withthe free tier. There's no need
Can you suggest something, like any youtube channel or book
Dish’s
Looking forward a Django developer to integrate stripe with Django-Oscar, send me a dm for more Sebastián
Anonymous
How to install gnu get text tools
Anonymous
How to install gnu get text tools 0.15 or newer installed
S
Simoleisbetterthancomplex
It's based on older django version right?
Abdulloh
hi everyone I copied navbar code from getbootstrap.com but it is not working as showin in bootstrap it is showing like classic mode
Abdulloh
Do I have to import smth to use bootstrap code
M
js and cdn
M
of css
Bunty chhatri wala..
Anyone?
S
Where did you guys started learning django from? And what have you achieved yet?
S
As django developer, do you suggest learning django from any source with older django version?
V4RI4NT
Can anyone tell me how to handle mvc using bootstrap modals form. Scenario: I am using modal button as form for adding, updating. When i want to add it works. But if i want to update some text how to write url and views.
V4RI4NT
I want that when i click on update button it should opened same form as adding
V4RI4NT
Anonymous
Please, I want to implement a function that runs... With second in my Django project ...in such a way that once an investment is initiated, I will run with the duration of the investment plan and counts the investment percentage per second, and return the profit at the end of the investment plan to the user balance
Anonymous
Like its an investment plan project that returns the dividend to the user account balance after the period of the investment days
Raman
Can anybody solve this issue?? https://stackoverflow.com/questions/65872695/python-django-change-view-missing-1-required-positional-argument-object-id
manav
how to check if the number is already exists in database
RENGANATHAN
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>First</title> </head> <body bgcolor="cyan"> {% block content %} {% endblock %} </body> </html>
RENGANATHAN
why we are using {% block content %} {% endblock %}
RENGANATHAN
can anyone response me i have so confused
Anonymous
why we are using {% block content %} {% endblock %}
We can include other template files inside.
RENGANATHAN
ok brother
Kumar
Hi, Any python, Django and yaml developer available for part time paid work. Pls ping me personally with name, exp and skillset. Thanks
Doragonsureiyā
Hi, Any python, Django and yaml developer available for part time paid work. Pls ping me personally with name, exp and skillset. Thanks
Rule 🔟: Job offers are only allowed in the offtopic chat - @PythonOfftopic. To avoid being marked as spam, make your offer include skillset/techstack, salary/reward, contact information and a brief description of what work you want done.
Bunty chhatri wala..
Im using Django allauth If user cancel to login through facebook.. It redirect to this link: xyz.com/accounts/social/login/cancelled How do i override this url to my home page..
Georgev:
hi guys, question
Rahul
How to check status of mail which sent using python ..like user read mail or not
Georgev:
how can i restrict the login template when im logued?
Faisal
Is any one help me in django swagger restframework
Mister
Hey guy I have one problem in django
Mister
How can i modify a style of template which're generate with django.contrib.auth.forms.
Mister
😔
Spartan
Is anyone open to teach Django restful framework i want to learn. Thanks in advance it will really helpful.
âshîsh
Is anyone open to teach Django restful framework i want to learn. Thanks in advance it will really helpful.
Spend time in watching videos on DRF & also focus on documents. Be your own teacher 😎
Fabian
tool for scheduling task in django? Celery? or is there something better
Banjo
Guys, please i need your help I want to create a form with a foreign key field where users can input new data or select from available data for the field. Like a select box that can also contain textbox to input new values Please help me out guys