Re: secret api keys

2022-10-26 Thread Michael Rohan
Hi, This is one of the drivers for my package: https://django-yamlconf.readthedocs.io/en/latest/ Externalize setting values to yaml files. Take care, Michael On Wed, Oct 26, 2022 at 9:45 PM Mike Dewhirst wrote: > On 27/10/2022 3:32 pm, Mike Dewhirst wrote: > > Not a dumb question but

Re: secret api keys

2022-10-26 Thread Mike Dewhirst
On 27/10/2022 3:32 pm, Mike Dewhirst wrote: Not a dumb question but frequently asked. There are two approaches - one is to export your secrets as environment vars and read them from there. The other is to keep them in disk files and read them as required. In both cases the idea is to keep

secret api keys

2022-10-26 Thread Mike Dewhirst
Not a dumb question but frequently asked. There are two approaches - one is to export your secrets as environment vars and read them from there. The other is to keep them in disk files and read them as required. In both cases the idea is to keep secrets out of your code and thus out of your

Resources to learn

2022-10-26 Thread Nitesh Mint
I am new to Django and i have some basic knowledge of it. I completed a book: Django for beginners. Now i need some help with resources to follow and some great projects ideas to help me learn more. Please provide me some links or any resources to learn with. Note: no Youtube ! -- You

Hello, why am I getting this error

2022-10-26 Thread Samuel Nzola
Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/delete-room/6/%3E Using the URLconf defined in studybud.urls, Django tried these URL patterns, in this order: 1. admin/ 2. [name='home'] 3. room// [name='room'] 4. create-room/ [name='create-room'] 5.

Re: Does not displayed radio button in tutorial04

2022-10-26 Thread Snsk Mats
Hi Member, I solved this problem. I missed some of the content of the following sections. https://docs.djangoproject.com/en/4.1/intro/tutorial02/#playing-with-the-api In particular, the following statements. # Create three choices. >>> q.choice_set.create(choice_text='Not much', votes=0) >>>

Re: secret api keys

2022-10-26 Thread Muhammad Juwaini Abdul Rahman
People can't see it straight away. However, let's say if you forgot to set debut = False, they can see it. Not straight away, but very trivial. It is advisable to put your secret keys in external file (.env for example) and use library like django-environ to get the value. On Wed, 26 Oct 2022

Re: how to connect mongodb in my project,

2022-10-26 Thread 'Kasper Laudrup' via Django users
On 26/10/2022 16.52, pythoon r wrote: please help me,i've one requirement (project) django with mongodb.how to connect mongo to django .i was tried some method i cant connect how to config mongoengine,django-mongo-engine in my settings.py file

Re: how to connect mongodb in my project,

2022-10-26 Thread Lakshyaraj Dash
Postgresql is similar to MySQL (phpMyAdmin) database with some more advanced features. On Wed, Oct 26, 2022, 20:43 pythoon r wrote: > please help me,i've one requirement (project) django with mongodb.how to > connect mongo to django .i was tried some method i cant connect > how to config

Re: how to connect mongodb in my project,

2022-10-26 Thread Lakshyaraj Dash
I would prefer postgresql more thn mongodb because it's easier to use postgresql if you have a little knowledge of SQL commands and on the other hand you need json objects to deal with mongodb. Leaving all of the above content, there's a package called djongo you can use. But it has many issues

how to connect mongodb in my project,

2022-10-26 Thread pythoon r
please help me,i've one requirement (project) django with mongodb.how to connect mongo to django .i was tried some method i cant connect how to config mongoengine,django-mongo-engine in my settings.py file -- You received this message because you are subscribed to the Google Groups "Django

Re: secret api keys

2022-10-26 Thread Lakshyaraj Dash
No one can see your secret keys. It's a far thought, no can can see on what language you server side is written in. On Wed, Oct 26, 2022, 20:39 john fabiani wrote: > Hi, > > Maybe a dumb question but if I add secret keys in my settings.py file > (or should it be placed) will they be protected

secret api keys

2022-10-26 Thread john fabiani
Hi, Maybe a dumb question but if I add secret keys in my settings.py file (or should it be placed) will they be protected from the front end side (the part that is displayed to the user of the website). For example I have a secret key to access Authorize Net.  Will it be protected from