首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

Django构建的简单图库应用程序

信息化管理 64.38MB 39 需要积分: 1
立即下载

资源介绍:

这是一个使用Django构建的简单图库应用程序,它提供了添加照片的功能,包括拍摄照片的类别、日期和位置。它还包含漂亮的响应式UI设计,可以显示存储在图库中的所有照片。 管理账户: 用户名:admin 密码:testing321
![alt text](screencaps/logo.png) #### A photo gallery web application. ## User Story * User can view all photos on index page ordered by the date they were posted * Hovering on an image will reveal more information about it; the title, description, location and time posted. * User can click on the copy button on an image to copy its url for sharing purposes * Clicking an image will toggle a lightbox with an expanded view of the image * User can navigate to other images while on the lightbox view. * User can search photos based on their categories * User can browse photos based on the location they were taken ![alt text](screencaps/daz1.gif) ## Author [Collins Muriuki](https://github.com/collinsmuriuki), 26/10/2019. ## Description A photo gallery web application made using Django. ## Technologies Used * Python 3.7.4 * Django 1.11.23 * SQLite3 * HTML5 * CSS3 * Javascript * jQuery 3.4.1 * Bootstrap 4.3.1 * [Owl carousel 2.3.4](https://owlcarousel2.github.io/OwlCarousel2/) * [Baguettebox.js 1.10.0](https://feimosi.github.io/baguetteBox.js/) * Google Font API ## Requirements * This program requires python3.+ (and pip) installed, a guide on how to install python on various platforms can be found [here](https://www.python.org/) * Once python is installed, install the folowing external libraries provided in the requirements.txt file using pip * Example: * **`pip install django==1.11.23`** * This project requires you to have a secret key from Uploadcare to facilitate cloud storage of uploaded images. * The secret key can be gotten by creating a free uploadcare account, starting a new project and navigating to the dashboard * The key should be stored as an environmental variable in an .env file as shown below * **`SECRET=`** * More info on how to use the Django pyuploadcare library can be found [here](https://uploadcare.com/docs/guides/django/) ## Installation and Set-up To view the app, open the live site link provided below on the README. Here is a run through of how to set up the application: * **Step 1** : Clone this repository using **`git clone https://github.com/collinsmuriuki/dazzle.git`**, or downloading a ZIP file of the code. * **Step 2** : The repository, if downloaded as a .zip file will need to be extracted to your preferred location and opened * **Step 3** : Go to the project root directory and install the virtualenv library using pip an afterwards create a virtual environment. Run the following commands respectively: * **`pip install virtualenv`** * **`virtualenv venv`** * **`source venv/bin/activate`** * Note that you can exit the virtual environment by running the command **`deactivate`** * **Step 4** : Download the all dependencies in the requirements.txt using **`pip install -r requirements.txt`** * **Step 5** : You can now launch the application locally by running the command **`python manage.py runserver`** and copying the link given on the termnal on your browser. * To post photos, run the command **`python manage.py createsuperuser`** to create an admin account in order to post. Access to the admin panel is by adding the path /admin to the address bar. ## Known Bugs * None at the momment, report any by contacting me ## Support and contact details You can provide feedback or raise any issues/ bugs through the following means: * murerwacollins@gmail.com ## Live Site link You can view the live application by following this [link](https://dazzle100.herokuapp.com/). ## License #### [*GNU License*](LICENSE)

资源文件列表:

Photo_gallery_web_application_using_Django.zip 大约有140个文件
  1. dazzle/
  2. dazzle/LICENSE 34.3KB
  3. dazzle/README.md 3.48KB
  4. dazzle/populate_db.py 1.14KB
  5. dazzle/gallery/
  6. dazzle/gallery/admin.py 302B
  7. dazzle/gallery/views.py 1.66KB
  8. dazzle/gallery/__pycache__/
  9. dazzle/gallery/__pycache__/admin.cpython-39.pyc 569B
  10. dazzle/gallery/__pycache__/views.cpython-39.pyc 1.44KB
  11. dazzle/gallery/__pycache__/models.cpython-39.pyc 4.18KB
  12. dazzle/gallery/__pycache__/__init__.cpython-39.pyc 159B
  13. dazzle/gallery/__pycache__/apps.cpython-39.pyc 381B
  14. dazzle/gallery/__pycache__/urls.cpython-39.pyc 618B
  15. dazzle/gallery/apps.py 89B
  16. dazzle/gallery/models.py 3.01KB
  17. dazzle/gallery/tests.py 2.3KB
  18. dazzle/gallery/migrations/
  19. dazzle/gallery/migrations/0001_initial.py 1.5KB
  20. dazzle/gallery/migrations/0003_auto_20191109_1643.py 425B
  21. dazzle/gallery/migrations/__pycache__/
  22. dazzle/gallery/migrations/__pycache__/0001_initial.cpython-39.pyc 1.2KB
  23. dazzle/gallery/migrations/__pycache__/0004_auto_20191109_1750.cpython-39.pyc 662B
  24. dazzle/gallery/migrations/__pycache__/0005_auto_20191111_2002.cpython-39.pyc 697B
  25. dazzle/gallery/migrations/__pycache__/__init__.cpython-39.pyc 170B
  26. dazzle/gallery/migrations/__pycache__/0003_auto_20191109_1643.cpython-39.pyc 612B
  27. dazzle/gallery/migrations/__pycache__/0002_location_country.cpython-39.pyc 828B
  28. dazzle/gallery/migrations/0002_location_country.py 605B
  29. dazzle/gallery/migrations/0004_auto_20191109_1750.py 457B
  30. dazzle/gallery/migrations/__init__.py
  31. dazzle/gallery/migrations/0005_auto_20191111_2002.py 486B
  32. dazzle/gallery/__init__.py
  33. dazzle/gallery/templates/
  34. dazzle/gallery/templates/gallery/
  35. dazzle/gallery/templates/gallery/base.html 2.67KB
  36. dazzle/gallery/templates/gallery/search.html 1.82KB
  37. dazzle/gallery/templates/gallery/browse.html 2.44KB
  38. dazzle/gallery/templates/gallery/index.html 2.97KB
  39. dazzle/gallery/templates/gallery/location.html 2.8KB
  40. dazzle/gallery/templates/footer.html 1.65KB
  41. dazzle/gallery/templates/navbar.html 3.26KB
  42. dazzle/gallery/urls.py 471B
  43. dazzle/db.sqlite3 164KB
  44. dazzle/screencaps/
  45. dazzle/screencaps/logo.png 9.57KB
  46. dazzle/screencaps/daz1.gif 22.4MB
  47. dazzle/screencaps/d1.png 439.36KB
  48. dazzle/screencaps/d3.png 747.48KB
  49. dazzle/screencaps/daz2.gif 5.73MB
  50. dazzle/screencaps/d2.png 293.34KB
  51. dazzle/manage.py 813B
  52. dazzle/.git/
  53. dazzle/.git/index 6.23KB
  54. dazzle/.git/logs/
  55. dazzle/.git/logs/refs/
  56. dazzle/.git/logs/refs/remotes/
  57. dazzle/.git/logs/refs/remotes/origin/
  58. dazzle/.git/logs/refs/remotes/origin/HEAD 193B
  59. dazzle/.git/logs/refs/heads/
  60. dazzle/.git/logs/refs/heads/master 193B
  61. dazzle/.git/logs/HEAD 193B
  62. dazzle/.git/objects/
  63. dazzle/.git/objects/pack/
  64. dazzle/.git/objects/pack/pack-289e02bb2115f171e2ae05a2344b3d7372bbecb3.idx 16.77KB
  65. dazzle/.git/objects/pack/pack-289e02bb2115f171e2ae05a2344b3d7372bbecb3.pack 33.81MB
  66. dazzle/.git/objects/info/
  67. dazzle/.git/description 73B
  68. dazzle/.git/branches/
  69. dazzle/.git/refs/
  70. dazzle/.git/refs/tags/
  71. dazzle/.git/refs/remotes/
  72. dazzle/.git/refs/remotes/origin/
  73. dazzle/.git/refs/remotes/origin/HEAD 32B
  74. dazzle/.git/refs/heads/
  75. dazzle/.git/refs/heads/master 41B
  76. dazzle/.git/packed-refs 114B
  77. dazzle/.git/config 269B
  78. dazzle/.git/hooks/
  79. dazzle/.git/hooks/pre-commit.sample 1.6KB
  80. dazzle/.git/hooks/commit-msg.sample 896B
  81. dazzle/.git/hooks/pre-push.sample 1.32KB
  82. dazzle/.git/hooks/update.sample 3.53KB
  83. dazzle/.git/hooks/pre-applypatch.sample 424B
  84. dazzle/.git/hooks/pre-receive.sample 544B
  85. dazzle/.git/hooks/pre-merge-commit.sample 416B
  86. dazzle/.git/hooks/fsmonitor-watchman.sample 3.01KB
  87. dazzle/.git/hooks/prepare-commit-msg.sample 1.46KB
  88. dazzle/.git/hooks/applypatch-msg.sample 478B
  89. dazzle/.git/hooks/post-update.sample 189B
  90. dazzle/.git/hooks/pre-rebase.sample 4.78KB
  91. dazzle/.git/info/
  92. dazzle/.git/info/exclude 240B
  93. dazzle/.git/HEAD 23B
  94. dazzle/static/
  95. dazzle/static/css/
  96. dazzle/static/css/bootstrap.min.css 152.11KB
  97. dazzle/static/css/owl.carousel.min.css 3.27KB
  98. dazzle/static/css/owl.theme.default.min.css 1013B
  99. dazzle/static/css/main.css 3.05KB
  100. dazzle/static/favicon/
  101. dazzle/static/favicon/favicon.png 14.61KB
  102. dazzle/static/js/
  103. dazzle/static/js/jquery.min.js 86.08KB
  104. dazzle/static/js/bootstrap.min.js 56.71KB
  105. dazzle/static/js/main.js 793B
  106. dazzle/static/js/owl.carousel.min.js 43.3KB
  107. dazzle/.gitignore 42B
  108. dazzle/Procfile 47B
  109. dazzle/requirements.txt 474B
  110. dazzle/runtime.txt 12B
  111. dazzle/media/
  112. dazzle/media/images/
  113. dazzle/media/images/eleven.jpg 68.6KB
  114. dazzle/media/images/one.jpg 120.76KB
  115. dazzle/media/images/two.jpg 8.49KB
  116. dazzle/media/images/four.jpg 46.06KB
  117. dazzle/media/images/sixteen.jpg 29.47KB
  118. dazzle/media/images/ten.jpg 19.36KB
  119. dazzle/media/images/fourteen.jpg 29.49KB
  120. dazzle/media/images/seventeen.jpg 65.55KB
  121. dazzle/media/images/three.jpg 42.84KB
  122. dazzle/media/images/eighteen.jpg 62.53KB
  123. dazzle/media/images/six.jpg 95.4KB
  124. dazzle/media/images/fifteen.jpg 70.9KB
  125. dazzle/media/images/thirteen.jpg 17.11KB
  126. dazzle/media/images/twelve.jpg 25.69KB
  127. dazzle/media/images/eight.jpg 120.91KB
  128. dazzle/media/images/nine.jpg 48.72KB
  129. dazzle/media/images/five.jpg 65.53KB
  130. dazzle/media/images/seven.jpg 96.1KB
  131. dazzle/gallery_project/
  132. dazzle/gallery_project/__pycache__/
  133. dazzle/gallery_project/__pycache__/settings.cpython-39.pyc 2.82KB
  134. dazzle/gallery_project/__pycache__/__init__.cpython-39.pyc 167B
  135. dazzle/gallery_project/__pycache__/wsgi.cpython-39.pyc 587B
  136. dazzle/gallery_project/__pycache__/urls.cpython-39.pyc 1015B
  137. dazzle/gallery_project/wsgi.py 408B
  138. dazzle/gallery_project/__init__.py
  139. dazzle/gallery_project/urls.py 820B
  140. dazzle/gallery_project/settings.py 3.74KB
0评论
提交 加载更多评论
其他资源 Django学校管理系统web应用程序
基于Django和sqlite3的应用程序,提供了将学生注册到数据库、监控他们的出勤、成绩以及相关信息等功能。 该系统在后端运行Django框架,在前端运行HTML、CSS。它有一个内置的交互式后台,供教师使用,教师可以监控学生在学校的活动,如出勤、成绩和入学情况。 除了学生和教师,学校的其他员工也可以从同一个后台进行管理。还有一个单独的管理面板,通过该面板可以管理和控制每个用户及其数据。 管理账户: 用户名:admin 密码:admin
Django框架URL缩短程序
Django框架,这是一个关于URL缩短器的高级项目,可以将任何给定的URL缩短为您选择的URL。缩短的URL可以作为指向所需网站的重定向链接。 该系统的后端完全基于Django框架构建,前端则采用HTML和CSS。它具有与流行的Bit.ly或adf.ly URL缩短器类似的功能,可以执行所有任务,如将URL缩短代码自定义为您选择的代码,也可以对其进行编程,为缩短的URL生成随机slug。 该应用程序还提供了一个管理面板,通过该面板可以控制所有缩短的网址及其重定向链接。这是一个具有高级功能的高级项目。 管理账户: 用户名:admin 密码:admin
简单的Django框架测验应用程序
Django框架,程序提供了添加任意数量的问题、在系统中注册用户和参加测验等功能。它还包含测验结束后的所有验证和评分系统。 管理账户: 用户名:admin 密码:admin
Django框架的音乐流媒体应用程序
这是一款高级音乐流媒体服务应用程序,用户可以登录系统,添加相册,并将歌曲添加到相册中。通过这样做,在系统上注册的其他用户也可以查看专辑并收听其中的所有歌曲。
python-外卖点餐web应用程序
使用Django框架。它包含登录/注册、查看所有食品、将食品添加到卡中以及使用支付系统结账等功能。 该系统在后端运行Django框架,在前端运行HTML、CSS。它包含与流行的UberEats应用程序类似的功能,用于在线订购食物。 管理面板: 用户名:admin 密码:admin
课件-后端代码-Python.zip
课件-后端代码-Python.zip
springboot + mybatis-plus + 前端单体项目demo
源码
TSMaster 信号导出为 CSV 按帧数&按时间(ms/s)
demo 工程