Based on my experience, this is the easiest one to start with:
https://django-auditlog.readthedocs.io/
On Mon, 6 Jun 2022 at 12:58, Mukul Verma wrote:
> i also have the question regarding this, is that i have to create auditing
> log file for all the activities performing in the project smalles
You can add the following lines in your script:
`
import django
sys.path.append('')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', '')
django.setup()
`
On Tue, 7 Jun 2022 at 04:17, Jason wrote:
> Why? what's the purpose behind this?
>
> On Monday, June 6, 2022 at 12:27:58 PM UTC-4 cseb...@gma
I think what he meant is 'session' in django.
Probably can take a look at this:
https://docs.djangoproject.com/en/4.0/ref/request-response/
For example, django app wants to know who is the current user, can use
something like:
`request.user`
On Mon, 6 Jun 2022 at 22:45, 'Kasper Laudrup' via Djan
Why? what's the purpose behind this?
On Monday, June 6, 2022 at 12:27:58 PM UTC-4 cseb...@gmail.com wrote:
> How replace "./manage.py < some_code.py" with "./some_code.py" for website
> scripts?
>
> There seem to be a number of imports needed to make the 2nd version work.
>
> cs
>
--
You rece
How replace "./manage.py < some_code.py" with "./some_code.py" for website
scripts?
There seem to be a number of imports needed to make the 2nd version work.
cs
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
On 06/06/2022 11.16, Mukul Verma wrote:
Hii,
Help me out in this stuff please, some steps for solve this out
Python is a programming language so there's no such thing as a "session
for login and logout".
If you want someone to help you, you should try to clarify what you
actually need hel
Hi Dan.
Your question interested me so I went looking. The page you link to further
links to the uvicorn documentation which seems to indicate their suggestion for
production deployments is to use gunicorn and the uvicorn worker.
Their rationale seems to be that uvicorn is great at running an
Hii,
Help me out in this stuff please, some steps for solve this out
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
8 matches
Mail list logo