Re: PLEASE HELP ME KNOW HOW TO ARRANGE INSTALLED APPS.

2022-10-18 Thread Chukwudi Onwusa
Lets take App Directory name tiles. So inthe installed app list it will be 'tiles.apps.TilesConfig', Or put simply 'tiles', Hope it helps . On Tue, Oct 18, 2022, 06:16 regan opere wrote: > Hello, I am new to django and I am still learning. > I have created two apps core and store and I have

CRUD Operation

2022-10-23 Thread Chukwudi Onwusa
Please, what can I do to retrieve my already entered date and select option during my process of editing details on browser user interface not admin, I used value= instance of the class. Date variable name, but it not working -- You received this message because you are subscribed to the Google

Image Fetching

2022-10-23 Thread Chukwudi Onwusa
I am only being able to fetch image registered only through the admin on browser user interface. But the one I registered on browser user interface, whenever I try fetching it through the user interface, it only shows image icon, but if I upon the image in the admin interface it shows me error

Image Fetching

2022-10-23 Thread Chukwudi Onwusa
I am only being able to fetch image registered only through the admin on browser user interface. But the one I registered on browser user interface, whenever I try fetching it through the user interface, it only shows image icon, but if I upon the image in the admin interface it shows me error

Re: error extending base template

2022-10-11 Thread Chukwudi Onwusa
Give space in the html template tag I mean {% extends 'base.html' %} But if the base is nested inside a directory inside the template directory pls name the '../base.html' according. Thanks Hope it will be help. On Mon, Oct 10, 2022, 16:11 Namanya Daniel wrote: > hello, someone help me out. am

Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Chukwudi Onwusa
Greetings and good tidings! Please how do I create with django the above mail subject(private and public chat room). I need help and references to work on. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Chukwudi Onwusa
Please can you help me with a sample. Please. On Sun, Nov 20, 2022, 15:53 Lakshyaraj Dash wrote: > Provide is_private to the rooms model of your app. > If you make the default as true, then the room is private by default and > vice versa > > On Sun, Nov 20, 2022, 20:21 Chukwud

Re: Template inheritance not working

2022-11-18 Thread Chukwudi Onwusa
What error is it showing you? Please send a picture of it. Remember you can save your base with your desired name, but you should also not that you should register your templates directory in settings template list as [BASE_DIRS/ "templates"] and Incase your template files are in an embedded

Re: Public and Private Chat Room Creation with Django Python Framework

2022-11-21 Thread Chukwudi Onwusa
else: >... > > On Mon, Nov 21, 2022, 04:03 Chukwudi Onwusa wrote: > >> Please can you help me with a sample. >> Please. >> >> On Sun, Nov 20, 2022, 15:53 Lakshyaraj Dash >> wrote: >> >>> Provide is_private to the rooms model of y

Re: i got error 'type' object is not subscriptable

2022-11-21 Thread Chukwudi Onwusa
Use Win Key + prt SC To screenshot of you are using windows 10 OS On Mon, Nov 21, 2022, 14:55 Chukwudi Onwusa wrote: > Your screenshots are not clear enough. > > On Thu, Nov 17, 2022, 15:21 Sagar Singh wrote: > >> i created three model relation table >> >> onet

Re: i got error 'type' object is not subscriptable

2022-11-21 Thread Chukwudi Onwusa
Your screenshots are not clear enough. On Thu, Nov 17, 2022, 15:21 Sagar Singh wrote: > i created three model relation table > > onetoone() > manytoone(foreignkey) > manytomanyfield() > > i try to show data of manytpmany field on admin panel but they give error > > 'type' object is not

Re: Forbidden (403) - CSRF verification failed. Request aborted.

2022-11-22 Thread Chukwudi Onwusa
Check your template, immediately after the opening tag add {% csrf_token %} If you have it already, kindly check to ensure it's correctly spelt and placed and then restart your server. Best Regards. On Wed, Nov 23, 2022, 00:58 Carlos Roberto wrote: > Hi everyone! > > I use ngrok to make my

Re: Template inheritance not working

2022-11-19 Thread Chukwudi Onwusa
On WhatsApp On Sat, Nov 19, 2022, 17:14 Alec Delaney <96alecpatr...@gmail.com> wrote: > Hello, would you be available for zoom? > > > On Fri, Nov 18, 2022 at 10:04 PM Chukwudi Onwusa > wrote: > >> What error is it showing you? >> Please send a picture of

Re: Template inheritance not working

2022-11-19 Thread Chukwudi Onwusa
heritance > > > On Sat, Nov 19, 2022 at 11:54 AM Chukwudi Onwusa > wrote: > >> On WhatsApp >> >> On Sat, Nov 19, 2022, 17:14 Alec Delaney <96alecpatr...@gmail.com> wrote: >> >>> Hello, would you be available for zoom? >>> >>> >

Re: Page Integration

2022-11-10 Thread Chukwudi Onwusa
If you are using function based view in your views.py . After you must have equated the input values through the name attribute to the instance of the class in your model, then instance.save() before you redirect. This should be done in the views.py not models. On Thu, Nov 10, 2022, 20:07 Pooja

Re: You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs.

2022-11-09 Thread Chukwudi Onwusa
Please What exactly is the name of your error? Is it showing 'page not found' ? If so, then kindly apply the urls to your localhost:8000/urls_name Regards... On Wed, Nov 9, 2022, 18:26 'Kasper Laudrup' via Django users < django-users@googlegroups.com> wrote: > On 09/11/2022 10.52, Priyanka

Re: STATIC FILE

2022-11-09 Thread Chukwudi Onwusa
I think you should make your work more organized, iff I truly understand you, by putting your static directory inside your working directory. On Thu, Nov 10, 2022, 04:25 Mh Raffi wrote: > Media url in settings I have. > > On Thu, Nov 10, 2022, 8:50 AM ritik sahoo wrote: > >> You must import

Re: writing most common queries as model class method!

2022-11-12 Thread Chukwudi Onwusa
Write that method in your views, and return render(request,'templateName.html', optional) and go to your templates and call your desired or important attribute with the instance of the class using Django template tag {{class_instanceInMethodInsideView.modelsAtrributeName}} as many attribute as