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 becaus
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 welc
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)
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
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
acti
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):
latest_question_list=Question.obje
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 django.htt
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 set
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
&
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, yasa
@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
t;
> Hi.
>
> 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
{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\
us seemingly 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 ..*
>>
>>
>> (
14 matches
Mail list logo