Skip to main content

Posts

Showing posts with the label Django

The AI Didn’t Know the Port. I Didn’t Want to Hurt Its Feelings

I was excited to finally have a new side project to work on, and naturally, I wanted to vibe code. So I fired up Cursor.  For the rest of this post, I’m going to refer to Cursor as “him”, because it genuinely felt like I was pair-programming with a very confident senior software engineer — the kind who types extremely fast and never doubts his decisions.  The Design   I asked ChatGPT to create designs for:  The home page User dashboard  Login page  Forgot password page  Sign-up page  I provided the theme colors and a one-line idea for the project.  ChatGPT’s first response was… an HTML file with all the styles embedded inside it. Not exactly what I had in mind. Since I didn’t want just code, I politely asked it to generate actual design images instead. After a few iterations, I was able to finalize the UI and download both the HTML and styles. This was a surprisingly interesting experience for me. In the past, when I had an idea for ...

Installing Django on IIS 7 Using PyISAPIe

PyISAPIe is an ISAPI extension which can be downlod from here . Download the latest extension according to installed python version. Just make sure that ISAPI and ISAPI filters has been installed on IIS (During IIS installation these two component should have checked). Copy PyISAPIe.dll file and Http folder into your Django website project.Example: Suppose your website folder path is: "C:\Python25\Lib\site-packages\MySite" "C:\Python25\Lib\site-packages\MySite\PyISAPIe.dll" and "C:\Python25\Lib\site-packages\MySite\Http" will be the result. Copy and replace the isap.py from "PyISAPIe\Examples\Django" folder to "C:\Python25\Lib\site-packages\MySite\Http" IIS need to have access to your project folder and also django folder. so you need to give access "Network Service" to these folder. Right click on site folder "C:\Python25\Lib\site-packages\MySite"  click on properties. On properties window choose the sec...