Re: django runserver

2017-10-15 Thread Ph Lange
Sry didn t read carefully enough Tried to put the IP in ""? -> ALLOED_HOSTS=["IP"] Greetz aditya kumar – Sat., 14. October 2017 13:38 > why i m getting this error while running server? > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "D

Django and Angular2/4 example project

2017-10-15 Thread MartinF11
Hello, is there any example project or scaffolding tool for creating some sample project including frontend/backend? I am wondering why such project does not exist or maybe I just cannot find it. There was django-angular but it is for AngularJS1 which so obsolete todays. I need such very bas

Different user types - the best method

2017-10-15 Thread majvan
Hello, in my application I wanted different user types each having different authentication method. I think to create authentication backend for each User model is possible. The difficult part here is to create different user models. AFAIK, all the user classes have to be derived from AbstractBa

Re: Can anyone help me in Template error?

2017-10-15 Thread yingi keme
Check the extension. Sometimes editor will save the file as .htm while your are referencing .html in your views. This can give a "No templates found" exception too. Yingi Kem > On 15 Oct 2017, at 11:22 AM, utpalbrahma1...@gmail.com wrote: > > even though i have correct to login.htmlwhile

Re: Can anyone help me in Template error?

2017-10-15 Thread utpalbrahma1995
even though i have correct to login.htmlwhile running server and when i try to open accounts page it pops an error show below-- "no templates found" in my browser -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gr

Re: Can anyone help me in Template error?

2017-10-15 Thread yingi keme
What exactly is the error you are trying to fix? Yingi Kem > On 14 Oct 2017, at 10:49 AM, utpalbrahma1...@gmail.com wrote: > > my code that caused an error : > /// > from django.shortcuts import render > from django.http import HttpResponse > from django.template import loader > # Create your vi