All Posts Create a Post  
0
votes
20
views
Converting django object values dict into native datatype
Posted at 2 weeks, 1 day ago / April 7, 2021, 8:53 p.m.

I’m trying to get specific fields from my database using the object.values() attribute, as such: stocks = Stock.objects.values("ticker", "stock", "exchange__exchange_code", "earnings_yield", "roic") The reason I’m not using Stock.objects.filter()... is because …

105 2 2 0
0
votes
242
views
Awesome django books by agiliq.com
Posted at 6 months, 1 week ago / Oct. 11, 2020, 8:04 a.m.

This awesome django books for refference is also open sourced at https://github.com/agiliq/books Django Admin Cookbook (Django 2.0) Django ORM Cookbook (Django 2.0) Building APIs with Django and Django Rest Framework …

105 2 2 0