error extending base template

2022-10-10 Thread Namanya Daniel
hello, someone help me out. am new to django and i face an issue with templates extending base.html i have created a base.html template which is basically a skeleton for other templates, they are all in templates/another directory but when i use {%extends 'base.html'%} I get this error...

Re: NEW BIE HERE HOW CAN I LEARN DJANGO FAST

2022-12-25 Thread Namanya Daniel
While learning Django, pay attention to URLs and settings and models, the rest you need basic python skills On Sunday, December 25, 2022 at 2:14:06 AM UTC+3 guru...@gmail.com wrote: > Hey, I just want to know how you've learned django framework and what > resources did you use. It would be

Re: If Statement django template

2023-01-12 Thread Namanya Daniel
Replace supplier with related_name On Thu, 12 Jan 2023 at 16:13, 'dtdave' via Django users < django-users@googlegroups.com> wrote: > I have the following relationship in a model > > class Contract(models.Model): > supplier = models.ForeignKey( > Supplier, >

Serving Media and Static files on Shared Hosting

2023-01-13 Thread Namanya Daniel
Hello members, Has anyone ever used Namecheap shared hosting to serve static and media files? Apparently nginx can't be used, i only have WhiteNoise which serves static files only. kindly share you've done it before.. thanks in advance -- You received this message because you are

Re: Serving Media and Static files on Shared Hosting

2023-01-13 Thread Namanya Daniel
Have you done it before? You can share knowledge On Fri, 13 Jan 2023 at 15:25, Jeff Kingsley wrote: > Why > > On Fri, Jan 13, 2023 at 11:56 AM Namanya Daniel > wrote: > >> Hello members, >> >> Has anyone ever used Namecheap shared hosting to serve static and

thena.thenadaka.com

2023-01-19 Thread Namanya Daniel
Hello esteemed members, I hope all is well. I am reaching out to you today to invite you to check out thena.thenadaka.com and give me your honest opinions and guidance. Is it a good idea for portifolio building, i believe this is important to know most especially to us looking for jobs..

Re: configuration

2023-01-19 Thread Namanya Daniel
Profile, shipments and species are models? Or your stored data in one model On Thu, 19 Jan 2023 at 01:56, frank dilorenzo wrote: > I cannot seem to resolve this configuration correctly. > > I have a list of suppliers. > A supplier can have one profile > A supplier can have many shipments. > A

Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Namanya Daniel
Explain where you’re failing exactly, is it views, forms, templates or models On Thu, 19 Jan 2023 at 01:56, Michael R. KOOMSON wrote: > I am trying everything possible to create a basic login page with Django., > i have tried so many videos and online tutorial, but still can't make > anything

Re: Custom user model password is not hashed

2023-01-26 Thread Namanya Daniel
Did you try make_password before saving data from registration form ? On Wed, 25 Jan 2023 at 18:36, Roger Mukai wrote: > @Tejas or @Sebs, do you still have a question how to do this? I think I > figured it out > > On Tuesday, December 6, 2022 at 7:25:08 PM UTC-5 sebs...@gmail.com wrote: > >>

Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
ov 8, 2022 at 3:58 PM bradie poa wrote: > >> its not a good idea >> >> i have settings.py in the same folder with wsgi.py >> >> >> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote: >> >>> On 08/11/2022 10.41, Namanya Daniel wrote

Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
Hello, am hosting a django application with namecheap for the very first time and am getting " Internal Server ErrorError 500" , in the error log, wsgi.py shows that there's not settings how do i handle this -- You received this message because you are subscribed to the Google Groups "Django

Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
i have settings.py in the same folder with wsgi.py On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote: > On 08/11/2022 10.41, Namanya Daniel wrote: > > Hello, am hosting a django application with namecheap for the very first > > time and am getting &q

Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
[image: Capture 1.PNG] On Tuesday, November 8, 2022 at 5:10:20 AM UTC-8 Kasper Laudrup wrote: > On 08/11/2022 13.58, bradie poa wrote: > > its not a good idea > > > > Agreed. It's a horrible idea. > > Kind regards, > Kasper Laudrup > -- You received this message because you are subscribed to

Re: Need help with Authenticating and Authorizing

2023-03-10 Thread Namanya Daniel
how have you saved your password in registration? On Fri, 10 Mar 2023 at 18:02, linda jean-philippe < jeanphilippe.li...@gmail.com> wrote: > I do not know what I am missing. My login page and register page have > rendered, but when I try to sign up with new credentials, it does not save. > And

Re: sub-list not showing

2023-03-16 Thread Namanya Daniel
You need to achieve related fields to achieve the most of this… thank you On Thu, 16 Mar 2023 at 23:59, Namanya Daniel wrote: > Hello… am using a phone to reply this but I would love to give a hint on > something. When you have a child, it’s means there’s a parent foreign key > in

Re: sub-list not showing

2023-03-16 Thread Namanya Daniel
Hello… am using a phone to reply this but I would love to give a hint on something. When you have a child, it’s means there’s a parent foreign key in the child model. You can use grouper to group child model results so that every is grouped together under a particular parent field. On Thu, 16 Mar

Re: Need help with Authenticating and Authorizing

2023-03-10 Thread Namanya Daniel
he django admin page, but the credentials do > not work on the login page. When I create new credentials with the register > page I made, it doesn’t save. I think it’s supposed to save to the database. > > On Mar 10, 2023, at 1:06 PM, Namanya Daniel > wrote: > >  > &

Re: Need help with Authenticating and Authorizing

2023-03-10 Thread Namanya Daniel
Right there, all the best On Fri, 10 Mar 2023 at 22:31, linda jean-philippe < jeanphilippe.li...@gmail.com> wrote: > Yes the user is saved and I can see it on the django admin page and no I > have not hashed the password. > > On Fri, Mar 10, 2023 at 1:33 PM Namanya Daniel >

Re: Django-allauth & Facebook login

2023-04-01 Thread Namanya Daniel
Follow the following link, it shows you how to create a custom ssl certificate and how to run ssl server https://medium.com/@millienakiganda/creating-an-ssl-certificate-for-localhost-in-django-framework-45290d905b88 On Sat, 1 Apr 2023 at 15:32, Marcelo A. Robin wrote: > Hi, I'm trying to use