Re: django admin and logout

2018-05-02 Thread Umar Kambala
Don't get u.. The problem is that I can't install it On May 2, 2018 5:15 PM, "Jani Tiainen" wrote: > Hi, > > It really depends on your definition of "no activity". > > By default login is tied to session which expiracy you can set (default 2 > weeks). > > Session expiry is by default only updated

Re: need help

2018-05-02 Thread Umar Kambala
I believe its low connection On May 2, 2018 5:16 PM, "Jani Tiainen" wrote: > Looks like your machine doesn't have connection to (some parts) of > internet for some reason, or you do have very slow connection. > > On Wed, May 2, 2018 at 7:46 PM, wrote: > >> please this is the massage i keep on g

Re: need help

2018-05-02 Thread Umar Kambala
So wat do I do then? On May 2, 2018 5:28 PM, "Aditya Singh" wrote: > Sure it is mate > > On Wed, May 2, 2018, 10:51 PM Umar Kambala wrote: > >> I believe its low connection >> On May 2, 2018 5:16 PM, "Jani Tiainen" wrote: >> >>> Loo

Re: need help

2018-05-02 Thread Umar Kambala
Thanks On May 2, 2018 5:33 PM, "Aditya Singh" wrote: > Try to upgrade your internet connection or set up a hotspot from a mobile > device having a good signal strength and internet speed and try again. > Should work for sure > > On Wed, May 2, 2018, 11:01 PM Umar Kambala

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread Umar Kambala
That its not recognized as internal or external command On May 3, 2018 11:21 AM, "Ayser shuhaib" wrote: > Create your projectdir manually then inside the projectdir folder (right > click with your mouse and open command window here) > After that continue with Django commands > django-admin startp

Re: need help

2018-05-19 Thread Umar Kambala
How to I set my debug = false? On my django settings.. I don't know where to get de settings On May 3, 2018 12:52 AM, "Gerald Brown" wrote: Have you tried "pip install django" without the "== 2.0.5". I think that if you do not specify a version pip will install the latest version. On Thursday, 0

Re: need help

2018-05-19 Thread Umar Kambala
se is? > If so, it would be in your project folder/project name/settings.py > > > Sent from my mobile device > > On May 19, 2018, at 4:36 AM, Umar Kambala wrote: > > How to I set my debug = false? On my django settings.. I don't know where > to get de settings > On

Re: need help

2018-05-19 Thread Umar Kambala
e, what is the output? It’s best to leave debug on until you have all the bugs worked out since it provides a lot of information that will tell you what’s happening Sent from my mobile device On May 19, 2018, at 8:32 AM, Umar Kambala wrote: I have been following de tutorials on web developme

Re: need help

2018-05-20 Thread Umar Kambala
er on personal.py .. Need ur help On May 2, 2018 5:28 PM, "Aditya Singh" wrote: > Sure it is mate > > On Wed, May 2, 2018, 10:51 PM Umar Kambala wrote: > >> I believe its low connection >> On May 2, 2018 5:16 PM, "Jani Tiainen" wrote: >> >>>

Re: getting error while reloading the url"http://localhost:8000/polls/".The error is given below.Please tell my why i am seeing this error?

2018-05-23 Thread Umar Kambala
Plz I need ur help, I found this error TemplateDoesNotExit at polls/1/ On May 22, 2018 6:29 PM, "김영찬" wrote: > urlpatterns = [ > path('', include('polls.urls')), > path('admin/', admin.site.urls) > ] > > In this chuck of code, you should write like this, > > urlpatterns = [ > path('polls/', inclu

[no subject]

2018-05-23 Thread Umar Kambala
Plz need help I found this problem TemplateDoesNotExit at /polls/1/ where might have I gone wrong? -- 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+u

Re:

2018-05-23 Thread Umar Kambala
Yes its spelled correctly on the command window its telling me TemplateDoesNotExit: polls/detail.html On May 23, 2018 9:58 AM, "tango ward" wrote: Check if your template name is correct in your views.py On Wed, May 23, 2018 at 5:56 PM, Umar Kambala wrote: > Plz need help &

Re:

2018-05-24 Thread Umar Kambala
lates', 'DIRS': [os.path.join(BASE_DIR, 'templates'), ], > 'APP_DIRS': True, > ...More code here... > > On Wed, May 23, 2018 at 3:16 AM Umar Kambala > wrote: > >> Yes its spelled correctly on the command window its telling me >>

Re:

2018-05-24 Thread Umar Kambala
> > Assuming you haven't changed the TEMPLATES settings in some way. > > -- > -- > Anthony Flury > email : *anthony.fl...@btinternet.com* > Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* > > On 23/05/18 11:16, Umar Kambala wrote: > >> &

Re:

2018-05-24 Thread Umar Kambala
contrib\auth\templates\polls\detail.html (Source does not exist) On Thu, May 24, 2018 at 3:14 AM, Umar Kambala wrote: > I change the template settings to this > > TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', > 'DIRS': [os.

help me out

2018-05-24 Thread Umar Kambala
please help me, this is the error mgs am been getting whenever i run my manage.py runserver Not Found: / [24/May/2018 14:16:40] "GET / HTTP/1.1" 404 2027 Internal Server Error: /polls/ Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-pac

Re: Issue with Django migrate - fine with 2.7x python, but error with 3.6.4?

2018-05-24 Thread Umar Kambala
please help me, this is the error mgs am been getting whenever i run my manage.py runserver Not Found: / [24/May/2018 14:16:40] "GET / HTTP/1.1" 404 2027 Internal Server Error: /polls/ Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-pack

Re: help me out

2018-05-24 Thread Umar Kambala
lazuelos Guerrero > El 24/05/2018, a las 8:32 a.m., Umar Kambala escribió: > > File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\ lib\site-packages\django\template\loader.py", line 47, in select_template > raise TemplateDoe

Re: help me out

2018-05-24 Thread Umar Kambala
Thanks very much, will try it n get back to u On May 24, 2018 4:56 PM, "Melvyn Sopacua" wrote: > On donderdag 24 mei 2018 17:28:53 CEST Umar Kambala wrote: > > It is located in mysite/polls/template/polls/ > > It should be in mysite/polls/templates/polls/ > >

Re: help me out

2018-05-27 Thread Umar Kambala
e: > On donderdag 24 mei 2018 17:28:53 CEST Umar Kambala wrote: > > It is located in mysite/polls/template/polls/ > > It should be in mysite/polls/templates/polls/ > > Note: templates with an s, not template. > > -- > Melvyn Sopacua > > -- > You received this m

Re: Django channels with python background tasks

2018-05-27 Thread Umar Kambala
Please when I runserver I gets this error, NameError:name 'template' is not defined. My templates are in this dir mysite/personal/templates/personal. What's my problem? On May 27, 2018 9:04 AM, "Roger Gammans" wrote: > I think there is a little bit of confusion in this thread,a s we keep talk > a

Need help

2018-05-27 Thread Umar Kambala
I wans to start a new project on de django web development but wen I type >django-admin startproject mysite I get this error CouldNotFoundError:No module name 'django.template' plz help me out -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Re: Need help

2018-05-27 Thread Umar Kambala
Thank u will try it On May 27, 2018 7:01 PM, "Dheeraj Singh" wrote: > I will encourage you to use pyCharm for same it will give you kick start > > On Sun, May 27, 2018 at 7:14 PM, Umar Kambala > wrote: > >> I wans to start a new project on de django web develo

Re: Django bugfix release: 2.0.6

2018-06-03 Thread Umar Kambala
Please I have a problem, after successfully going through the django polls and having results, and now wans to run a tuturial on a web development, wen I runserver I gets errors. I don't really understand where the problem is. The problem is "NameError:name 'template' is not defined" On Jun 1, 201

Re: Django bugfix release: 2.0.6

2018-06-04 Thread Umar Kambala
uth', > 'django.contrib.messages.context_processors.messages', > ], > }, > }, > ] > > and it is in root path of your project > > 2018-06-03 18:20 GMT+08:00 Umar Kambala : > >> Please I have a problem, after s

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 receivi

Re: Can't access my django runserver

2018-06-29 Thread Umar Kambala
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? > > -- >

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', 'django.co

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... >> >> # SECURI

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, "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')], > >

Re: Can't access my django runserver

2018-07-01 Thread Umar Kambala
if path is None: raise template.TemplateSyntaxError( "Static template nodes must be given a path to return.") self.path = path self.varname = varname def url(self, context): path = self.path.resolve(context) return sel

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 receive

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 th

help

2018-07-05 Thread Umar Kambala
please this what i had after running my Django-admin startproject myproject File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\django\core\management\__init__.py", line 371, in execute_from_command_line utility.execute() File "c:\users\admin\appdata\local\prog

Re: help

2018-07-05 Thread Umar Kambala
AM, Tim Vogt (Tim Vogt) wrote: > perhaps run the project with python2 or > do python manage.py migrate. > > > Op 5 jul. 2018, om 13:18 heeft Umar Kambala het > volgende geschreven: > > please this what i had after running my Django-admin startproject myproject > &g

Re: help

2018-07-05 Thread Umar Kambala
self.stdout.write("Extracting %s\n" % filename) try: archive.extract(filename, tempdir) return tempdir except (archive.ArchiveException, IOError) as e: raise CommandError("couldn't extract file %s to %s: %s" %

Re: help

2018-07-05 Thread Umar Kambala
please i wants to uninstall my django and install new one how do i do that? On Thu, Jul 5, 2018 at 4:30 AM, Umar Kambala wrote: > The problem is in line 17 but I don't know how to go by it > > import cgi > import mimetypes > import os > import posixpath > import re >

Re: help

2018-07-05 Thread Umar Kambala
Please am sorry am new to django, I don't really understood what u mean On Jul 5, 2018 11:42 AM, "Tim Vogt (Tim Vogt)" wrote: do $ls and find the directory where the manage.py file is. cd.. to go one directory back Op 5 jul. 2018, om 13:25 heeft Umar Kambala het volgende gesc

Re: help

2018-07-05 Thread Umar Kambala
t. > There is no manage.py > > So to get to the folder where the manage.py is you have to know in wich > folder it is. > And with the command line commando’s you can go there. > > cd.. is one folder higher > cd project_name_folder is one folder deeper > > Op 5 jul. 201

help

2018-07-06 Thread Umar Kambala
please this the error i got when i run python manage.py makemigrations File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py", line 371, in execute_from_command_line utility.execute() File "C:\Users\Admin\AppData\Local\Programs\P

Re: help

2018-07-06 Thread Umar Kambala
, Anirudh choudhary < > anirudhchoudary...@gmail.com> wrote: > >> Add on_delete = models.CASCADE >> EVERY WHERE YOU ARE USING FOREIGN KEY >> >> On Fri, 6 Jul 2018, 4:43 p.m. Umar Kambala, >> wrote: >> >>> please this the error i got when i run python m

Re: help

2018-07-06 Thread Umar Kambala
Please sorry am new to django, if u could further explain it to me. Thanks On Jul 6, 2018 11:39 AM, "Anirudh choudhary" wrote: > Add on_delete = models.CASCADE > EVERY WHERE YOU ARE USING FOREIGN KEY > > On Fri, 6 Jul 2018, 4:43 p.m. Umar Kambala, wrote: > >> ple

Re: help

2018-07-06 Thread Umar Kambala
sage as it shows you the file and line number of where the error is. On Friday, 06 July, 2018 07:13 PM, Umar Kambala wrote: please this the error i got when i run python manage.py makemigrations File "C:\Users\Admin\AppData\Local\Programs\Python\Python36-32\ lib\site-packages\django\core\mana

Re: help

2018-07-06 Thread Umar Kambala
And I still gets de same error On Jul 6, 2018 12:42 PM, "Umar Kambala" wrote: > Please this wat I now hv am I correct? > > On_delete = models.PROTECT > On Jul 6, 2018 11:28 AM, "Gerald Brown" wrote: > > In any field that is a ForeignKey you now have t

Re: wagtail of django view for blog?

2018-07-06 Thread Umar Kambala
mr Tim can u help? i have this codes but gets error from django.db import models from django.contrib.auth.models import User class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField(max_length=100) class Topic(models.Model): subj

Re: wagtail of django view for blog?

2018-07-06 Thread Umar Kambala
Mr Tom thanks very much. It has helped me alot On Jul 6, 2018 1:27 PM, "TimT Vogt" wrote: > Try this > > https://www.valentinog.com/blog/django-missing-argument-on-delete/ > > Verstuurd vanaf mijn iPhone > > Op 6 jul. 2018 om 14:55 heeft Umar Kambala het > vol

Help

2018-07-08 Thread Umar Kambala
class HomeTests(TestCase): def setUp(self): self.board = Board.objects.create(name='Django', description='Django board.') url = reverse('home') self.response = self.client.get(url) def test_home_view_status_code(self): self.assertEquals(self.response.status_code, 200) def test_home_url_resolves_hom

Re: Help

2018-07-08 Thread Umar Kambala
em? Thanks On Jul 8, 2018 4:21 PM, "Kasper Laudrup" wrote: > Hi Umar, > > On 2018-07-08 13:43, Umar Kambala wrote: > >> >> Please when I run python manage.py test I gets >> IndentationError : unident does not match any outer indentation level. >> &

Re: Help

2018-07-08 Thread Umar Kambala
Am being using de django server which is 127.0.0.1 and never had any problem till today. Thanks On Jul 8, 2018 4:51 PM, "Jason" wrote: the error states the issue: your computer is not connected to the internet. https://docs.djangoproject.com/en/2.0/intro/tutorial01/# the-development-server --

Re: Help

2018-07-08 Thread Umar Kambala
such > as Internet Explorer, Edge etc, refuse to attempt to make any TCP > connections even if they are to localhost (127.0.0.1). A quick google > suggests that your AV or firewall could also cause this. > > I hope this gives you a few places to look. > > On Sun, 2018-07-0

Needs help

2018-07-09 Thread Umar Kambala
Am lost as to what to do, I try troubleshooting but couldn't fine de answer... This are my codes from django.contrib.auth.models import User from django.shortcuts import render, redirect, get_object_or_404 from .models import Board, Topic, Post def new_topic(request, pk): board = get_object_or_404

Re: Needs help

2018-07-09 Thread Umar Kambala
Thanks On Jul 9, 2018 11:57 AM, "Kasper Laudrup" wrote: > Hi Umar. > > On 07/09/2018 01:52 PM, Umar Kambala wrote: > >> >> This is the error >> >> url(r'^$', views.home, name='home') >> attributeError: module 'boards.v

Re: Needs help

2018-07-12 Thread Umar Kambala
can access de local server? On Jul 9, 2018 11:57 AM, "Kasper Laudrup" wrote: > Hi Umar. > > On 07/09/2018 01:52 PM, Umar Kambala wrote: > >> >> This is the error >> >> url(r'^$', views.home, name='home') >> attributeError: modu

Re: Needs help

2018-07-12 Thread Umar Kambala
That's what I have been trying since, but it's not going through On Jul 12, 2018 9:01 AM, "Mike Dewhirst" wrote: > Try http://127.0.0.1:8000 > > On 12/07/2018 6:40 PM, Umar Kambala wrote: > >> >> Kasper thanks for your brotherly advice, please I will

Help

2018-07-18 Thread Umar Kambala
I have been getting this error ValueError at /signup/ The view accounts.views.signup didn't return an HttpResponse object. It returned None instead. This are the codes *accounts/**views.py* from django.contrib.auth import login as auth_login from django.contrib.auth.forms import UserCreationFo

Hi

2018-09-03 Thread Umar Kambala
Plz how do I add pictures to my poll questions? I have successfully completed the tutorials and I now wants to modified my site to have images so that people can vote. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Python Django Training

2020-02-03 Thread Umar Kambala
Add me to the group please.. +233(0)203502038 On Feb 2, 2020 6:50 PM, "Nabil Mokhtar" wrote: > Ok we now have many interested members > Any one suggest group app we can share material on it with our questions > to keep us connected > > On Sun, Feb 2, 2020, 20:11 Sarvesh singh wrote: > >> I m als

Re: Python Django Training

2020-02-20 Thread Umar Kambala
Plz add me to the WhatsApp group if there's any +233(0)203502038 thanks On Feb 1, 2020 1:42 PM, "Srikanth K" wrote: > Hi, > > I am from Hyderabad. I am Python Developer by Profession. I am eager take > up any Python , Django Training (online Preferrable or Weekends). Members > who require can con