Re: help

2021-10-25 Thread Aashish Kumar
Yes Django is not installed On Tue, 26 Oct 2021 at 1:29 AM, Planet X wrote: > hey there i can not figure out while django is installed to but its > showing django-admin is not recongnized as an internal or external command > please help > > -- > You received this message because you are subscrib

Re: facing problems while deploying the project some error with static files

2021-10-27 Thread Aashish Kumar
Have you define the static root in settings.py file On Wed, 27 Oct 2021 at 6:35 PM, 'Mr. Aryan Sharma 4-Year B.Tech. Computer Science and Engineering' via Django users wrote: > i am using heroku > > -- > You received this message because you are subscribed to the Google Groups > "Django users" g

Re: How to approach

2021-11-04 Thread Aashish Kumar
It’s very easy to perform in Django do it yourself On Thu, 4 Nov 2021 at 7:29 PM, Trippy Samurai wrote: > Hi there, > I am new to django and have a problem statement am not quite sure how to > approach this,Please help me, > > > Phase 1 Objectives: > >1. Use the existing project setup you ha

Re: Django Admin Login

2021-11-09 Thread Aashish Kumar
Just make the path blank of admin.site.url in main urls.py file On Tue, 9 Nov 2021 at 11:38 PM, webmbackslash wrote: > Habdle it in urls.py file. > But are you sure you want all your site viewed in admin mode? > > Il mar 9 nov 2021, 15:21 Abhi Sharma ha scritto: > >> Hello, >> We have a Django

Re: __init__() got an unexpected keyword argument 'on delete' when make migrations

2021-12-05 Thread Aashish Kumar
ManyToManyField doesn’t need on_delete attribute Remove on_delete attribute On Mon, 6 Dec 2021 at 9:05 AM, Thomas Lockhart wrote: > Please use polite language. Thank you. > > - Tom > > On Dec 5, 2021, at 5:21 PM, Anurag Agarwal > wrote: > > Why are you fucking passing the args > On_delete in m

Re: session id attribute error

2022-09-19 Thread Aashish Kumar
Do this request.session.get(‘id’) On Mon, 19 Sep 2022 at 1:30 PM, shiva singh wrote: > hello everyone please help me how can solve this problem:-[image: > image.jpeg] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

Re: Debbuging

2020-11-16 Thread Aashish Kumar
Delete all the migrations file and run the makemigrations and migrate command again On Mon 16 Nov, 2020, 8:54 AM Luciano Martins, wrote: > please post your repository > > Em domingo, 15 de novembro de 2020 às 19:42:30 UTC-3, sidymo...@gmail.com > escreveu: > >> OperationalError at /admin/product

Re: CSS not linking with HTML

2021-07-28 Thread Aashish Kumar
Do hard refresh Ctrl + f5 On Sat, 29 May 2021 at 12:09 AM, sukhy gill wrote: > Dear Frnds > I am unable to link CSS with HTML > HTML working but CSS not working inside the .html file with the help of > LINK in tag > > I am using thefollowings:- > Setting.py - STATICFILES_DIRS

Re: Error on import psycopg2

2021-09-17 Thread Aashish Kumar
install this package 👇 pip install psycopg2-binary It works perfectly On Wed, 15 Sep 2021 at 9:40 PM, 'Maryam Yousaf' via Django users < django-users@googlegroups.com> wrote: > Hello, > > I need psycopg2 for postgres database in django. While installing it, I am > getting below error. I tried e