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

2023-04-02 Thread 'Martin Heitmann' via Django users
A little PS: I logged in via phpmyadmin and saw that my user has all privileges. So this should not be the source of the problem. On Saturday, April 1, 2023 at 8:07:57 PM UTC+2 Martin Heitmann wrote: > I have a little update, but not a solution. Adding the database to > sqlmigrate will give me

Re: Building a modular app?

2023-04-02 Thread Sebastian Jung
Hello, I would use database replication where tables are sync between 2 databases... Regards 'Simon Connah' via Django users schrieb am So., 2. Apr. 2023, 16:26: > Hi, > > I want to make a blogging platform and have a question about organising > the project. > > With my blog, I'll have the blo

PAGE INDEX HTML

2023-04-02 Thread REMY TOUITOU
Hello could someone help me to make appear the index html page in the application main? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsu

Re: I am struggling with calling consumer.py function from views to consumer in django here ismy code. Please help me. I am calling Asyncwebsocketconsumer

2023-04-02 Thread MOHAMED SABEEH VADAKKATH VALAPPIL
can you provide more details about the specific issues you are facing when trying to call this method? Are you getting any error messages, or is the function simply not being called? Any additional information you can provide will help me better understand your problem. I am providing you with

Re: Error: name 'include' is not defined

2023-04-02 Thread Larry Stevens
Perfect, thank you Larry Stevens (571) 289-7658 On Wed, Mar 22, 2023 at 9:49 AM Harouna Diallo wrote: > You must Import include : from django.urls import path, include > > On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens > wrote: > >> Hello, >> >> I'm brand new to Django taking an online course

I am struggling with calling consumer.py function from views to consumer in django here ismy code. Please help me. I am calling Asyncwebsocketconsumer

2023-04-02 Thread 'Sneha Vishwakarma' via Django users
from channels.generic.websocket import AsyncWebsocketConsumer import json class MyConsumer(AsyncWebsocketConsumer): async def connect(self): self.room_group_name = 'kafka' # Join room group await self.channel_layer.group_add( self.room_group_name,

Re: Adding extra registration fields to my user registration

2023-04-02 Thread Clement Idemudo
there're two possible reasons for this: * you don't have those filled in your forms.py module or * your forms filled is not of the same case (upper or lower) with your request.Post[ ] query. but next time, try and add screenshot while asking question, its gives whoever that is responding more in

Building a modular app?

2023-04-02 Thread 'Simon Connah' via Django users
Hi, I want to make a blogging platform and have a question about organising the project. With my blog, I'll have the blog in one Django app and then have something like a forum in another app, along with additional functions in other apps. Also, I'd like to have a single-user system that uses

Re: Roles and Permissions in python Django

2023-04-02 Thread Muhammed Lawal
Can you provide your Views code? By the way, if you are using DRF, you can use the "permission classes" or "permission decorators". Best regards. On Sat, 1 Apr 2023, 7:53 p.m. Daisi Caroline, wrote: > Hello friends i am doing a django project and i am stack on roles and > permissions.This is wha