Metadata-Version: 1.1
Name: django-weblogtools
Version: 0.1.2
Summary: A simple Django app to log http request / response with external services.
Home-page: https://github.com/daimon99/django-httplog
Author: Jian Dai
Author-email: jian.dai@gmail.com
License: BSD License
Description: =============
        weblogtools
        =============
        
        Weblogtools is a simple Django app to log http request to database, in order to have a nice interface to check the input / output data with external service.
        
        Quick start
        -------------
        
        1. Add "weblogtools" to your INSTALLED_APPS setting like this::
        
            INSTALLED_APPS = [
                ...
                'weblogtools',
            ]
        
        2. Include the weblogtools URLconf in your project urls.py like this::
        
            path('weblogtools/', include('weblogtools.urls')),
        
        3. Run `python manage.py migrate` to create the weblogtools models.
        
        4. now you can use weblogtools like belows. more see the weblogtools package source code::
        
            with weblogtools.TimeIt() as timeit:
                res = requests.post(url, json=payload)
            weblogtools.http_log_from_response('upload_case', res, timeit.duration)
        
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
