Re: Need Work

2022-07-16 Thread ASAMOAH EMMANUEL
Hi lightning emperor! I am glad to see you post this message. I am also a backend django developer and I belong to a startup company. I think that it would be a perfect idea to connect and work together since even the basics you know about django, restful services and frontend technologies would pr

Re: tech newbie

2022-09-28 Thread ASAMOAH EMMANUEL
Ok, I'll help you. Email me privately. On Tue, Sep 27, 2022 at 2:40 PM Edward Deus Misogoro wrote: > Ok, your welcome. > > On Mon, 26 Sept 2022, 23:43 Jay Jay, wrote: > >> Hello bro, I hope you’re doing well? I’m a Jerry, a newbie in software >> development, I have basic knowledge in HTML, CSS,

Re: Help

2022-09-28 Thread ASAMOAH EMMANUEL
Hi! I'm willing to help you. Message me privately for the resources. On Wed, Sep 28, 2022 at 1:02 AM Abdul Qoyyuum Haji Abdul Kadir < abdul.qoyy...@gmail.com> wrote: > That Udemy link is no longer valid. > > The Django official docs has a tutorial and is more relevant to the latest > version vers

Re: error extending base template

2022-10-10 Thread ASAMOAH EMMANUEL
Make sure the template directory is located in the app directory or if it is in a different directory, ensure the location is specified at the template section in the settings.py file On Mon, Oct 10, 2022 at 3:11 PM Namanya Daniel wrote: > hello, someone help me out. am new to django and i face

Re: Combining django apps

2022-10-20 Thread ASAMOAH EMMANUEL
Register all your apps in the settings.py file and ensure the namespace is set to the app name in the urls.py in the project directory On Tue, Oct 18, 2022 at 10:01 AM Jun Tanaka wrote: > > mysite/ > > manage.py > > config/ > > __init__.py > > settings.py > > urls

Re: any solutions guys on the ERROR admin E108 on list_display[2] attributes not callable

2023-01-10 Thread ASAMOAH EMMANUEL
The problem here is that list_display[2] is referring to an attribute or method that does not exist. You will need to either add the attribute or method to the Product class, or remove the item from list_display. If you are looking to display the stock of a product, you could add a method to the Pr

Re: If Statement django template

2023-01-12 Thread ASAMOAH EMMANUEL
You can't compare the `contract.supplier` attribute directly to a string like 'IBM', because it is a foreign key to a `Supplier` model instance. Instead, you need to access the related `Supplier` model's attributes to compare them. For example, if the `Supplier` model has a `name` attribute, you ca

Re: Upgrading Django from 3.2.16 to 4.1.x

2023-01-16 Thread ASAMOAH EMMANUEL
Yes, you should be able to upgrade from Django 3.2.16 to 4.1.x by simply installing the Django 4.1.x software and running the makemigrations command. It's always a good practice to make a backup of your database and application before upgrading, just in case any errors occur during the upgrade proc

Re: Multitenant app // Validation / constraints for related fields

2023-01-19 Thread ASAMOAH EMMANUEL
One other approach you could consider is using Django's built-in form and model validation. You could create a custom form class that inherits from the built-in Django `ModelForm` and override the `clean` method to perform your tenant check. For example: class BlogPostForm(forms.ModelForm): de

Re: Runtime decision on language support

2023-04-24 Thread ASAMOAH EMMANUEL
> > > To achieve this, you can create a custom middleware that inherits from > `LocaleMiddleware`. In your custom middleware, you can override the > `process_request` method to check for the tenant's allowed languages and > set the request's language accordingly. > > 1. Create a new model field for

Re: Advice for a beginer(I am new)

2023-07-13 Thread ASAMOAH EMMANUEL
Here are list of curated resources to get you from beginner to pro. It's a telegram private channel. https://t.me/+VXTu7RXQ47VlM2Q0 On Wed, Jul 5, 2023 at 2:36 AM Vairamuthu Puvanachandran < vai.pu...@gmail.com> wrote: > I followed the django tutorials by Telusko. > Very useful. > > Vai Puvan > >

Re: i learnt django basics but i want to learn django for become a master in django where can i get resourse

2023-08-11 Thread ASAMOAH EMMANUEL
Here are premium resources for you: https://t.me/+VXTu7RXQ47VlM2Q0 On Thu, Aug 10, 2023 at 8:36 PM Chisom Iheanacho wrote: > hello chief.. I have Django 3 by example, can I follow the projects in it > too? > pls can I get your WhatsApp number too? > > On Thu, Aug 10, 2023, 6:05 PM Peter Benjami

Re: Road Map for a newbie

2023-08-18 Thread ASAMOAH EMMANUEL
do lots of projects and refer to the documentation when you need to understand concepts in detail. Here is my private channel where I upload django premium resources with ton of projects. here is the invite link if you want to avoid the frustration of finding organized tutorials and hands on to try

Re: help me

2023-09-23 Thread ASAMOAH EMMANUEL
Try fly.io On Sat, Sep 23, 2023 at 7:17 PM ALINDA Fortunate wrote: > You can as well try render > > +256774339676 > > "If you want to live a happy life, tie it to a goal, not to people or > things." > > A graduate of Bachelors Degree of Science in Computer Science of Gulu > University. > > @For

Re: Postgres connection error

2023-10-10 Thread ASAMOAH EMMANUEL
I often come across this issue, run this code but before you do, log in into the postgres shell with a database with all privileges, let's say postgre user and switch with your new database created and run: GRANT CREATE ON SCHEMA public TO your_user; On Tue, Oct 10, 2023 at 3:47 PM Joyce Mumbi wr

Static assets receives 403 on digital ocean.

2024-01-03 Thread ASAMOAH EMMANUEL
Hi, please help. I have been trying to deploy my App to digital ocean but after deploying, my static assets do not show. I have set file and directory permissions but still in vain. this is what outputs when inspecting the browser console. help would be highly appreciated: Error logo.png:1 Request

Re: reg: Django custom middleware

2024-01-24 Thread ASAMOAH EMMANUEL
class RetryCal: def __init__(self, get_response): self.get_response = get_response def __call__(self, request): try: session = Session() retries = Retry(total=5, backoff_factor=2, status_forcelist=[500, 502, 503, 504]) session.mount('http

Re: Get experience letter and job opportunities

2024-02-06 Thread ASAMOAH EMMANUEL
What's your django project about? On Tue, Feb 6, 2024 at 8:03 AM machine learning wrote: > anyone here to help me in our django project and in return we will give > you access to software that will apply 100s of job for you and also hand on > work experience. > > -- > You received this message b

Re: Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging Project!

2024-02-18 Thread ASAMOAH EMMANUEL
add my number +34642063760 On Sun, Feb 18, 2024 at 4:54 PM muhammed yayi wrote: > I will love to join the djano group > -- > *From:* django-users@googlegroups.com on > behalf of SURAJ TIWARI > *Sent:* Sunday, February 18, 2024 1:04 PM > *To:* Django users > *Subjec

Re: Why would a deployed site shows up with distorted layout

2024-02-29 Thread ASAMOAH EMMANUEL
Replace your username with this and run this code: sudo usermod -aG username www-data sudo chown -R :www-data /home/username/projects/personal On Thu, Feb 29, 2024 at 2:15 PM Amitesh Tripathi wrote: > Your website is in debug mode?? > > On Thu, 29 Feb 2024, 11:54 Ram, wrote: > >> Hi, >> >> We a

Re: Why would a deployed site shows up with distorted layout

2024-02-29 Thread ASAMOAH EMMANUEL
I faced this issue before and I know how frustrating it can be. after sifting through several results, this worked. sudo usermod -aG username www-data sudo chown -R :www-data /home/username/projects/personal On Thu, Feb 29, 2024 at 6:37 PM ASAMOAH EMMANUEL < emmanuelasamoah...@gmail.com>

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
check your urls.py file to make sure you haven't imported circularly. or better still, paste your urls.py here On Wed, Apr 17, 2024 at 4:47 PM Ana Jiménez wrote: > hi guys, so i'm doing a project and there's a part that says i need to do > the migrations but when i do that i get this error > "Tr

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
", line 991, in _find_and_load > File "", line 975, in > _find_and_load_unlocked > File "", line 671, in _load_unlocked > File "", line 843, in exec_module > File "", line 219, in > _call_with_frames_removed > File > "/home

Re: Help deploying to vercel

2024-06-13 Thread ASAMOAH EMMANUEL
requirements.txt arrow==1.3.0 asgiref==3.8.1 binaryornot==0.4.4 certifi==2024.6.2 cffi==1.16.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 colorama==0.4.6 cookiecutter==2.6.0 crispy-tailwind==1.0.3 cryptography==42.0.7 defusedxml==0.7.1 Django==4.2.5 django-allauth django-browser-reload=

Help deploying to vercel

2024-06-13 Thread ASAMOAH EMMANUEL
Hi, I'm trying to deploy my django app to vercel and this is the error I'm currently facing. Any help would be greatly appreciated. This Serverless Function has crashed. Your connection is working correctly. Vercel is working correctly. 500: INTERNAL_SERVER_ERRORCode: `FUNCTION_INVOCATION_FAILED`I

Re: Help deploying to vercel

2024-06-23 Thread ASAMOAH EMMANUEL
s help with deploymnt issues by >> ensuring all dependencies are available in the project directory >> >> If it still doesn't work, persists, it might be related to the Lambda >> function in Vercel, as it uses AWS infrastructure. In that case, you may >> need to i

Re: issue with static files deployement in Prod envirenment (new issu)

2024-08-25 Thread ASAMOAH EMMANUEL
I understand how frustrating this can be. I also faced this same issue for months and this was how I solved it. sudo usermod -a -G your_user www-data sudo chown -R :www-data /path/to/your/static/folder Let me know if it is still not solved and I will help you. Swimmingly, Simple_genius On

Re: issue with static files deployement in Prod envirenment (new issu)

2024-09-01 Thread ASAMOAH EMMANUEL
; Thank you a lot EMMANUEL for this hint- i'll try and return back to >> you with insghts >> >> Le dimanche 25 août 2024 à 15:39:54 UTC+1, ASAMOAH EMMANUEL a écrit : >> >>> I understand how frustrating this can be. I also faced this same issue >>> for

Re: prorgramador

2024-10-22 Thread ASAMOAH EMMANUEL
envíame un mensaje On Tue, Oct 22, 2024 at 7:51 PM Diego González wrote: > buenas tardes, necesito programador django para pequeño proyecto a ser > desarrollado.buenas tardes, necesito programador django para pequeño > proyecto a ser desarrollado. > > -- > You received this message because you a

Help serving media files on render

2024-11-01 Thread ASAMOAH EMMANUEL
Hi All, I need help serving media files on render. I already serve static files with whitenoise. I am able to upload media files but cannot serve them. I get file not found. If it is not possible, are there other alternatives to s3 bucket. Thanks in advance. -- I don't stop when I'm tired, I only