Re: django.db.utils.OperationalError: no such table abc

2021-10-20 Thread Lakshyaraj Dash X-D 25
It will happen if you have deleted the initial migration or check your settings properly. On Thu, Oct 21, 2021, 04:21 Ammon Quackenbush wrote: > I am working on a django project and I am getting this error when I > attempt to run the "python manage.py makemigrations" command: > > django.db.utils

django.db.utils.OperationalError: no such table abc

2021-10-20 Thread Ammon Quackenbush
I am working on a django project and I am getting this error when I attempt to run the "python manage.py makemigrations" command: django.db.utils.OperationalError: no such table: myApp_tableStatus The table tableStatus exists in my models.py. Any ideas what I can do to fix this problem? I trie

Re: django datatable

2021-10-20 Thread Planet X
hey this is my code On Wed, Oct 20, 2021 at 11:09 PM Lakshyaraj Dash X-D 25 < dashlakshyaraj2...@gmail.com> wrote: > You can use tailwind css, material ui, bootstrap or if you want to use > custom css, just inspect the element and target the id of the element and > add custom css. > > On Wed, O

Re: django datatable

2021-10-20 Thread Lakshyaraj Dash X-D 25
You can use tailwind css, material ui, bootstrap or if you want to use custom css, just inspect the element and target the id of the element and add custom css. On Wed, Oct 20, 2021, 11:26 Eugene TUYIZERE wrote: > Please suggest a good CSS for the datatable below > [image: image.png] > Regards,

Re: Modeform Foreign key column not working

2021-10-20 Thread lalit suthar
is `ConnectionTypes` a foreign key to `ConnectionDetails`? in that case you don't need to put it as a field in form, it will be added automatically in the form. On Wednesday, 20 October 2021 at 18:47:44 UTC+5:30 Aruna Priya wrote: > Hi, > > I am trying to create a form from model and the model h

Re: What it takes to bring web application to a mobile app

2021-10-20 Thread Lalit Suthar
you can create apis with django-rest-framework and then can use them at all the backends for web and mobile. On Wed, 20 Oct 2021 at 12:58, Stijn Verholen wrote: > :D > On 19/10/2021 17:28, Planet X wrote: > > Hey there all all you Mind-blowing people > i am new in django i am trying to set my vi

Re: django datatable

2021-10-20 Thread Lalit Suthar
you can try bootstrap also On Wed, 20 Oct 2021 at 12:46, Abhishek Choudhury < choudhuryabhishe...@gmail.com> wrote: > Hi, > > You can use Tailwind CSS and it will significantly improve the UI. > > > Thanks and regards, > Abhishek Choudhury > > > On Wed, 20 Oct 2021 at 11:26 AM, Eugene TUYIZERE >

Modelform foreign key not working

2021-10-20 Thread Aruna Priya Nagarajan
Am new to django, and I am trying to create a form using modelform. The form has foerign key value (connection_type below in forms.py) and its not displaying the values it is referring to. For the image below, the columns, Connection name : displayed Connection type : text box has not appeared E

Re: HELP ME OUT

2021-10-20 Thread Uzzal Hossain
Change folder name to templates There is typo mistake. And let me if it's fixed. On Wed, Oct 20, 2021, 3:15 PM Planet X wrote: > I can not connect to my static files here i am sending my screen shoot of > the setting and others links to the my base.html whats my fault please do > help > > -- > Y

Re: HELP ME OUT

2021-10-20 Thread Jamal El khdadi
STATIC_ROOT = os.path.join(BASE_DIR, 'static') STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'assets') ] On Wed, Oct 20, 2021, 11:00 AM Lakshyaraj Dash X-D 25 < dashlakshyaraj2...@gmail.com> wrote: > Change the assets to static > > On Wed, 20 Oct, 2021, 2:45 pm Planet X,

Modeform Foreign key column not working

2021-10-20 Thread Aruna Priya
Hi, I am trying to create a form from model and the model has a foreign key and am not able to populate the values from the column it refers to. My form, class ConnectionForm(forms.ModelForm): connection_type = forms.ModelChoiceField(queryset=ConnectionTypes.objects.all(), to_field_name='con

Re: HELP ME OUT

2021-10-20 Thread Lakshyaraj Dash X-D 25
Do one thing... In the templates inside {% static 'css/style.css' %} make it {% static 'prsquare/css/style.css' %} On Wed, 20 Oct, 2021, 2:45 pm Planet X, wrote: > I can not connect to my static files here i am sending my screen shoot of > the setting and others links to the my base.html whats m

Re: HELP ME OUT

2021-10-20 Thread Lakshyaraj Dash X-D 25
Change the assets to static On Wed, 20 Oct, 2021, 2:45 pm Planet X, wrote: > I can not connect to my static files here i am sending my screen shoot of > the setting and others links to the my base.html whats my fault please do > help > > -- > You received this message because you are subscribed

HELP ME OUT

2021-10-20 Thread Planet X
I can not connect to my static files here i am sending my screen shoot of the setting and others links to the my base.html whats my fault please do help -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re

Re: What it takes to bring web application to a mobile app

2021-10-20 Thread Stijn Verholen
:D On 19/10/2021 17:28, Planet X wrote: Hey there all all you Mind-blowing people i am new in django i am trying to set my view and urls of app and project i tried lots of time it showing errors please help me out to do i want to learn with the help of your On Tuesday, October 19, 2021 at 2:

Re: django datatable

2021-10-20 Thread Abhishek Choudhury
Hi, You can use Tailwind CSS and it will significantly improve the UI. Thanks and regards, Abhishek Choudhury On Wed, 20 Oct 2021 at 11:26 AM, Eugene TUYIZERE wrote: > Please suggest a good CSS for the datatable below > [image: image.png] > Regards, > > > -- > *Eugene* > > -- > You received