معرفی شرکت ها


DjangoHtmlFiller-1.0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

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:_ ![Normal Html](https://raw.githubusercontent.com/Jay206-Programmer/DjangoHtmlFiller/master/Images/Normal.png) _To this:_ ![Formatted for Django](https://raw.githubusercontent.com/Jay206-Programmer/DjangoHtmlFiller/master/Images/AfterExec.png) ## 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. ![Run Code](https://raw.githubusercontent.com/Jay206-Programmer/DjangoHtmlFiller/master/Images/Run.png) 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_. ![Assets Folder](https://raw.githubusercontent.com/Jay206-Programmer/DjangoHtmlFiller/master/Images/Folder.png) - 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. ![Give Full Path](https://raw.githubusercontent.com/Jay206-Programmer/DjangoHtmlFiller/master/Images/GivingFilePath.png) - The _program_ will _scan through_ given _**html** file(s)_ & will save converted outputs in _**Formatter_Generated_Files** folder_ in the **same** _directory_. ![program Execution](https://raw.githubusercontent.com/Jay206-Programmer/DjangoHtmlFiller/master/Images/Execution.png) ![Run Code](https://raw.githubusercontent.com/Jay206-Programmer/DjangoHtmlFiller/master/Images/NewFolder.png) - 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