Ayy
Make USE_SSL True in settings.py (key name might be slightly different)
Ganesh
Why After submitting the page still the page is not refreshing
The
Ganesh
This button I given
Anonymous
Did you use form tag?
Shivam
In django, How to generate a weekly and monthly reports from daily basis entry of user expenses ?? Please help me out with this!
Mirco
Shivam
Mirco
And you will understand how to do it
Shivam
I have try using django filter but it didn't work out
K
Can Anyone pls help me out ?
K
I m getting the error maximum recursion depth exceeded while calling a python object ,while running python manage.py runserver command
can anyone pls help me?
Mirco
!search
Doragonsureiyā
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 firsts results
Nikolay
Shivam
Anonymous
How can I solve this error "no such table" as the table is already created?
Anonymous
Without deleting any files
Anonymous
I have tried run syncdb n make migration n migrate also
Ganesh
Anonymous
Ganesh
It will create table
Ganesh
Try one time and see
Anonymous
Ganesh
Anonymous
By using sql commeds
Ganesh
Ganesh
Ya the form is submitting and data is stored in data but the page is not refreshing
CodeCypher
Neeraj
bikrant
Anyone using flutter
bikrant
I have a doubt?
Kotlina²⁰22
Anyone using flutter
I used before but am not perfect in but I can introduce a gp abt this for you .. want it ?
bikrant
Yes sure
Knight
How can I get the latest data of each filtered row. Like:
obj Model.objects.filter(id__in=list_of_ids).latest()
Knight
I want to get the query set wich has filtered and latest data of each id
Knight
Thanks in advance!
Knight
result = Model.objects.filter(id__in=list_of_ids).latest('updated_at')
Knight
This is what I have tried so far
Anonymous
Please i need someone to recommend a free hosting website that support domain for django i really need this now
Nimesh
Hi all,
I need one help i want to get all values in one key from django rest api
Current output I am getting
Nimesh
{
Name: Asia
}
{
Name: North America
}
Expected output:
{
Name:[Asia, North America]
}
Nimesh
Can someone please help me how to get this data
Mindru
def mergeDict(dict1, dict2):
''' Merge dictionaries and keep values of common keys in list'''
dict3 = {**dict1, **dict2}
for key, value in dict3.items():
if key in dict1 and key in dict2:
dict3[key] = [value , dict1[key]]
return dict3
# Merge dictionaries and add values of common keys in a list
dict3 = mergeDict(dict1, dict2)
Anonymous
Neeraj
Chirag
Shanky
i am sending email i have configure SMTP
i am using my gmail account. I have also on less secure option. But i am still getting SMTP error
Shanky
can any one guide me in this why i am getting this.
Neeraj
Pythonanywhere also good
Yes pythonanywhere is also good option, but only for 3 mounths its limit.
While Heroku is unlimited.
Anonymous
Neeraj
Yes
Heroku is unlimited time
Pythonanywhere is for only 3 month then after they ask for payment and plans.
Dharmil
in init
raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg))
TypeError: Product() got an unexpected keyword argument 'proudct_name'
Dharmil
How can i solve it
Dharmil
Okay i will improve
Dharmil
Roman
Hi guys I how can I do it , I need to order DESC then take limit 10 and order it ASC ?
Ninja
Anonymous
Mail send code for template pls
Anonymous
Schools management System
Relate the below models:
1. School
2. Class
3. Teacher (User model)
4. Student
5. Subject
Note:
1. Use Postgres Database
2. Each student must be mapped to a single class
3. Single Teacher can be mapped with multiple subjects
4. Do not map Teacher - Student models
5. Have created_at and updated_at fields in all the models to record when the row is updated or created (You should not explicitly modify these fields in the views or serializers).
6. Follow RESTFul standards while designing APIs
To Do:
1. Write services that provide basic CRUD operations (GET, POST, PUT, DELETE) for all the models
Additional APIs needed apart from basic CRUD:
2. List classes along with the list of students in each class
E.g.
[
{
"id": 1,
"name": "class 1",
"students": [
{
"id": 1,
"first_name": "Firstname",
"last_name": "Lastname"
},
{
...,
...
}
]
},
...,
...
]
3. List students for a particular teacher and class
Anonymous
Schools management System
Relate the below models:
1. School
2. Class
3. Teacher (User model)
4. Student
5. Subject
Note:
1. Use Postgres Database
2. Each student must be mapped to a single class
3. Single Teacher can be mapped with multiple subjects
4. Do not map Teacher - Student models
5. Have created_at and updated_at fields in all the models to record when the row is updated or created (You should not explicitly modify these fields in the views or serializers).
6. Follow RESTFul standards while designing APIs
To Do:
1. Write services that provide basic CRUD operations (GET, POST, PUT, DELETE) for all the models
Additional APIs needed apart from basic CRUD:
2. List classes along with the list of students in each class
E.g.
[
{
"id": 1,
"name": "class 1",
"students": [
{
"id": 1,
"first_name": "Firstname",
"last_name": "Lastname"
},
{
...,
...
}
]
},
...,
...
]
3. List students for a particular teacher and class
Can any one tell me how to do is
Harsh
Can anyone share an adb advanced django project to study and learn?
Mirco
Schools management System
Relate the below models:
1. School
2. Class
3. Teacher (User model)
4. Student
5. Subject
Note:
1. Use Postgres Database
2. Each student must be mapped to a single class
3. Single Teacher can be mapped with multiple subjects
4. Do not map Teacher - Student models
5. Have created_at and updated_at fields in all the models to record when the row is updated or created (You should not explicitly modify these fields in the views or serializers).
6. Follow RESTFul standards while designing APIs
To Do:
1. Write services that provide basic CRUD operations (GET, POST, PUT, DELETE) for all the models
Additional APIs needed apart from basic CRUD:
2. List classes along with the list of students in each class
E.g.
[
{
"id": 1,
"name": "class 1",
"students": [
{
"id": 1,
"first_name": "Firstname",
"last_name": "Lastname"
},
{
...,
...
}
]
},
...,
...
]
3. List students for a particular teacher and class
!paste
Doragonsureiyā
Schools management System
Relate the below models:
1. School
2. Class
3. Teacher (User model)
4. Student
5. Subject
Note:
1. Use Postgres Database
2. Each student must be mapped to a single class
3. Single Teacher can be mapped with multiple subjects
4. Do not map Teacher - Student models
5. Have created_at and updated_at fields in all the models to record when the row is updated or created (You should not explicitly modify these fields in the views or serializers).
6. Follow RESTFul standards while designing APIs
To Do:
1. Write services that provide basic CRUD operations (GET, POST, PUT, DELETE) for all the models
Additional APIs needed apart from basic CRUD:
2. List classes along with the list of students in each class
E.g.
[
{
"id": 1,
"name": "class 1",
"students": [
{
"id": 1,
"first_name": "Firstname",
"last_name": "Lastname"
},
{
...,
...
}
]
},
...,
...
]
3. List students for a particular teacher and class
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
Anonymous
Can any one tell how to child serilizer and serilizer validation
Shahed Khan
Hello, can anyone give a good articla or tutorial about django with ajax dropdown (onchange) method
Nayan
Hi can anyone help me how can i select date from filter ( start date - end date ) basically i want date selector widget and want to apply changes to the tables below . for showing data in tables and filter i am using class based view .
Can some one help me or what can i refer to to select date which i can used with class based views
Anonymous
snc
Anonymous
link
https://github.com/creativecommons/cccatalog-api
you could have googled it btw