DjangoHtmlFiller-1.0.4
توضیحات
This code is for those who are tired of inserting {% static ' ' %} in every href,src links in html files while creating a Django project.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | DjangoHtmlFiller-1.0.4 |
| نام | DjangoHtmlFiller |
| نسخه کتابخانه | 1.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jay Shukla |
| ایمیل نویسنده | jayshukla0034@gmail.com |
| آدرس صفحه اصلی | https://github.com/Jay206-Programmer/DjangoHtmlFiller |
| آدرس اینترنتی | https://pypi.org/project/DjangoHtmlFiller/ |
| مجوز | MIT |
# DjangoHtmlFiller
This code is for those who are tired of inserting `{% static ' ' %}` in every **href,src** links in __*html*__ files while creating a __*Django project*__. :sassy_man:
_From this:_

_To this:_

## Purpose:
- The Main puspose of this code is to **save hours of work** by **_automatically_** scanning through & updating all the _html_ files in the given folder.
- It will store all the _updated files_ in a __seperate folder__ in the same directory **_without_ harming** the _original files_.
- You can **_examine & finalize_** all the changes and then __`cut+paste`__ those files in place of _original files_ later on.
- You **_won't lose_** any of _your files_.
- This code is _properly tested_ & works **_100%_** of the time. :heavy_check_mark:
## Requirements:
- Python 3
## How To Use:
#### 1. Through Github:
Steps:
1. __Clone__ [this repository](https://github.com/Jay206-Programmer/DjangoHtmlFiller) **anywhere** in your pc. (**No need** to clone in your _Django project_ folder!)
2. Now do __`cd (Cloned Directory path)/DjangoHtmlFiller/OsScrawler.py`__ and then _run_ __`OsScrawler.py`__ program.

3. Now the _program_ will ask for the _**folder**_ in which all your _**html/htm** files_ are stored. In this _example_ all of _Django Project's **html** files_ are stored in _**templates** folder_.

- You can give _the program **full path**_ of that **folder** (**_all_** the **html** files within that _folder_ will be **_scanned_**) _or_ you can _**directly**_ give the _path_ of the *__html__ file* you want to _scan & update_ (_**only**_ _that file_ will be _scanned_).
- In this case I am _giving path_ of the **templates** folder in which _all_ of the _**html**_ files are stored.

- The _program_ will _scan through_ given _**html** file(s)_ & will save converted outputs in _**Formatter_Generated_Files** folder_ in the **same** _directory_.


- Now just **replace** this _**files**_ in place of the _**original files**_ & you are _**Done!**_ :+1: :smile:
You can _run_ this program **_multiple_** times for the _same folder_ & it **_won't affect_** the _already **converted** files_.
#### Warning:
- You **CAN'T** have **more than one** _href/src_ links in the _same line_ (_super rare case_). In this case the code will _**only formate left most link**_ & you will have to _**manually** formate_ the _other one_.
If you have any **_query_** regarding this _programe_ you can drop a _message_ at **`jayshukla0034@gmail.com`** or at [Instagram](https://www.instagram.com/jay_shukla_20_06/?hl=en).
**Enjoy!** :smile:
نحوه نصب
نصب پکیج whl DjangoHtmlFiller-1.0.4:
pip install DjangoHtmlFiller-1.0.4.whl
نصب پکیج tar.gz DjangoHtmlFiller-1.0.4:
pip install DjangoHtmlFiller-1.0.4.tar.gz