django-2.0 Questions

1

Solved

I am trying to query and annotate some data from my models: class Feed(models.Model): # Feed of content user = models.ForeignKey(User, on_delete=models.CASCADE) class Piece(models.Model): # Piec...

1

Solved

After deploying my django project on heroku get this in logs: File "/app/django_structure/src/django_structure/wsgi.py", line 16, in <module> 2018-03-23T12:09:10.575053+00:00 app[web.1]: ap...
Scantling asked 23/3, 2018 at 19:23

2

i am making a blog application for my website with django-2.0 when i run server i see the following error File "C:\Users\User\Desktop\djite\djite\djite\urls.py", line 7, in <module> url(r'^b...

2

Solved

I'm trying to set up Django REST Framework with Django 2.0 project which means url(r'^something/' ... has been replaced with path(something/ .... I'm trying to work out how to set up my rest_frame...
Darton asked 27/2, 2018 at 9:29

2

I want to connect to internal http services with django and I need to buffer the output the http response of those services because some contents are very large. I am using python 3.6, django 2.0,...
Skvorak asked 28/12, 2017 at 22:12

1

Solved

I want to create a Django 2.0 powered website(including auto generated Admin site) that should support multiple languages. For now I only want to keep 2 languages English and Arabic. I read numb...
Keim asked 22/12, 2017 at 11:16

1

Solved

i am trying to activate a user by email, email works, encoding works, i used an approach from django1.11 which was working successfully. In Django 1.11 the following decodes successfully to 28, w...
With asked 14/12, 2017 at 13:11

© 2022 - 2024 — McMap. All rights reserved.