Mirco
If you wanna save your time, yes
Mirco
Ruby
I am able to do with django form but my project team members want me not to us django form ...
Ruby
So plz suggest me ways to doiny it
Ruby
Doing
Florencio
Anders (izzno / gooood) 🇳🇴
not really...
Ruby
Okay
Ruby
Calling api from front end .....this work will be done by backend developer or front developer
Ruby
?
Anders (izzno / gooood) 🇳🇴
Well, both...
Anders (izzno / gooood) 🇳🇴
If you look at the gist I am using both JS in the FE and setting up a View in BE.
Anders (izzno / gooood) 🇳🇴
Anyway this is one suggestion.
Ruby
Oky
Anonymous
Pls who has handled blockchain.info api callback url.
How do you write the view and the url path to accept and process the call back 🙏🏻
Anurag
how do i append a query set into another query set?
Anurag
Hey i want to know about login and reg. In django
just create a form with HTML, Bootstrap, JavaScript and take the data from frontend just save it into database... for log in it will be same ...only you have to authenticate user and render desired page....
Deepak
thanks
Deepak
its resolved
Deepak
nope its not resolved
Deepak
it is showing server error 500
Muflone
What could that mean?
Ruby
Deepak
Muflone
dont know
I bet 50$ it's an error that worths to be read
Deepak
ok
Deepak
?
Maxim
OneZer0
Good morning guys, someone who has worked with Oracle, knows how to solve this problem of binaryField ()?
Exception Value: ORA-01461: can bind a LONG value only for insert into a LONG column
Maxim
Deepak
i am following corey schefer heroku depolyement video
Deepak
where he set the value of dbug onserver is True
Deepak
and in dev mode DEBUG = (os.environ.get("DEBUG_VALUE") =="True")
RS
OperationalError at /
attempt to write a readonly database
I'm suddenly got this error while running my django project in browser
RS
Deepak
damn it same error
Deepak
i mean i just want to see 404 error when i put wrong url
Nikkey
Those who are getting operational error
Try to extend timeout of your database
Nikkey
I hope that will work
Nikkey
And if anyone have Durga sir's notes, can you please share that with me
Nikkey
You are getting this error because 2 threads are attampting to access database at a time
Nikkey
RS
Nikkey
Extend timeout
Nikkey
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'OPTIONS': {
'timeout': 20, # in seconds
}
}
}
Nikkey
Like this
Deepak
need help
^_^
Am implementing login authentication using
@login_required(login_url=‘/‘)
Ideally if I try to access the url path it should redirect me back to home page but this does not happen. I still get a 200 message on the server console.
Appreciate help on this.
Yusniel
Dear all, I'm using a microservices architecture using django. I have two services. How can I write the foreign relationship between two models in differents microservices?
Nagadeep Sharma
^_^
Deepak
Page not found (404)
Request Method: GET
Request URL: https://xyasd.herokuapp.com/kjfr/
Using the URLconf defined in xyasd.urls, Django tried these URL patterns, in this order:
admin/
The current path, kjfr/, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
Deepak
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page i think should show error 404
Anonymous
Deepak
why i am not seeing error 404
Anonymous
Deepak
it shows then service error 500
Deepak
ok
Anonymous
What does the logs say ?
Anonymous
Yusniel
For now, each service is a Django app with custom configuration. I'm using DRF for rest. Each service is deployed using docker container with independent database. There isn't access at db level.
Anonymous
So the two services are using the same db which is deployed on a seperate container ?
Yusniel
Anonymous
Ok.. so now u want to write from one service to the other db and vice versa ?
Anonymous
Vikas Singh
Future of django in india?? Python django
Vikas Singh
Job oppurnity
Vikas Singh
In india??
Yusniel
Anonymous
Yusniel
Darth✧
Darth✧
Like @login_required(login_url='login')
Darth✧
Or direct set path of your login page