# Is it possible to import html template in pycharm and django?

**URL:** <https://forum.djangoproject.com/t/is-it-possible-to-import-html-template-in-pycharm-and-django/33054>\
**Category:** Getting Started\
**Created:** [July 17, 2024, 5:23pm UTC](https://forum.djangoproject.com/t/is-it-possible-to-import-html-template-in-pycharm-and-django/33054 "2024-07-17T17:23:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tihobg](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/tihobg/32/22593_2.png) [@tihobg](https://forum.djangoproject.com/u/tihobg)\
**Post date:** [July 17, 2024, 5:23pm UTC](https://forum.djangoproject.com/t/is-it-possible-to-import-html-template-in-pycharm-and-django/33054/1 "2024-07-17T17:23:33Z")

</div>

Hi,

I tried to import all files of one website in pycharm. The goal is that I want to create a module with database access, making a correlation analysis with django and connecting this new module with this website.  
After starting the server I received many errors. You can see some of them opening the image attached to this post. I have to edit the file paths at the beginning. Is it possible to do that or not using Pycharm?

 ![IMG_20240717_200813_edit_512606771582195](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/9/d/9dbed53216e5ea1ce56744dd542df5ed839d7904.jpeg)

Here on this picture you can see the webpage opened through pycharm

 ![IMG_20240717_201953_edit_513330082825314](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/5/9/5921eb6d68776e832dd4940481c1cdcfd31aba07.jpeg)

Here you can see the original website

 ![IMG_20240717_202017_edit_513313309021671](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/b/9/b950e9203f30c2723a71cf57ca7665c34bf5fc93.jpeg)

---

<div class="post-metadata">

**Author:** ![white-seolpyo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/white-seolpyo/32/22386_2.png) [@white-seolpyo](https://forum.djangoproject.com/u/white-seolpyo)\
**Post date:** [July 18, 2024, 12:04am UTC](https://forum.djangoproject.com/t/is-it-possible-to-import-html-template-in-pycharm-and-django/33054/2 "2024-07-18T00:04:45Z")

</div>

django support make models.py from database.

> **[How to integrate Django with a legacy database | Django documentation](https://docs.djangoproject.com/en/5.0/howto/legacy-databases/#auto-generate-the-models)**
>
> The web framework for perfectionists with deadlines.
