Did I find the right examples for you? yes no

All Samples(10)  |  Call(6)  |  Derive(0)  |  Import(4)

src/d/j/django-log-file-viewer-0.9/django-log-file-viewer/views.py   django-log-file-viewer(Download)
from django.contrib.auth.decorators import login_required, user_passes_test
from settings import *
from models import LogFilesManager
 
__all__ = ['logfiles_list', 'logfile_view', 'logfile_to_csv']
def logfiles_list(request, template_name='listfiles.html'):
    """Lists Log Files in settings directory"""
    manager = LogFilesManager()
    files_list = manager.list_logfiles(LOG_FILES_DIR)
    indexes = {}
            pass
 
    manager = LogFilesManager()
    files_list = manager.list_logfiles(LOG_FILES_DIR)
    try:
def logfile_to_csv(request, logfile_id):
    """Exports selected log file to PDF"""
    manager = LogFilesManager()
    files_list = manager.list_logfiles(LOG_FILES_DIR)
    try:

src/d/j/django-log-file-viewer-HEAD/views.py   django-log-file-viewer(Download)
from django.contrib.auth.decorators import login_required, user_passes_test
from settings import *
from models import LogFilesManager
 
__all__ = ['logfiles_list', 'logfile_view', 'logfile_to_csv']
def logfiles_list(request, template_name='listfiles.html'):
    """Lists Log Files in settings directory"""
    manager = LogFilesManager()
    files_list = manager.list_logfiles(LOG_FILES_DIR)
    indexes = {}
            pass
 
    manager = LogFilesManager()
    files_list = manager.list_logfiles(LOG_FILES_DIR)
    try:
def logfile_to_csv(request, logfile_id):
    """Exports selected log file to PDF"""
    manager = LogFilesManager()
    files_list = manager.list_logfiles(LOG_FILES_DIR)
    try:

src/d/j/django-log-file-viewer-HEAD/tests.py   django-log-file-viewer(Download)
import os
from django.test import TestCase
from models import LogFilesManager
from settings import *
 

src/d/j/django-log-file-viewer-0.9/django-log-file-viewer/tests.py   django-log-file-viewer(Download)
import os
from django.test import TestCase
from models import LogFilesManager
from settings import *