Re: Can't access my django runserver

2018-07-04 Thread Umar Kambala
Please I made the correction and am still getting the same error On Jul 1, 2018 10:43 PM, "Jason" wrote: You're importing the wrong thing *from django import templates* should be *from django import template* no "s" on the latter -- You received this message because you are subscribed to

Re: Can't access my django runserver

2018-07-01 Thread Jason
You're importing the wrong thing *from django import templates* should be *from django import template* no "s" on the latter -- 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,

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Please am new to django n I don't know where to get the problem tree. Need further clarifications On Jul 1, 2018 10:18 PM, "Anirudh Jain" wrote: Can you please show your directory structure ? Just take the screenshot of your project tree from code editor and that would be enough. -- You

Re: Can't access my django runserver

2018-07-01 Thread Anirudh Jain
Can you please show your directory structure ? Just take the screenshot of your project tree from code editor and that would be enough. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
please this what i got after correcting my codes when i run python manage.py runserver C:\Users\Admin\Desktop\Djan Polls>cd mysite C:\Users\Admin\Desktop\Djan Polls\mysite>python manage.py runserver Traceback (most recent call last): File

Re: Can't access my django runserver

2018-07-01 Thread Jason
what does this have to do with the original question of this post? On Sunday, July 1, 2018 at 1:45:14 PM UTC-4, Ripon Uddin wrote: > > Anybody can help about Django Auth Login please ? > > > On Sun, Jul 1, 2018 at 3:27 PM Umar Kambala > wrote: > >> Am very grateful >> On Jun 30, 2018 1:05 PM,

Re: Can't access my django runserver

2018-07-01 Thread Ripon Uddin
Anybody can help about Django Auth Login please ? On Sun, Jul 1, 2018 at 3:27 PM Umar Kambala wrote: > Am very grateful > On Jun 30, 2018 1:05 PM, "Anirudh Jain" > wrote: > >> You forgot to put 'comma' after DIRS': [os.path.join(BASE_DIR, >> 'templates')] in templates. >> >> It should be

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Am very grateful On Jun 30, 2018 1:05 PM, "Anirudh Jain" wrote: > You forgot to put 'comma' after DIRS': [os.path.join(BASE_DIR, > 'templates')] in templates. > > It should be DIRS': [os.path.join(BASE_DIR, 'templates')], > > On Sat 30 Jun, 2018, 15:52 Umar Kambala, wrote: > >> >> this are my

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Am very grateful On Jun 30, 2018 12:49 PM, "Jason" wrote: > you're missing a comma at the end of > > 'DIRS': [os.path.join(BASE_DIR, 'templates')] > > for future reference, if you want people to help you, give the information > up front as well as context. Your original posting showed minimal

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
Am very grateful On Jun 30, 2018 1:05 PM, "Glen D souza" wrote: > I think there is a ' , ' missing after 'DIRS' in Templates settings > > On Saturday, 30 June 2018, Umar Kambala wrote: > >> >> this are my codes... >> >> # SECURITY WARNING: don't run with debug turned on in production! >> DEBUG

Re: Can't access my django runserver

2018-06-30 Thread Anirudh Jain
You forgot to put 'comma' after DIRS': [os.path.join(BASE_DIR, 'templates')] in templates. It should be DIRS': [os.path.join(BASE_DIR, 'templates')], On Sat 30 Jun, 2018, 15:52 Umar Kambala, wrote: > > this are my codes... > > # SECURITY WARNING: don't run with debug turned on in production! >

Re: Can't access my django runserver

2018-06-30 Thread Glen D souza
I think there is a ' , ' missing after 'DIRS' in Templates settings On Saturday, 30 June 2018, Umar Kambala wrote: > > this are my codes... > > # SECURITY WARNING: don't run with debug turned on in production! > DEBUG = True > > ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com'] >

Re: Can't access my django runserver

2018-06-30 Thread Jason
you're missing a comma at the end of 'DIRS': [os.path.join(BASE_DIR, 'templates')] for future reference, if you want people to help you, give the information up front as well as context. Your original posting showed minimal information, so there was nothing we could do until you posted the

Re: Can't access my django runserver

2018-06-30 Thread Umar Kambala
this are my codes... # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com'] ALLOWED_HOSTS = ['localhost', '.pythonanywhere.com'] # Application definition INSTALLED_APPS = [ 'polls.apps.PollsConfig',

Re: Can't access my django runserver

2018-06-29 Thread Mikhailo Keda
show your code -- 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 post to this group, send email to

Re: Can't access my django runserver

2018-06-29 Thread Umar Kambala
Thanks for the reply My problem is when I run python manage.py runserver I gets this error: 'APP_DIRS': True, SyntaxError: invalid syntax Am following this tutorial on the django polls section On Jun 27, 2018 12:44 PM, "Joshua Kayode" wrote: I think you need to give more details, we are all

Re: Can't access my django runserver

2018-06-27 Thread Joshua Kayode
I think you need to give more details, we are all ready to help! On Jun 27, 2018 10:41, "Umar Kambala" wrote: > Please after going through my django polls, now if I runserver I gets this > error > > 'APP_DIRS' : True, > SyntaxError: invalid syntax. > Please wat do I do? > > -- > You received

Can't access my django runserver

2018-06-27 Thread Umar Kambala
Please after going through my django polls, now if I runserver I gets this error 'APP_DIRS' : True, SyntaxError: invalid syntax. Please wat do I do? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop