Questions tagged [custom-backend]
64 questions
14
votes
2 answers
MongoEngine -- how to custom User model / custom backend for authenticate()
SUMMARY
How do I use a custom User model and a custom authentication backend (to allow for email / password authentication) with Django + MongoEngine? (Is a custom backend even necessary for that? ...i.e., to use an email for username when…

Sean
- 1,149
- 18
- 28
3
votes
1 answer
Django: Can't access model attributes
Lately I started using my existing mysql database in Django. Implementing it worked
The database settings looks like this
DATABASES = {
'default': {
'NAME': 'app_data',
'ENGINE': 'django.db.backends.sqlite3',
},
'users': {
'NAME':…

SHooDK
- 67
- 6
3
votes
1 answer
What command line exactly should one use to produce all the records from a RegisterInfo.td file?
Background things:
Thus far I have read from the llvm tutorials, including:
The Table Gen Command Guide
Table Gen's General Documentation, especially the Running TableGen section
I am currently writing code for a new target for llvm, which I am not…

GC Saab
- 91
- 6
3
votes
1 answer
Django not reconnecting when PostgreSQL dies, custom backend needed?
I have been doing some testing and have been able to confirm that using Django with PostgreSQL and PGBouncer that it does not automatically reconnect on losing it's connection. To be honest, I am not sure if this is a bug or if this is by design. If…

Jared Mackey
- 3,998
- 4
- 31
- 50
3
votes
1 answer
FatFractal Deployment Error 400: User does not have permission to deploy
I am attempting to deploy my web application to the FatFractal Cloud server, and the
ffef deployFFFabric
command-line tool is returning the following error:
Deployment response code : 400
Failed to deploy : reason [400: ffPermissions: User…

Joey Ventry
- 187
- 6
3
votes
1 answer
Is there a BaaS solution that I can host on my own server?
I only recently found out about a bunch of different BaaS offerings like CloudMine, Parse and Apigee and they seem like a great way to put up a quick web app easily without worrying about setting up some php backend or the like. However, I need…

Michael Drob
- 350
- 3
- 7
2
votes
1 answer
Create a WYSIWGY field in magento backend
I am trying to create a WYSIWGY field in category page in magento backend but it doesn't seem to work. I am writing an install script as:
'fabric_and_care' => array(
'type' => 'text',
'backend' …

Hum
- 531
- 2
- 12
- 30
2
votes
1 answer
Local MWAA (AWS Airflow) using SecretsManager as backend "Can't locate credentials"
I'm running a local environment of a MWAA instance that is running on Docker.
Everything is working fine and I try to set up SecretsManager as an alternative backend for connections only.
I've added this to the airflow.cfg file:
[secrets]
backend =…

snir.isl
- 155
- 1
- 12
2
votes
1 answer
Do Django custom authentication backends need to take a password?
Here's how my university handles authentication: we redirect the user to a website, they enter in their username and password, then they get redirected back to us with the username and a login key passed in the query string. When we get the user…

Jason Baker
- 192,085
- 135
- 376
- 510
2
votes
2 answers
Open source platform/software to develop app backend
We are going to develop some mobile app for one of our clients, and we are defining the technical solution for the backend server.
Basically, we need to implement a backend providing REST apis for the apps. The apps will need features such as user…

dipanda
- 760
- 1
- 11
- 24
2
votes
1 answer
Can I use some Python in the backend for an Android app?
Most of the backend stuff is in PHP which handle JSON request and response flow of data from Android app to backend.
I'd like to start writing Python code to handle the extra features I'm going to add in my app. How can I do that? Do I need to…

Tony K
- 61
- 3
- 10
2
votes
1 answer
How to grant another user Cloud deployment privileges for my FatFractal domain?
Is there a way to grant other FatFractal users Cloud deployment privileges on one of my domains? The domain/application are registered under my FatFractal account, and my partner is receiving 400 Errors (permission denied) from his FF local runtime…

Joey Ventry
- 187
- 6
2
votes
1 answer
What is the UNSECURED keyword used in FatFractal server extension declarations?
For server extension declarations in FFDL, I have seen variations both including and excluding the UNSECURED keyword as follows:
CREATE EXTENSION /ActivateUser UNSECURED AS javascript:require ('scripts/RegistrationExtension').activateUser();
CREATE…

Joey Ventry
- 187
- 6
2
votes
1 answer
What are the differences in the qualifiers used for declaring FatFractal event handlers in FFDL?
I've noticed a few variations in how event handlers can be defined in FFDL involving the use of certain qualifiers or keywords. For example, I've seen the use of both POST and ASYNC keywords:
CREATE HANDLER SupportRequestCreate ASYNC ON…

Joey Ventry
- 187
- 6
2
votes
1 answer
How to pass data attributes to a FatFractal server extension and access them from extension code?
In a similar vein to a previous question I've asked, I'm wondering A) how to pass individual data attributes to a server extension and B) how to access those data attributes from inside the server extension source code. As a sidebar (and not…

Joey Ventry
- 187
- 6