Photo_gallery_web_application_using_Django.zip
大小:64.38MB
价格:10积分
下载量:0
评分:
5.0
上传者:sheji888
更新日期:2025-09-22

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

资源文件列表(大概)

文件名
大小
dazzle/
-
dazzle/LICENSE
34.3KB
dazzle/README.md
3.48KB
dazzle/populate_db.py
1.14KB
dazzle/gallery/
-
dazzle/gallery/admin.py
302B
dazzle/gallery/views.py
1.66KB
dazzle/gallery/__pycache__/
-
dazzle/gallery/__pycache__/admin.cpython-39.pyc
569B
dazzle/gallery/__pycache__/views.cpython-39.pyc
1.44KB
dazzle/gallery/__pycache__/models.cpython-39.pyc
4.18KB
dazzle/gallery/__pycache__/__init__.cpython-39.pyc
159B
dazzle/gallery/__pycache__/apps.cpython-39.pyc
381B
dazzle/gallery/__pycache__/urls.cpython-39.pyc
618B
dazzle/gallery/apps.py
89B
dazzle/gallery/models.py
3.01KB
dazzle/gallery/tests.py
2.3KB
dazzle/gallery/migrations/
-
dazzle/gallery/migrations/0001_initial.py
1.5KB
dazzle/gallery/migrations/0003_auto_20191109_1643.py
425B
dazzle/gallery/migrations/__pycache__/
-
dazzle/gallery/migrations/__pycache__/0001_initial.cpython-39.pyc
1.2KB
dazzle/gallery/migrations/__pycache__/0004_auto_20191109_1750.cpython-39.pyc
662B
dazzle/gallery/migrations/__pycache__/0005_auto_20191111_2002.cpython-39.pyc
697B
dazzle/gallery/migrations/__pycache__/__init__.cpython-39.pyc
170B
dazzle/gallery/migrations/__pycache__/0003_auto_20191109_1643.cpython-39.pyc
612B
dazzle/gallery/migrations/__pycache__/0002_location_country.cpython-39.pyc
828B
dazzle/gallery/migrations/0002_location_country.py
605B
dazzle/gallery/migrations/0004_auto_20191109_1750.py
457B
dazzle/gallery/migrations/__init__.py
-
dazzle/gallery/migrations/0005_auto_20191111_2002.py
486B
dazzle/gallery/__init__.py
-
dazzle/gallery/templates/
-
dazzle/gallery/templates/gallery/
-
dazzle/gallery/templates/gallery/base.html
2.67KB
dazzle/gallery/templates/gallery/search.html
1.82KB
dazzle/gallery/templates/gallery/browse.html
2.44KB
dazzle/gallery/templates/gallery/index.html
2.97KB
dazzle/gallery/templates/gallery/location.html
2.8KB
dazzle/gallery/templates/footer.html
1.65KB
dazzle/gallery/templates/navbar.html
3.26KB
dazzle/gallery/urls.py
471B
dazzle/db.sqlite3
164KB
dazzle/screencaps/
-
dazzle/screencaps/logo.png
9.57KB
dazzle/screencaps/daz1.gif
22.4MB
dazzle/screencaps/d1.png
439.36KB
dazzle/screencaps/d3.png
747.48KB
dazzle/screencaps/daz2.gif
5.73MB
dazzle/screencaps/d2.png
293.34KB
dazzle/manage.py
813B
dazzle/.git/
-
dazzle/.git/index
6.23KB
dazzle/.git/logs/
-
dazzle/.git/logs/refs/
-
dazzle/.git/logs/refs/remotes/
-
dazzle/.git/logs/refs/remotes/origin/
-
dazzle/.git/logs/refs/remotes/origin/HEAD
193B
dazzle/.git/logs/refs/heads/
-
dazzle/.git/logs/refs/heads/master
193B
dazzle/.git/logs/HEAD
193B
dazzle/.git/objects/
-
dazzle/.git/objects/pack/
-
dazzle/.git/objects/pack/pack-289e02bb2115f171e2ae05a2344b3d7372bbecb3.idx
16.77KB
dazzle/.git/objects/pack/pack-289e02bb2115f171e2ae05a2344b3d7372bbecb3.pack
33.81MB
dazzle/.git/objects/info/
-
dazzle/.git/description
73B
dazzle/.git/branches/
-
dazzle/.git/refs/
-
dazzle/.git/refs/tags/
-
dazzle/.git/refs/remotes/
-
dazzle/.git/refs/remotes/origin/
-
dazzle/.git/refs/remotes/origin/HEAD
32B
dazzle/.git/refs/heads/
-
dazzle/.git/refs/heads/master
41B
dazzle/.git/packed-refs
114B
dazzle/.git/config
269B
dazzle/.git/hooks/
-
dazzle/.git/hooks/pre-commit.sample
1.6KB
dazzle/.git/hooks/commit-msg.sample
896B
dazzle/.git/hooks/pre-push.sample
1.32KB
dazzle/.git/hooks/update.sample
3.53KB
dazzle/.git/hooks/pre-applypatch.sample
424B
dazzle/.git/hooks/pre-receive.sample
544B
dazzle/.git/hooks/pre-merge-commit.sample
416B
dazzle/.git/hooks/fsmonitor-watchman.sample
3.01KB
dazzle/.git/hooks/prepare-commit-msg.sample
1.46KB
dazzle/.git/hooks/applypatch-msg.sample
478B
dazzle/.git/hooks/post-update.sample
189B
dazzle/.git/hooks/pre-rebase.sample
4.78KB
dazzle/.git/info/
-
dazzle/.git/info/exclude
240B
dazzle/.git/HEAD
23B
dazzle/static/
-
dazzle/static/css/
-
dazzle/static/css/bootstrap.min.css
152.11KB
dazzle/static/css/owl.carousel.min.css
3.27KB
dazzle/static/css/owl.theme.default.min.css
1013B
dazzle/static/css/main.css
3.05KB
dazzle/static/favicon/
-
dazzle/static/favicon/favicon.png
14.61KB
dazzle/static/js/
-
dazzle/static/js/jquery.min.js
86.08KB
dazzle/static/js/bootstrap.min.js
56.71KB
dazzle/static/js/main.js
793B
dazzle/static/js/owl.carousel.min.js
43.3KB
dazzle/.gitignore
42B
dazzle/Procfile
47B
dazzle/requirements.txt
474B
dazzle/runtime.txt
12B
dazzle/media/
-
dazzle/media/images/
-
dazzle/media/images/eleven.jpg
68.6KB
dazzle/media/images/one.jpg
120.76KB
dazzle/media/images/two.jpg
8.49KB
dazzle/media/images/four.jpg
46.06KB
dazzle/media/images/sixteen.jpg
29.47KB
dazzle/media/images/ten.jpg
19.36KB
dazzle/media/images/fourteen.jpg
29.49KB
dazzle/media/images/seventeen.jpg
65.55KB
dazzle/media/images/three.jpg
42.84KB
dazzle/media/images/eighteen.jpg
62.53KB
dazzle/media/images/six.jpg
95.4KB
dazzle/media/images/fifteen.jpg
70.9KB
dazzle/media/images/thirteen.jpg
17.11KB
dazzle/media/images/twelve.jpg
25.69KB
dazzle/media/images/eight.jpg
120.91KB
dazzle/media/images/nine.jpg
48.72KB
dazzle/media/images/five.jpg
65.53KB
dazzle/media/images/seven.jpg
96.1KB
dazzle/gallery_project/
-
dazzle/gallery_project/__pycache__/
-
dazzle/gallery_project/__pycache__/settings.cpython-39.pyc
2.82KB
dazzle/gallery_project/__pycache__/__init__.cpython-39.pyc
167B
dazzle/gallery_project/__pycache__/wsgi.cpython-39.pyc
587B
dazzle/gallery_project/__pycache__/urls.cpython-39.pyc
1015B
dazzle/gallery_project/wsgi.py
408B
dazzle/gallery_project/__init__.py
-
dazzle/gallery_project/urls.py
820B
dazzle/gallery_project/settings.py
3.74KB

资源内容介绍

这是一个使用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.## DescriptionA 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=<your secret key here>`** * More info on how to use the Django pyuploadcare library can be found [here](https://uploadcare.com/docs/guides/django/)## Installation and Set-upTo 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 detailsYou can provide feedback or raise any issues/ bugs through the following means:* murerwacollins@gmail.com## Live Site linkYou can view the live application by following this [link](https://dazzle100.herokuapp.com/).## License#### [*GNU License*](LICENSE)

用户评论 (0)

发表评论

captcha

相关资源

Django学校管理系统web应用程序

基于Django和sqlite3的应用程序,提供了将学生注册到数据库、监控他们的出勤、成绩以及相关信息等功能。该系统在后端运行Django框架,在前端运行HTML、CSS。它有一个内置的交互式后台,供教师使用,教师可以监控学生在学校的活动,如出勤、成绩和入学情况。除了学生和教师,学校的其他员工也可以从同一个后台进行管理。还有一个单独的管理面板,通过该面板可以管理和控制每个用户及其数据。管理账户:用户名:admin密码:admin

8.14MB49积分

Django框架URL缩短程序

Django框架,这是一个关于URL缩短器的高级项目,可以将任何给定的URL缩短为您选择的URL。缩短的URL可以作为指向所需网站的重定向链接。该系统的后端完全基于Django框架构建,前端则采用HTML和CSS。它具有与流行的Bit.ly或adf.ly URL缩短器类似的功能,可以执行所有任务,如将URL缩短代码自定义为您选择的代码,也可以对其进行编程,为缩短的URL生成随机slug。该应用程序还提供了一个管理面板,通过该面板可以控制所有缩短的网址及其重定向链接。这是一个具有高级功能的高级项目。管理账户:用户名:admin密码:admin

91.11KB34积分

简单的Django框架测验应用程序

Django框架,程序提供了添加任意数量的问题、在系统中注册用户和参加测验等功能。它还包含测验结束后的所有验证和评分系统。管理账户:用户名:admin密码:admin

500.74KB24积分

Django框架的音乐流媒体应用程序

这是一款高级音乐流媒体服务应用程序,用户可以登录系统,添加相册,并将歌曲添加到相册中。通过这样做,在系统上注册的其他用户也可以查看专辑并收听其中的所有歌曲。

45.13MB11积分