Re: Installed Django 4.1 but version is 2.2

2023-03-21 Thread Joao Frankmann
hat you > want. > > Regards, > > Andréas > > > Den tis 21 mars 2023 kl 11:41 skrev Joao Frankmann : > >> I've been using django for a while and today when starting a new project >> I noticed that when I run: >> django-admin startproject mysite >>

Installed Django 4.1 but version is 2.2

2023-03-21 Thread Joao Frankmann
I've been using django for a while and today when starting a new project I noticed that when I run: django-admin startproject mysite The settings.py generated file says: Generated by 'django-admin startproject' using Django 2.2.19 and the code is not the new one. I have projects written in d

Django admin only one group per user

2023-02-15 Thread Joao Frankmann
I am creating a customised Django Admin and I want to restrict users to be associated to no more than one group. I am using Django 4.1 and Python 3.11 admin.py: ``` from django.contrib import admin from typing import Set from django.contrib.auth.models import User from django.contrib.auth.admin

Re: Please help, I can't install django after a fresh installation of python 3.9 on windows 10

2021-03-19 Thread Joao Frankmann
How are you trying to install Django? Globaly? or on a Virtual Enviroment? Try to install on a Venv. Did you install python 3.9 in a new machine or did you have any previous versions installed on it? Try to remove any previous python version installed. Can you please post the errors here, so it