Hi , Looking at the second problem only ( https://stackoverflow.com/questions/58568561/nonetype-object-has-no-attribute-render-context ) I can't see any thing obviously wrong with the call you show. django.template.backends.Template.render() ; which you can see called in your backtrace on SO, should call make_context (imported from django.template.context) which should return a context instance (or raise an TypeError). This isn't happening for you. Git seems to suggest code in these area has been pretty stable over the period you are referring to. Given you have at least one other odd error, I wonder if you've damaged you django installation, or python environment insome way. On possibility is if you've opened django/template/context.py in your text editor and managed to scrambled the indentation, eg; if the last line of make_context() got promoted into the preceding else clause it would have the effect you are seeing. You best bet ,if you are still stick, is probably to create a clean virtual env and try to generate a minimal example of what doesn't work, Perhaps by starting with a fail an deleting code, until you get to the smallest possible example. 100 lines is the usual target. You will find the exercise is really useful often reveals the problem to you when you do it yourself. HTH,
On Sun, 2019-10-27 at 12:52 +0530, Abhay Pan wrote: > Hi there, > Can anyone assist with this? I'm really stuck hard here. It would > really be great to learn from such a wonderful django community that > we have here. > > Best Regards, > Abhaypanhere > > On Sun, 27 Oct, 2019, 1:15 AM Abhay Pan, <abhaypanh...@gmail.com> > wrote: > > Hi All, > > > > I have raised an issue. Can any of you provide some insight on > > this? > > > > That would be really helpful for me. > > > > https://stackoverflow.com/questions/58570933/decorator-got-an-unexpected-keyword-argument-trim-url-limit > > > > https://stackoverflow.com/questions/58568561/nonetype-object-has-no-attribute-render-context > > > > > > Regards, > > Abhaypanhere > > > > > > > > django-users+unsubscr...@googlegroups.com > > > > https://groups.google.com/d/msgid/django-users/CABhBUA88nmyzegZejAyOO-99Bq_rjPBzcqLF9zArwD4L6xRMAQ%40mail.gmail.com > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/824a7c67a7b68e85ccca8854c04b2f2b8c6c3585.camel%40gammascience.co.uk.