mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 18:46:53 +00:00
changed views to use Database data to read files.
moved alot of the functionality to the models. changed the file access so that it ignores the extension and just attempts rar and zip access.
This commit is contained in:
1 parent
d7145d1f7d
commit
a28bc50a44
6 files changed
+146
-76
No files matched your search
+3
-3
@@ -4,9 +4,9 @@ from . import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', views.index, name='index'),
|
||||
url(r'^(?P<comic_path>[\w=]+)\/$', views.index, name='index'),
|
||||
url(r'^read\/(?P<comic_path>[\w=]+)\/(?P<page>[0-9]+)\/$', views.read_comic, name='read_comic'),
|
||||
url(r'^read\/(?P<comic_path>[\w=]+)\/(?P<page>[0-9]+)\/img$', views.get_image, name='get_image'),
|
||||
url(r'^(?P<comic_path>[\w]+)\/$', views.index, name='index'),
|
||||
url(r'^read\/(?P<comic_path>[\w]+)\/(?P<page>[0-9]+)\/$', views.read_comic, name='read_comic'),
|
||||
url(r'^read\/(?P<comic_path>[\w]+)\/(?P<page>[0-9]+)\/img$', views.get_image, name='get_image'),
|
||||
url(r"^file\/(?P<page>[0-9]+)\/(?P<file_name>[\w.\s'\(\)\-]+)\/$", views.read_comic, name='read_comic'),
|
||||
url(r"^file\/(?P<page>[0-9]+)\/(?P<file_name>[\w.\s'\(\)\-]+)\/img$", views.get_image, name='get_image'),
|
||||
]
|
||||
Reference in new issue
Block a user