django-request icon indicating copy to clipboard operation
django-request copied to clipboard

Demonstration or more elaborate explanation of django-request features?

Open chrisjdixon opened this issue 3 years ago • 0 comments

I'm considering using django-request as it seems it might address my needs but I can't find a beginner friendly demonstration of what it offers, and I'm reluctant to unnecessarily install more things to try something and then be unsure about what to remove.

I'm new to Django and am trying to figure out how to record requests in ideally SQL. I thought logging would work but can't figure out how to include %(ip) into 'format': ' {asctime} {levelname} {message}', so I'm now looking for a better solution.

All I'm after is datetime, IP, url (or GET request), and maybe a few other customizable fields like user agent in an SQL table in the easiest way possible, and django-request looks like it might suit. Is there a way I can see that for myself without installing it? Would you recommend django-request for this?

The Detailed Documentation section refers to https://django-request.readthedocs.org/en/latest/ but I didn't find this sufficiently explanatory. Perhaps I'm missing something as a beginner?

chrisjdixon avatar Jul 14 '21 00:07 chrisjdixon