Re:Roles and Permissions in python Django

2023-04-01 Thread Daisi Caroline
Hello friends i am doing a django project and i am stack on roles and permissions.This is what i am supposed to do. I am supposed to do the roles and permissions. So I have done the roles but now permissions is the problem. For example the organisation admin and the local admin when logged into

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
I have a little update, but not a solution. Adding the database to sqlmigrate will give me the SQL command, but nothing more: python3 manage.py sqlmigrate ObjPLW2 0037 --database=db_obj_plw2 -- -- Create model Wartungsarbeit -- CREATE TABLE `ObjPLW2_wartungsarbeit` (`id` integer AUTO_INCREMENT

Re: Question re: input

2023-04-01 Thread Robin Riis
You can check out rabbitMQ if it can fit your needs. Theres a plugin in django that simplifies integration. On Sat, Apr 1, 2023, 19:06 o1bigtenor wrote: > On Sat, Apr 1, 2023 at 9:51 AM Robin Riis wrote: > > > > What kind of environment are we talking about? > > Me designed software - - -

Re: Question re: input

2023-04-01 Thread o1bigtenor
On Sat, Apr 1, 2023 at 9:51 AM Robin Riis wrote: > > What kind of environment are we talking about? Me designed software - - - physically challenging (possible outdoors, possible inclement conditions + ) > > But i guess you mean that you have a server in one location and multiple > clients

Re: Adding extra registration fields to my user registration

2023-04-01 Thread Marcelo Robin
you can create an application called profile where in its models you can place all the fields you need to add about the user. This video explains how you can do it. https://youtu.be/R8EHCohLvbw El jue, 30 mar 2023 a la(s) 00:08, Ebenezer Otchere (swazyman1...@gmail.com) escribió: > I want to

Re: Django-allauth & Facebook login

2023-04-01 Thread Namanya Daniel
Follow the following link, it shows you how to create a custom ssl certificate and how to run ssl server https://medium.com/@millienakiganda/creating-an-ssl-certificate-for-localhost-in-django-framework-45290d905b88 On Sat, 1 Apr 2023 at 15:32, Marcelo A. Robin wrote: > Hi, I'm trying to use

Re: Question re: input

2023-04-01 Thread Robin Riis
What kind of environment are we talking about? But i guess you mean that you have a server in one location and multiple clients from diffrent locations that should be able to upload some kind of data to the server. SSH is great to connect to a remote machine in a secure manner. And scp to send

Question re: input

2023-04-01 Thread o1bigtenor
Greetings I am in the porcess of planning out a complicated environment. User will almost always be remote. How does one easily get information 'into' the environment? (Not sure these are the right questions but 1. Does one have to be connected to the environment 2. Does the complete form have

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
Dear Muhammad Thanks, but I did that several times. And I also check the INSTALLED_APPS. It is listed there, as it was before. :/ Best regards Martin On Saturday, April 1, 2023 at 2:48:05 PM UTC+2 Muhammad Juwaini Abdul Rahman wrote: > Try running: > ``` > ./manage.py makemigrations > ``` >

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
Dear Jason Thanks for your reply. I will gladly do that. This is the latest migration file: # Generated by Django 3.2.10 on 2023-04-01 13:45 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('ObjPLW2',

Re: Migration running in shell, but no change in DB

2023-04-01 Thread Muhammad Juwaini Abdul Rahman
Try running: ``` ./manage.py makemigrations ``` If there are no changes detected by makemigrations, something wrong with your app. Check INSTALLED_APPS in settings.py for any error. On Friday, 31 March 2023 at 22:17:06 UTC+8 Martin Heitmann wrote: > Hello everyone > > I have a project with

Django-allauth & Facebook login

2023-04-01 Thread Marcelo A. Robin
Hi, I'm trying to use django-allauth to create a facebook login system. i managed to get it all done but in my local test i get an error where facebook tells me my app path is not safe. I understand that my http://localhost is missing the https://localhost. this is so ? How can I add https

Re: Migration running in shell, but no change in DB

2023-04-01 Thread Jason
part of getting effective help is sharing how you're doing things and the code. for example, sharing the migration generated would be helpful. you do have the context of how and what is being executed, we don't, so sharing that with your original questions is a big part in getting effective

Re: Debug error when c

2023-04-01 Thread Alen Zuvic
pet, 31. ožu 2023. 07:23 Usra Saeed je napisao: > Hi, are you installing django on Visual Studio and during this > installation you got this error? > > On Thu, 30 Mar 2023, 10:48 pm Ricky Abura, wrote: > >> Hi, >> I am learning django, in the process of developing youtube clone, I meet >> the

Re: Debug error when c

2023-04-01 Thread Prosper Lekia
Remove the second urlpattern, and add the debug_toolbar path to the first urlpattern. Try running makemigrations and migrate after installing the debug_toolbar. On Thursday, March 30, 2023 at 6:48:51 PM UTC+1 Ricky Abura wrote: > Hi, > I am learning django, in the process of developing youtube

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
The migrations do not show up in the django_mirations table. The problem must occur earlier. On Saturday, April 1, 2023 at 8:42:20 AM UTC+2 David Nugent wrote: > I would check in the django_migrations table to ensure that the migration > has successfully been run. > > > > From: 'Martin

Re: Migration running in shell, but no change in DB

2023-04-01 Thread David Nugent
I would check in the django_migrations table to ensure that the migration has successfully been run. From: 'Martin Heitmann' via Django users Reply: django-users@googlegroups.com Date: 31 March 2023 at 19:46:02 To: Django users Subject: Migration running in shell, but no change in DB