Mirco
Mirco
Anonymous
Mirco
still same
try to change 'users' to 'registered_users' as key into context and into template's loop
Anonymous
Mirco
same
ok that's strange
Anonymous
one more issue, getting this while sending text to chat room
https://pastebin.com/33LadPfF
Shreehari
Hey guys
Have created a class based based views
each definitions return different urls .
How can i implement all those at one once in a template
Here is my views.py https://del.dog/zaxicuyuwe.py
cj
Sagar
Omair
Hi I wanted to integrate Oauth2 in my app which has DRF backend and flutter front end and I am using [social-oauth](https://github.com/RealmTeam/django-rest-framework-social-oauth2) and I cant understand how this will be implemented in the frontend and which social-oauth provided API endpoints to use to get setup a my app.
Omair
The documentation is not very beginner freindly
Omair
*friendly
Root
Hello Everyone
Root
I'm new to django.. and, i was thinking of what db is best for production.
Root
"Using PostgreSQL is the safe way to go, but sometimes you can use SQLite" - DjangoDeployment.
Is it safe? Any chances to getting attacked by an SQL Injection or something..
Root
Root
like, mostly handling user subscription or payments.
Root
sorry if the question is too childish, but hey, we never ask we'll never know. so :)
cj
Root
Root
Shiva
Guys anyone here working with map on Django ?
Root
relational database. 😊 Got it.
Mirco
rock
i have a doubt regarding searching a post in django using the search bar
rock
how exactly to implement
rock
with a specific template
Mirco
how exactly to implement
Make a url that accept a querystring , then make a form that send via GET the input of your text input bar , get querystring into your view and use that value to filter your queryset
rock
ok thanks I'll check that
Mirco
rock
so what if its a class base view
rock
like you are using a class for filtering the user post list
Mirco
rock
fbv?
Mirco
Function based views
rock
ok
rock
so is it good to use class base or fbv ?
rock
ok so for now if i just create a fbv in views.py that should work right
Mirco
rock
ok thanks 👍
Mirco
dynamic
I'm getting the following error:
(postgres.E003) ArrayField default should be a callable instead of an instance so that it's not shared between all field instances.
HINT: Use a callable instead, e.g., use `list` instead of `[]`.
This is the link to my model: http://snippi.com/s/3j6sd8w
dynamic
Can someone help?
dynamic
I tried changing the ['tag_status'] to a function which returns ['tag_status']. This didn't work.
Shreehari
sending multiple contexts of same view makes page loading slow?
dynamic
From DJango 1.8 to Django 1.9, was there a change in Migrations, if the initial migration file did not have the value initial=True then it wont be picked up?
👍
I have an independent table in my mysql database that I'm using in my django project. how I can access that table in django like ={ query = independent table.objects.all() }
Mirco
👍
👍
👍
so this is not possible
Mirco
if u don't share the error, it's hard to help ya
we don't have a magic ball yet
👍
Mirco
👍
Mirco
I think you can refactor lots of thing, especially all the stuff related to pandas
👍
👍
Sagar
Like this
Sagar
Use imgur
Sagar
Or send code using pastebin
Anonymous
How to use jupyter for django codes?
raven
Can anybody help me ?
In my project i have a view and it's depending on a model.objects.all() if i add new values its not getting reflected in view.
Margo
raven
i reloaded the page then too it's no changes
Margo
Browser can cache data too. I've struggled with similar problem recently and solved it with decorator @never_cache.