inchidi
Kaio
It worked.. the only problem is when I go to the "next page" the results are non-filtered anymore
Kaio
but it's a beginning
inchidi
Kaio
/?page=2
inchidi
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
{°_°}
Ok guyz any tip on multiple user type example? Or tutorial?
inchidi
/?page=2
weird, maybe you can try debug your returned queryset at get_queryset()
Ghorz
Rohan
No C
I hope you read the messages below it
{°_°}
Rohan
Someone advertised the group?
Mirco
Rohan
?
Few people joined at almost similar time
Rohan
Not that it's bad, but just saying
Ghorz
That's strange
Finally solved, here is how I solved it
https://dpaste.de/W7MQ#L14
Ghorz
Mirco
inchidi
Ghorz
Ghorz
All others did not
Ghorz
By default result will revert to None
inchidi
then why Twitter.results and not self.results
Ghorz
Ghorz
Have tried it earlier
Ghorz
That was the only solution
Mirco
Michael
Is someone here using Django Eventstream and could help me with resolving an issue I seem to have?
Michael
I am trying to pass a dict for view-kwargs to the channelmanager, but only the named groups from my URL re show up, the dict I defined is not incorporated.
Krishna Praneeth
can anyone help.i am getting this error
Krishna Praneeth
AttributeError: module 'django.forms' has no attribute '_errors'
Arthur
No module crispy_forms
Arthur
Help me out with this I'm getting this error
tk
Which one is good to get job in india angular or phone or Python
Rohan
tk
Sorry php
tk
No one there to help me
Ghorz
Ejas
guys...
How to perform multiple forms actions in same page
Ejas
Mike
javascript preventDefault() or django formsets
Vladyslav 🇺🇦🇪🇺
folks
Vladyslav 🇺🇦🇪🇺
need help
Vladyslav 🇺🇦🇪🇺
(
Vladyslav 🇺🇦🇪🇺
how i can make django url from js?
i jave {% some_url %}
and i have some argument that i want to give to url
Vladyslav 🇺🇦🇪🇺
i got '<a href="{% url 'index-to-view' '+id+' %}">' + name + '</a>'
url in js
Vladyslav 🇺🇦🇪🇺
i cant give django url argument whis way 🙁
Mike
arguments sends direct in url example/4, 4 is argument for your view
George
George
But, do you really need it?
George
You could inject the endpoints in a form for example and call them from js.
Vladyslav 🇺🇦🇪🇺
I MADE IT
Vladyslav 🇺🇦🇪🇺
search field on frontend that can search 3 models and returns 3 different views for eash models
Vladyslav 🇺🇦🇪🇺
jesus
Vladyslav 🇺🇦🇪🇺
its coolest then google search field that cat return only 1 model
George
Mi
Hey guys, which would be the best way to render an object with only the model field verbose name and help text for each field of a given model?
George
Mi
If you think it is, maybe I've not explained well myself
George
Maybe its automatic
Mi
I mean to use these labels to create forms in a frontend, similar to using json schema
Mi
Really?
George
Create the form and just {{form}}
Mi
I mean with django rest, sorry
George
😭
Mi
I've had to add a custom serializer and a retrieve view
Mi
But I don't like it a bit
George
Idk
Mi
At least it's not trivial 😅
Trev
Hey folks. I want to iterate over an entire model and collect a total count on some of the data in each entry and display it on the admin page. Would this be a function I can run from admin.py for the model?
Luis