Skip to content

Tag: django

Can’t seem to setup my Django project properly

I was trying the official tutorial of Django because I want to learn it. I run Archlinux 4.10.11-1 64 bits. First, I created a folder named djangoapp where I set my virtual environment: $ virtualenv djangoapp I set my current directory to this folder, and then I activated it: $ source bin/activate And I insta…

UWSGI https configuration for ubuntu

I have django app that is running using the following uwsgi configuration in redhat 7.3: However, when I run it on Ubuntu 16.04.1 LTS, I got the following error: Does the error means that uwsgi fail to bind the port? Is there a special way of using “shared-socket” in ubuntu? I need to have this ru…

Get the size of a folder in Linux server

While the following code works well in windows, in Linux server (of pythonanywhere) the function only returns 0, without errors. What am I missing? Ref: Code from https://stackoverflow.com/a/37367965/6546440 Answer The solution was given by @gilen-tomas in the comments: A complete path is needed!

improperly configured at /accounts/login/

In order to simulate sdn networks i downloaded the mini net 64 bit version and imported it in vmware Workstation pro 12 and through github all the project related stuff have been installed but the thing is when i wanna run it i encounter an error , do you think it’s because of the mysql not being config…