Re: Inquiry about your need for website development support

2024-10-28 Thread Kayode Oladipo
Yeah, I did that. Didn't know the '@' tag, adds the email address to the CC. Thank you for pointing that out. On Sun, Oct 27, 2024 at 3:05 PM Teniola wrote: > Broda...he said you should send him what you just sent to the group on > personal mail > > On Sun, Oct 27, 2

Inquiry about your need for website development support

2024-10-26 Thread Kayode Oladipo
/kayode-oladipo Github Profile: https://github.com/oluwakayode-a Thank you very much for your time and consideration. Kind regards, Kayode Oladipo -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: How do detect if template is being viewed on mobile device?

2022-03-21 Thread Kayode Oladipo
Hello, I had this exact problem, and I solved it using this package. https://pypi.org/project/django-user-agents/ Cheers. On Sun, Mar 20, 2022 at 7:01 PM Django2021 wrote: > Thanks for your answers. > Rephrasing question in another thread. > > > On Thursday, March 17, 2022 at 8:11:10 AM UTC+1

Re: how to download django

2021-07-16 Thread Kayode Oladipo
Hello Sir, Read the Django docs, it has all the information you need to get started. https://www.djangoproject.com Cheers On Fri, Jul 16, 2021, 3:33 PM Daniel Opeyemi wrote: > hello everyone, i am new here. please, i need help on how to download > django > > -- > You received this message bec

Re: 500 - Internal server error

2021-06-18 Thread Kayode Oladipo
Set DEBUG=True temporarily and see what's causing the error, or check your error logs. On Fri, Jun 18, 2021, 1:40 PM Sachin Kumar wrote: > Hi Django Experts, > I am trying to download a report from the client's PC using the domain > name (http://xyz.com/reports/report/?merchant >

Re: Django project(website) and cpane

2021-06-18 Thread Kayode Oladipo
Hello Sir, I can help you with this. Please check if you see "Setup Python App" in your cPanel. Regards. On Thu, Jun 17, 2021, 10:14 PM Peter Kirieny wrote: > would somebody please help me with the procedure on how to upload my > django website on cpanel > i used: python, pycharm, django,html c

Re: Patreon and Django-AllAuth Integration

2020-10-28 Thread Kayode Oladipo
Hello Sir, You need to set the LOGIN_REDIRECT_URL in your settings.py file. On Mon, Oct 26, 2020, 8:47 PM Andrew Stringfield wrote: > Hello all, > > I am trying to use Patreon's API Version 2 with Django 3.1. I read: > https://docs.patreon.com/#third-party-libraries and found that Patreon >

Re: I want to learn Django

2020-08-14 Thread Kayode Oladipo
Hello John, The docs provide an easy introduction to Django. https://www.djangoproject.com I believe you have already learned Python to a reasonable extent. Regards. Virus-free. www.

Re: urls 1.11 use task how to use 3.0.6 version

2020-06-15 Thread Kayode Oladipo
Use the path( ) method. from django.urls import path path('',...) On Mon, Jun 15, 2020, 2:21 PM Adya Mit wrote: > (?P\d+)/$ django > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emai

Re: Capture Content Id

2020-06-15 Thread Kayode Oladipo
There's an id field built into every Django model (aka, the primary key (pk)) Just do, ModelInstance.id and that should do the trick. Cheers. On Mon, Jun 15, 2020, 8:03 AM Soumen Khatua wrote: > Hi Folks, > > I have one Blog post project here user can see the blog and by clicking on > the blog

Web/Mobile Push Notifications For Django

2020-04-06 Thread Kayode Oladipo
Hello everyone, I currently have a need to add push notifications to a website powered by Django. How would I go about this? I'll appreciate any help. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Serving Files with Django

2019-05-04 Thread Kayode Oladipo
Hello, You can use the default Django FileField() for this. Cheers On Wed, May 1, 2019, 12:20 Hello! Am currently working on a web app which allows user to upload files > of less that 1 gb size in any office formates like pdf, docx and some other > extentions for programs like .h, .py, .kt, .ja

Re: Comment Form

2019-05-03 Thread Kayode Oladipo
Hello! Django has a simple solution to this. Go to your settings.py and define the url path to your login page. LOGIN_URL = "your url login path" Then in your views.py from django.contrib.auth.decorators import login_required Wrap the desired function with this decorator, @login_required def

Using the request object in the forms.py file

2019-04-05 Thread Kayode Oladipo
Top of the morning to you. I'm trying to build a kinda-sorta e-voting system where there are positions and certain aspirants vie for said positions. Now I have a form setup with a radio Choice() widget, but I want the choices dict [CHOICES] to be dynamic per page, that is, the list only contains th

Re: What step am I missing?

2019-03-11 Thread Kayode Oladipo
You have to be in the project level directory to access 'manage.py'. Use the 'cd' command in the terminal to do this. On Sun, Mar 10, 2019, 23:23 Joseph Jones Hello all! > I have been reading > https://www.packtpub.com/application-development/learn-python-programming-second-edition > Since > Nov

Django Admin CSS Not Working

2018-11-26 Thread Kayode Oladipo
So, after about 3 months of my django admin CSS suddenly crashing and burning; it shows that the CSS is loaded in terminal. GET base.css 200 blah blah. However, it doesn't apply to the page when it is run in the browser. A little poking with the Style Editor in Firefox and Opera, and voila! The CSS

Re: Admin CSS Not Working in Opera or UC Browser

2018-07-18 Thread Kayode Oladipo
I've Tried Mozilla Firefox too, the problem still persists. Any help is appreciated! On Jul 16, 2018 01:54, "Kayode Oladipo" wrote: > I recently sent in a query concerning my faulty admin css which loaded > previously until an upgrade to v.2.0.5. > I assumed the upgrade

Admin CSS Not Working in Opera or UC Browser

2018-07-15 Thread Kayode Oladipo
I recently sent in a query concerning my faulty admin css which loaded previously until an upgrade to v.2.0.5. I assumed the upgrade was responsible for this, so i downgraded back to my previous version (2.0.2) but there was no change. I have uninstalled and tried all fixes I know all to no avail.

Django Admin CSS Not loading

2018-07-11 Thread Kayode Oladipo
I have this problem specific to UC Browser; App related CSS are being loaded but the ones for Django admin panel are not. They load well in Internet Explorer but UC is my preferred browser. Anyone know how to fix this? Thanks for your help. Cheers from Nigeria. -- You received this message beca

Re: url () to path()

2018-05-02 Thread Kayode Oladipo
rs > > Or, as mentioned at the beginning, just keep using regular expressions: > https://docs.djangoproject.com/en/2.0/topics/http/urls/#using-regular-expressions > > I've just put together a small article that sums up everything: https://consideratecode.com/2018/05/02/django-2-0-url-to-path-che

Re: Beginning Django.

2018-04-30 Thread Kayode Oladipo
Thanks a lot George! On Apr 30, 2018 00:48, "George Lubaretsi" wrote: > Changes in 2.0 that are backwards incompatible are mostly low-level > things. As a beginner, you won't have to deal with them for some time. So > you can grab any book that is relevant for 1.11 and you'll be fine. > > I would

url () to path()

2018-04-30 Thread Kayode Oladipo
Hi there again! Beginner here using Django 2.0. I'm following a tutorial (coupled with the official doc for compatibility) and I discovered that <2.0 versions use RegEx with the url but 2.0> uses the simplified path() function. My question is how do I find the right corresponding path() function to

Beginning Django.

2018-04-28 Thread Kayode Oladipo
Hello friends, I recently completed Python Crash Course 3 and I'm looking to go into web development with Django, there are almost no Django 2.0 books and I'm finding the official Polls tutorial a lil beginner unfriendly. Any advice as regards this? Thanks -- You received this message because yo