Comments (2)
With authentication, this gets even weirder. For Django config:
DATABASES = {
"default": {
"NAME": "foo",
"USER": "foo",
"PASSWORD": "bang",
"HOST": "",
"PORT": "",
"OPTIONS": {"host": "/tmp/myproject:us-east1:foo"},
"ENGINE": "django.db.backends.postgresql",
}
}
your build_engine_url
returns:
postgresql://foo:bangfoo
🤦
from jet-django.
Luckily the related code isn't hidden behind layers of closures, so a simple monkey patch would suffice:
import jet_bridge_base.db
jet_bridge_base.db.build_engine_url = lambda conf: env.str("DATABASE_URL")
from jet-django.
Related Issues (20)
- CKEditor + Calendar issue in New Django Jet HOT 3
- [Bug] No support for non-number ID fields HOT 4
- editable option not working in case of table with foreign key reference
- error in SQL syntax (django.db.utils.ProgrammingError)
- CKEDITOR field - Not working as HTML option setting configuration
- Link Models to Dashboard
- Support Django-Money or Allow for Custom Serialisers
- Only the "default" database models are exposed
- Versions diff
- Open SQL connection on demand only
- Not working on Django 3.0.7
- AttributeError: 'str' object has no attribute '_meta'
- Importation error in models using Django3 HOT 1
- Jet bridge confusion
- Error When Deploying Django App with Version 5.1
- [Bug] Fields internationalization - Useless field shown + values not displayed HOT 3
- [Bug] PATCH - GenericForeignKey relationship fails with "django.core.exceptions.FieldDoesNotExist: StudentSolution has no field named 'object_id'" HOT 4
- [Feature] Display GenericRelation
- not able to Navigate by page HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jet-django.