Tar
Hi, I have API for currencies rates that I want to run once a day (as a cron?) I need access to the values. What is the recommended way to do it? An independent cron (Linux) which update a values in the environment ? A function that runs once a day and update the db based on a model? Any other ideas...
The
Local server only has http
where should i make the changes for fixing this error
sheikh
How to override template in django oscar
Anonymous
Just your url
Anonymous
Use http
The
k
Rajat
Is there a way to implement a timer in django, by a module or javadcript? So I can update HTML dom after a certain period of time.
Rajat
I figured it out, thank you
DK
Which is best, Django with mongo db OR Django with postgresql
Adonis
Django is NOT designed for NoSQL db.
DK
But their is YouTube source which shows tutorial with NoSQL
Anonymous
Which is best, Django with mongo db OR Django with postgresql
Yeah i also want to know which is best with django
DK
Django with Mongodb is complex but possible. Django should go with MySQL
Adonis
But their is YouTube source which shows tutorial with NoSQL
yeah but it's not necessarly the right thing to do...
Yep
Ist there any Tutorial, how to save collected multiple data with python to a db? Im just finding saving from forms with django...
Paschaljet
The view didn't return an HttpResponse object. It returned None instead, please what usually cause this?
Roman
Hi guys, If I have FileField in model and it's serialised, how should I pass the file to the apiviewset so serializer knows it's correct and changed the file ?
Roman
As 64 encoded string ?
Roman
I am interested in patch call
•_•
Anyone here who can help me in social media login ??
•_•
I'm getting error while deploying it and it's running fine locally
monké
Could you be more specific?
monké
What problems and how are you deploying?
Xavier
I'm getting error while deploying it and it's running fine locally
check your deploying method setting files (hint: apache, nginx, and such)
Nivatharan
Guys... Let me know, which is site best to deploy my Django app ???
KENNEDY
Guys... Let me know, which is site best to deploy my Django app ???
If you are considering ease of Use, Digital Ocean. Otherwise, AWS
KENNEDY
where should i make the changes for fixing this error
Use NginX or Apache to serve your app. That way you can configure it to accept HTTPS.
Anonymous
hello guys , ı need django translate documention anyone help me ?? ı dont understand translation
Anonymous
Is what learn python framework
Anonymous
Please suggest which framework is the best
cj
🙄🙄🙄🙄
Anonymous
cj
What bro
1. I'm not your bro 2. Did you read this group name? 3. if previous point's answer is yes, do you know what django is? 4. what do you really want to do? because depending on that there are many different frameworks for different purposes
Presence
Any Angular+django example recommendations for educational purposes on github
Wang
hello everyone i got a problem!
Wang
<p><label for="id_account_0">账单使用账户:</label> <ul id="id_account"> <li><label for="id_account_0"><input type="radio" name="account" value="" required id="id_account_0" checked> —-------</label> </li> <li><label for="id_account_1"><input type="radio" name="account" value="1" required id="id_account_1"> 微信: 0.0</label> </li>
Wang
i use form with radioselect , but it display __ in HTML
Wang
class BillForm(ModelForm): class Meta: model = Bill fields = [ 'name', 'amount', 'bill_type', 'account', 'note'] widgets = { 'account': forms.RadioSelect(), }
Wang
i Don't want to display it how shoud i do
Wang
emmm my english is poor , sorry sir
Wang
use crispy form instead
do you have native solution, I don't use more external app . it will be more complex
Scrim
I'm using PostgreSQL and i deleted table directly on database, so know Django don't create database again
Mindru
I'm using PostgreSQL and i deleted table directly on database, so know Django don't create database again
if you want to apply migration for creating table, delete from table django_migrations this migration for creating that table
Xavier
I'm using PostgreSQL and i deleted table directly on database, so know Django don't create database again
If the below suggestions doesn't work then try deleting the migration in the migrate folder (don't delete the init file), then perform migration again
Shubham
Hi guys How can i get the validationerror code in views.py?
Wang
try removing after "()" after radio select
i fixed the problem this is my solution
Wang
class BillForm(ModelForm): def init(self, *args, **kwargs): super().init(*args, **kwargs) CHOICES = [(o.id, o.name) for o in Account.objects.all()] self.fields['account'] = forms.ChoiceField(label="账号", widget=forms.RadioSelect, choices=CHOICES) class Meta: model = Bill fields = [ 'name', 'amount', 'bill_type', 'account', 'note']
•_•
Could you be more specific?
Social media login works fine locally but when i deployed on heroku its not working do i have to do some extra settings while deploying on server???
Bacteria
I have a python chatbot implemented in google colabs, now i want to implement a client server architecture. I am aware of RESTful APIs but it does not have states. So what should i use?
•_•
Backend not found for Google login
Anonymous
hello guys ı need django translation ı cant fixed problem ı need help pls 😩
Rangarajan
Backend not found for Google login
Which platform do you use for hosting?
Alan
Which platform do you use for hosting?
or aws lambda + api gateway using zappa
AxJu
Hi guys, i need an app that controls the os. That shuts down the system or executes custom scripts. For example, I want to change the network settings. I know how to run a script using Python, that's not the problem. But maybe there is already an app?
AxJu
electron
Sorry, I meant a Django app
DY
Very cool 👍
🙏thanks
Alan
Sorry, I meant a Django app
Django deals with the backend, Electron is a webapp in the desktop
Alan
Basically the front end my lad
Alan
I might be wrong, ill look up stuff
Rangarajan
Herokuapp
Heroku have different setup for Dev server(deployment) visit their official documentation page you'll get clear about it.
Alan
just found out, yeah you can use electron with django
AxJu
just found out, yeah you can use electron with django
I think you are right. But I want to change settings from the server (backend). For example, the host name. That's why I want to have a Django app that does all the stuff.