Re: use of migrate command and how to see the tables

2019-07-20 Thread yasar arafath Kajamydeen
Thanks all who is replied to my post On Fri, Jul 19, 2019 at 10:32 PM Afotro Ben wrote: > > in my opinion migrate is the command that saves your code for django to > run or tells django that an application has been installed. > > > On Friday, 19 July 2019 08:22:33

how to see the list of created tables in sqlite

2019-07-18 Thread yasar arafath Kajamydeen
Hi all, After executing the command - python manage.py migrate the command is successful and then i would like to see the list of created tables so i enter command like .schema but it showing error. Please try to help me . Note - Am beginer to python -- You received this message

use of migrate command and how to see the tables

2019-07-19 Thread yasar arafath Kajamydeen
Hi all, can some one tell me what is the use of migrate command ? when i enter the command i got the following error (No migration to apply) . I dont know what to do further and also i would like to create tables (sqlite) . [image: migrate.JPG] Note - I am a beginer to Django .. Most

Re: use of migrate command and how to see the tables

2019-07-19 Thread yasar arafath Kajamydeen
ts. > > > pe 19. heinäk. 2019 klo 11.23 yasar arafath Kajamydeen > kirjoitti: > >> Hi all, >> >> can some one tell me what is the use of migrate command ? >> >> when i enter the command i got the following error (No migration to >> apply)

AttributeError

2019-10-01 Thread yasar arafath Kajamydeen
Hi , While try to execute it showing AttributeError, Can some one help me on this. *My views.py* from django.shortcuts import render from django.http import Http404 from django.http import HttpResponse from .models import Question def index(request):

Virtual Environment error

2019-09-24 Thread yasar arafath Kajamydeen
Dear All, Actually i forget my virtual environment name. So when i run -- python manage.py runserver command its showing error like this . ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to

Re: CSS not working

2019-10-11 Thread yasar arafath Kajamydeen
. > > You could try to diagnose issue with findstatic management command: > > ./manage.py findstatic -v 3 polls/style.css > > You should get a list of paths Django tried to look for your static file > (stylesheet) and of course was it found. > > > pe 11. lokak.

CSS not working

2019-10-10 Thread yasar arafath Kajamydeen
Hi All, I just added style sheet in my application but its not working , Please try to help me. Setting.py import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development

Re: CSS not working

2019-10-10 Thread yasar arafath Kajamydeen
Hi Suraj, As for your suggestion i tried like this but its not working , Please do needful. STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), ] Regards, Yasar Arafath K On Friday, October 11, 2019 at 11:18:42 AM UTC+8, yasar arafath Kajamydeen

Re: CSS not working

2019-10-10 Thread yasar arafath Kajamydeen
Hi Mike, I created separate folder for static, Please find the att (polls.xlsx). Regards, Yasar Arafath K On Friday, October 11, 2019 at 11:18:42 AM UTC+8, yasar arafath Kajamydeen wrote: > > Hi All, > > I just added style sheet in my application but its not working , Please &

Re: CSS not working

2019-10-10 Thread yasar arafath Kajamydeen
@Suraj - Please find the polls.xlsx attachment in conversation . On Friday, October 11, 2019 at 12:10:04 PM UTC+8, Suraj Thapa FC wrote: > > Send the directory structure of the project > > On Fri, 11 Oct, 2019, 9:29 AM yasar arafath Kajamydeen, > wrote: > >> Hi

Not Getting proper Result

2019-10-05 Thread yasar arafath Kajamydeen
Hi All, Page navigation not working correctly instead it showing error messge as " You didn't select a choice" . Can some one put light on this . Regards, Yasar Arafath K *My views.py* from django.shortcuts import get_object_or_404, render from django.http import Http404 from

Re: CSS not working

2019-10-12 Thread yasar arafath Kajamydeen
{load static} > > On Fri, Oct 11, 2019 at 11:59 AM yasar arafath Kajamydeen < > yasa...@gmail.com > wrote: > >> *@ Jani - Executed the given cmd, Please find the output and please >> guide me further ..* >> >> >> (mypython) C:\Users\kajamydeenya\

Re: CSS not working

2019-10-12 Thread yasar arafath Kajamydeen
emingly you see that it > wasn't doing "nothing". > > > pe 11. lokak. 2019 klo 9.30 yasar arafath Kajamydeen > kirjoitti: > >> *@ Jani - Executed the given cmd, Please find the output and please >> guide me further ..* >> >> >> (mypython)