Soluții

Cum sa instalezi Django pe Ubuntu Linux

Introducere:

Django este un soft cadru pentru dezvoltarea aplicațiilor web gratuit și cu sursă deschisă, scris în Python, care urmează modelul arhitectural Model-View-Controller.

Pasul 1 – Instalare Python si Pip

Pentru a instala Python 3 folosim urmatoarea comanda:
sudo apt-get install python3

Apoi pentru instalarea Pip folosim:

sudo apt-get install python3-pip

Pasul 2 – Instalare Django

Folosim urmatoare comanda pentru instalarea Django

pip3 install Django

Pasul 3 – Creaza o aplicatie Django

Pentru a crea o aplicatie django folosim:

django-admin startproject django_app

apoi intram in proiect si migram schimbarile

cd django_app
python3 manage.py migrate

Pasul 4 – Creaza un Super User pentru aplicatie

python3 manage.py createsuperuser

Pasul 5 – Ruleaza aplicatia

Folosim urmatoarele comenzi pentru a rula serverul Django:

vim django_app/settings.py

ALLOWED_HOSTS = ['Ip-ul serverului']

python3 manage.py runserver 0.0.0.0:8000

[mai mult...]

Cum stergem definitiv fisierele de pe un HDD?

Cand stergem fisiere de pe un HDD acele fisiere nu se sterg fizic, doar sunt marcate ca si inaccesibile si spatiul pe care l-au ocupat ca liber. Fisierele raman recuperabile pana cand sistemul le suprascrie cu date noi, care poate dura o perioada lunga de timp. In schimb, pentru a sterge definit fisierele urmati pasii de mai jos:

[mai mult...]

Block Websites on Android Using a Security App

While you’re blocking unwanted websites, add an extra layer of protection and install a security app that provides safeguards against viruses, ransomware, and other malicious content. One of the more popular security apps is Mobile Security & Security from Trend Micro. With Mobile Security, you’re protected from malicious content, and you can block unwanted websites with parental controls. Other great Mobile Security features include:

  • Finding malware in apps before they get installed on your Android device.
  • Warning you if your personal information could be exposed by an app.
  • Taking a screenshot of unauthorized attempts to access your device.
  • Helping you find your phone if it gets lost.
  • Helping recover from a ransomware attack.
  • Wiping your device.
[mai mult...]

Credential Manager doesn’t work in W10

Credential Manager represents an inbuilt feature located within the Windows 10 internal system. This feature is used by Internet Explorer and by other web browsing clients in order to store your user names and passwords for various websites and accounts.

Now, during the lines from below we will be checking how to fix the problems that are related to the Credential Manager feature thus if you are dealing with malfunctions, don’t hesitate and read the following guidelines.

[mai mult...]