Contract Full Stack Django Engineer

2024-06-26 Thread 'Bernard Mallala' via Django users
About Project: I am bootstrapping a data-heavy AI-enabled system tailored for early adopters and looking for a seasoned Django Python Engineer with a strong background in full-stack software development to collaborate with. You will lead development efforts starting with: 1. Passw

Re: Ongoing project

2022-02-07 Thread Bernard Mallala
I really love the enthusiasm here. My questions is, why build this from scratch ? I recommend using one of the many existing open source options then customize to taste. Take a look at Saleor - A modular, high performance, headless e-commerce platform built with Python, G

Re: Django users

2022-01-28 Thread Bernard Mallala
I am thinking about skiing this afternoon On Friday, January 28, 2022 at 12:18:08 PM UTC-7 Kasper Laudrup wrote: > On 28/01/2022 10.12, Anil Choudhari wrote: > > How to connect hive in Django ? > > > > You can't. Better find something else to do. > > Kind regards, > > Kasper Laudrup > -- You re

Re: Search & replace an object in the database

2022-01-21 Thread Bernard Mallala
I would approach this differently and from the database side mostly 1. Backup the database so you can restore if something happens 2. In Django, Create an an empty copy of the Customer database e.g CustomerB 3. Using a SQL query tool, select all duplicate copies from Customer and

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Bernard Mallala
In your model, be sure to address defaults and required values such that something is passed or be user to validate. Replace request.POST[''] With request.POST.get('') For example request.POST['otp'] TO request.POST.get['otp'] On Tuesday, January 18, 2022 at 9:00:41 AM UTC-7 bikash...@g

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-17 Thread Bernard Mallala
mail&utm_source=Django_Newsletter_110 >> On Friday, 14 January 2022 at 02:12:38 UTC+5:30 ber...@autofyle.com >> wrote: >> >>> I second the suggestion to have a discord channel versus async/email >>> >>> On Thursday, January 13, 2022 at 1:41:14 P

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-13 Thread Bernard Mallala
I second the suggestion to have a discord channel versus async/email On Thursday, January 13, 2022 at 1:41:14 PM UTC-7 Bernard Mallala wrote: > I will paraphrase and feel free to correct. > You have an image that when deployed results in a django application that > can be accessed but

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-01-13 Thread Bernard Mallala
I will paraphrase and feel free to correct. You have an image that when deployed results in a django application that can be accessed but without a specific app that is built to work within this image. 1. Let' presume that you working on a Tutorial App and you complete this to taste 2.

Re: dotenv - django-environ - etc

2021-12-28 Thread Bernard Mallala
In all cases below, the .env file will exist outside of the Django project and will be referenced from the settings file. This allows you to customize and secure each environment while automating the whole build. *Developers* Local settings will point tot he location of the .env file. This file

Re: are migrations the same regardless of database type?

2021-12-28 Thread Bernard Mallala
Migrations are different depending on your DBMS. Why? Briefly, here are a few reasons : 1. RDBMS or DBMS (Database management system) is a software that organizes the data in a database thus allowing for easy management, administration, retrieval and manipulation of data by users or

Re: On django model.

2021-12-24 Thread Bernard Mallala
Inspectdb is generating an error because your table 's schema is causing a conflict. To solve this, you will need to post the exact error here and the schema of your table here for analysis. This is a longer process for analysis in case it is not immediately obvious. My recommendation is for yo

Re: On django model.

2021-12-24 Thread Bernard Mallala
You can achieve this in two ways: 1. python manage.py inspectdb --help Introspects the database tables in the given database and outputs a Django model module. Your id field should be a sequenced integer and primary key so must include these two lines if viewing the CREATE SQL sta

Re: get country from IP_addres.

2021-12-23 Thread Bernard Mallala
In line with prior examples by others, take a look at this complete example leveraging GeoIP2 Get Visitor Location using GeoIP2 in Django https://medium.com/@arrosid/get-visitor-location-using-geoip2-in-django-32ad3d417115 Geolocation with GeoIP2 https://docs.djangoproject.com/en/4.0/ref/contrib

Re: Student Management System kin Django

2021-12-06 Thread Bernard Mallala
Eugene, Your question is very broad. The combination of the business logic for the student management system plus database normalization best practices will result in the right database schema for this platform. Example business logic : - User must have a B or higher to be eligible to move to th

Re: Urgent need help regarding to localhost

2021-12-06 Thread Bernard Mallala
What troubleshooting have you attempted so far? What is the composition of your development environment? Have you checked if the port is open to eliminate firewall and or network related issues? Have you checked to make sure that your postgres database server is running? Are you able to connect an

Re: channels/asgi 3.x imcompatibility with the code on 2.x versions

2021-11-30 Thread Bernard Mallala
This kind of error happens when working with classes. When you create methods for a class, you must always pass self as the first argument self designates the object in which it is called. You have to pass self as the first argument for each method. Does this help ? On Tuesday, November 30, 2021

Re: dja...@googlegroups.com

2021-11-29 Thread Bernard Mallala
This is a very open ended comment but I will take a stab at it. To build a blood bank management solution, you will need to dabble in supply chain and leverage blockchain to uniquely track each transfusion through the supply chain, to the bank and delivery to the recipient vein. This is a big and

Error Reporting to Admin-settings

2020-01-01 Thread bernard asibu
Hi everyone, I need help with configuring settings to report error from a site in production to the admin. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send

Re: django.core.exceptions.ImproperlyConfigured: Requested setting AUTH_USER_MODEL, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call sett

2018-12-06 Thread Parker Bernard
how do i open my django in my pycharm or python On Thu, Dec 6, 2018, 3:40 PM Sidnei Pereira It seems you are trying to execute de `views.py` module directly. As you > are running Django you should run it's webserver through `manage.py` so > Django you setup everything it is expected and the proc

Re: Django template cheat sheet or ebook

2018-07-30 Thread benjamin . bernard-bouissieres
Hello, I have found a lot of example on the Django's CookBook, at this url : https://code.djangoproject.com/wiki/CookBook Le lundi 30 juillet 2018 05:44:44 UTC+2, aditya a écrit : > > Can anyone tell me where I can find Django template cheat sheet or ebook. > -- A quelle Vitesse surfez-vous ?

Re: django makemigrations not working

2018-05-06 Thread Bernard Letourmy
hat / were your migrations ok ? /Bernard On Saturday, 5 May 2018 15:23:47 UTC+2, Gerald Brown wrote: > > Yes. I dropped it and then recreated it. > > Then ran "makemigrations" & "migrate". Migrate is now giving me a lot of > errors. > > Funny t

Re: Django-oscar ModuleNotFoundError 'apps\\checkout'

2017-07-06 Thread Bernard Oosthuizen
> Can you post your directory structure? > > You may try printing the cwd on settings.py to see what the relative path > should be > > On Jul 5, 2017 9:10 PM, "Bernard Oosthuizen" > wrote: > >> I am trying to *fork* one of the apps of django-oscar so that I can

Django-oscar ModuleNotFoundError 'apps\\checkout'

2017-07-05 Thread Bernard Oosthuizen
I am trying to *fork* one of the apps of django-oscar so that I can customize it. I followed all the instructions on django-oscar docs All the files are created when I run python manage.py oscar_fork_app

Change password using django ADMIN

2017-04-28 Thread Reynaldo Bernard
When i change LANGUAGE_CODE = 'en-us' to 'es-mx' and i try to change password from USER TABLE (default in Django) i got the next error Check this video to see it : htt

Re: AWS ElasticBeanstalk update without modifying Django wsgi.conf

2016-08-28 Thread Bernard Letourmy
Hello, I just posted an answer on Stackoverflow. Bernard On Friday, 26 August 2016 22:14:44 UTC+8, Ronaldo Bahia wrote: > > I have a django app deployed in AWS EB using autoscaling. This app uses > Django Rest with Token Authentication. In order for this to work, I have to > add t

What is your experience with SOAP Client and Server thru Django?

2013-12-26 Thread Bernard Kuehlhorn
I'm looking to support SOAP as Client and Server thru Django. Spyne looks good. Is there any way to convert WSDL or XSD to Django Model? Does anybody have an example of support for generally available WSDL like Google search? -- You received this message because you are subscribed to the Googl

Run Individual doctest in model.py or views.py

2013-01-03 Thread Bernard Kuehlhorn
In https://docs.djangoproject.com/en/1.4/topics/testing/ , individual tests can be run. It works well for unit tests in tests.py. It should work for doctest in model.py. I can not understand how to specify a doctest. $ ./manage.py test animals.classify Thanks, ben -- You received this messag

Coltrane Weblog Practical Django Projects 2nd Ed, page not found for http://127.0.0.1:8000/weblog/

2009-12-08 Thread bernard
, (r'^tiny_mce/(?P.*)$', 'django.views.static.serve', { 'document_root': '/home/bernard/Django/cms/ tiny_mce/' }), (r'^search/$', 'cms.search.views.search'), (r'', include('django.contrib.flatpag

Re: Your IDE of choice

2009-01-07 Thread Bernard
this add-on does it : http://community.activestate.com/xpi/morekomodo On Jan 6, 3:19 pm, "Vitaly Babiy" wrote: > Bernard does komodo have a open files function (open file in project based > on file name search) like there is text mate or gedit with plugin > (gedit-openfiles

Re: Your IDE of choice

2009-01-06 Thread Bernard
I use Komodo IDE 5 everyday for every Python/Django/PHP/Drupal projects at work and damn it works well. What I love about it: * Key bindings(shortcuts) for almost everything * Simple subversion integration so I don't have to switch to another window to commit something. * Search & Replace , Rege

Forms and ManyToMany relationship with intermediary model

2008-12-22 Thread Bernard
6256934 The highlighted line is where it dies. Please note that I'm not using the Admin interface. I don't want someone to write the code for me here. I just want to know what's wrong or what I'm forgetting in my code. any hints people? Bernard --~--~-~--~--

Re: Django's flexibility

2008-05-28 Thread Bernard
Hey Michael, It's actually simpler than I thought and much like my CherryPy/Cheetah combo! :P I guess I'm too used to overriding templates in Plone... Thanks for the answer dude! Bernard On May 28, 12:08 pm, Michael Ellis <[EMAIL PROTECTED]> wrote: > Hi Bernard, &g

Django's flexibility

2008-05-28 Thread Bernard
either. thanks for any answers :) cheers, Bernard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from