Take a look at whitenoise for django, this should help you.
On Thursday, February 20, 2020 at 11:35:51 AM UTC-5, Robert F. wrote:
>
> I'm trying to understand how static files are served up by Django using a
> project I've created on my Mac using Django 3, Gunicorn, and Nginx. The
> website se
Hi, look at Twilio. They seem to be a great choice, cost is going to vary -
just charge extra per message on top of what they charge. Building out this
service on your own will be difficult without the help of a third party to
send the messages.
--
You received this message because you are su
Hello Ilya
I would read the following:
https://docs.djangoproject.com/en/3.0/topics/db/models/
Essentially, what you do in shell is what you would do in your code.
I also believe you might want to look at how you are grabbing the posted
data.
I would use something like url = request.GET.get(
Are the VM's within the same network/hosting company?
On Mon, Feb 10, 2020 at 8:38 AM Simen Russnes wrote:
> Ever since I separated my server running the Django code (2.2.9), and my
> MariaDB server (10.3), there has been a significant lag increase in my
> application.
>
> I've tried to limit th
PayPal, talk to them about micropayments. It is by far less expensive than
the traditional route - at least when i last used it it was.
On Thu, Feb 6, 2020 at 7:39 AM Evgeni Petrov wrote:
> I am creating a Django platform. I need a solution for micropayments. The
> value will be on average 2 eur
I would change the model a bit, instead of having the timestamp as the key,
i would set it in the dict.
I believe that would be cleaner and would allow you to do a bit more of
what you are going for.
On Thursday, January 30, 2020 at 10:38:33 AM UTC-5, wagner wrote:
>
> Hello together,
> i have t
Hi Balaji
It's not necessarily template views.
Let's come up with a scenario so you can see.
Let's assume you have an order form, and your customers can view that order
form by viewing:
yoururl.com/orders/?order_id=101
You think it's okay - after all the customer has to login and view their
Django by itself is fairly secure, it's your coding that makes it not
secure and the resources you use.
1.) Don't use simple passwords.
2.) Don't use /admin/ as your admin location. Do change it. - install
something like honeypot to catch people trying to gain access to admin
3.) Don't forget yo
I'm working on a project where the admin models are registered dynamically,
this is including dynamically adding features like list_display,
search_fields etc.
The issue I'm having now is that when I make a change ( params are loaded
from a database table ) it seems to be caching the response u
Would something like XMLTODICT help?
https://pypi.org/project/xmltodict/
import xmltodict # Third Party
data = ""
parsed_data =xmltodict.parse(data)
# do your data thing here...
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubsc
10 matches
Mail list logo