Re: migrations: "no changes detected"

2022-02-08 Thread ramadhan ngallen
Share project structure as an image and details project settings(settings.py)
On 9 Feb 2022, 07:05 +0300, 'Delvin Alexander' via Django users 
, wrote:
> there is! but will this have something to do with it?
> - "from django.contrib.auth.models import User"
> Rite now the error is displaying this:
> - Requested setting INSTALLED_APPS, but settings are not configured. You must 
> either define the environment variable DJANGO_SETTINGS_MODULE or call 
> settings.configure() before accessing settings.
> On Tue, Feb 8, 2022 at 7:32 PM ramadhan ngallen  wrote:
> > On your app(blog) on the module(folder) migrations,   make sure there is a 
> > file named   __init__.py
> >
> >
> > You can share app structure too
> > On 9 Feb 2022, 06:26 +0300, 'Delvin Alexander' via Django users 
> > , wrote:
> > > here is a list of my installed apps:
> > >
> > > i added the blog.apps but still nothing.
> > >
> > >
> > > INSTALLED_APPS = [    'blog.apps.BlogConfig',    'django.contrib.admin',  
> > >   'django.contrib.auth',    'django.contrib.contenttypes',    
> > > 'django.contrib.sessions',    'django.contrib.messages',    
> > > 'django.contrib.staticfiles',
> > >
> > > On Mon, Feb 7, 2022 at 9:37 PM RANGA BHARATH JINKA 
> > >  wrote:
> > > > Hi,
> > > >
> > > > I think you forgot to add the app name in settings file. Please add the 
> > > > app names in installed apps. Then it will find out the models.
> > > >
> > > > All the best
> > > >
> > > >
> > > > On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, 
> > > >  wrote:
> > > > > I am trying to run migrations so that i can create a table, but when 
> > > > > I type out, "python manage.py makemigrations"
> > > > > it returns this: "no changes detected"
> > > > >
> > > > > would anyone know the reason for this?
> > > > >  --
> > > > > 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+unsubscr...@googlegroups.com.
> > > > > To view this discussion on the web visit 
> > > > > https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com.
> > > >  --
> > > > 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+unsubscr...@googlegroups.com.
> > > > To view this discussion on the web visit 
> > > > https://groups.google.com/d/msgid/django-users/CAK5m314skg-HBhQx25mxzg4rHEp8-5jZEX8%2BT9Kr8uDHv-bR5A%40mail.gmail.com.
> > >  --
> > > 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+unsubscr...@googlegroups.com.
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/django-users/CADq-sifxMbkc%3DyZdXOw_RUwBq8QiKLUU_TY9RaC9ZfSytSq1%2BA%40mail.gmail.com.
> >  --
> > 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+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/django-users/d8834a19-4ff1-48e2-b101-046f9b9f0814%40Spark.
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CADq-sicjbjRUs%3DrCpnf7xX79NZ55mEdEWTd8ixv%3D4%2BURoSuh%2Bg%40mail.gmail.com.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/01b0e25c-4b3c-470d-a594-b2ad2b26ee25%40Spark.


Re: migrations: "no changes detected"

2022-02-08 Thread ramadhan ngallen
Your apps should be below django default apps
I.e below static files


On users you can

from django.contrib.auth import get_user_model

Then initiate it as

User = get_user_model()

To use it
E.g

my_users = User.objects.all()
On 9 Feb 2022, 07:05 +0300, 'Delvin Alexander' via Django users 
, wrote:
> there is! but will this have something to do with it?
> - "from django.contrib.auth.models import User"
> Rite now the error is displaying this:
> - Requested setting INSTALLED_APPS, but settings are not configured. You must 
> either define the environment variable DJANGO_SETTINGS_MODULE or call 
> settings.configure() before accessing settings.
> On Tue, Feb 8, 2022 at 7:32 PM ramadhan ngallen  wrote:
> > On your app(blog) on the module(folder) migrations,   make sure there is a 
> > file named   __init__.py
> >
> >
> > You can share app structure too
> > On 9 Feb 2022, 06:26 +0300, 'Delvin Alexander' via Django users 
> > , wrote:
> > > here is a list of my installed apps:
> > >
> > > i added the blog.apps but still nothing.
> > >
> > >
> > > INSTALLED_APPS = [    'blog.apps.BlogConfig',    'django.contrib.admin',  
> > >   'django.contrib.auth',    'django.contrib.contenttypes',    
> > > 'django.contrib.sessions',    'django.contrib.messages',    
> > > 'django.contrib.staticfiles',
> > >
> > > On Mon, Feb 7, 2022 at 9:37 PM RANGA BHARATH JINKA 
> > >  wrote:
> > > > Hi,
> > > >
> > > > I think you forgot to add the app name in settings file. Please add the 
> > > > app names in installed apps. Then it will find out the models.
> > > >
> > > > All the best
> > > >
> > > >
> > > > On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, 
> > > >  wrote:
> > > > > I am trying to run migrations so that i can create a table, but when 
> > > > > I type out, "python manage.py makemigrations"
> > > > > it returns this: "no changes detected"
> > > > >
> > > > > would anyone know the reason for this?
> > > > >  --
> > > > > 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+unsubscr...@googlegroups.com.
> > > > > To view this discussion on the web visit 
> > > > > https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com.
> > > >  --
> > > > 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+unsubscr...@googlegroups.com.
> > > > To view this discussion on the web visit 
> > > > https://groups.google.com/d/msgid/django-users/CAK5m314skg-HBhQx25mxzg4rHEp8-5jZEX8%2BT9Kr8uDHv-bR5A%40mail.gmail.com.
> > >  --
> > > 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+unsubscr...@googlegroups.com.
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/django-users/CADq-sifxMbkc%3DyZdXOw_RUwBq8QiKLUU_TY9RaC9ZfSytSq1%2BA%40mail.gmail.com.
> >  --
> > 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+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/django-users/d8834a19-4ff1-48e2-b101-046f9b9f0814%40Spark.
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CADq-sicjbjRUs%3DrCpnf7xX79NZ55mEdEWTd8ixv%3D4%2BURoSuh%2Bg%40mail.gmail.com.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dffe972f-9ab3-451e-99c4-90b3c5b1f406%40Spark.


Re: migrations: "no changes detected"

2022-02-08 Thread 'Delvin Alexander' via Django users
there is! but will this have something to do with it?
- "from django.contrib.auth.models import User"

Rite now the error is displaying this:
- Requested setting INSTALLED_APPS, but settings are not configured. You
must either define the environment variable DJANGO_SETTINGS_MODULE or call
settings.configure() before accessing settings.

On Tue, Feb 8, 2022 at 7:32 PM ramadhan ngallen  wrote:

> On your app(blog) on the module(folder) migrations,   make sure there is a
> file named   __init__.py
>
>
> You can share app structure too
> On 9 Feb 2022, 06:26 +0300, 'Delvin Alexander' via Django users <
> django-users@googlegroups.com>, wrote:
>
> here is a list of my installed apps:
>
> i added the blog.apps but still nothing.
>
>
> INSTALLED_APPS = ['blog.apps.BlogConfig','django.contrib.admin',
>  'django.contrib.auth','django.contrib.contenttypes',
> 'django.contrib.sessions','django.contrib.messages',
> 'django.contrib.staticfiles',
>
>
> On Mon, Feb 7, 2022 at 9:37 PM RANGA BHARATH JINKA <
> bharathjink...@gmail.com > wrote:
>
> Hi,
>
> I think you forgot to add the app name in settings file. Please add the
> app names in installed apps. Then it will find out the models.
>
> All the best
>
>
> On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, <
> django-users@googlegroups.com
> > wrote:
>
> I am trying to run migrations so that i can create a table, but when I
> type out, "python manage.py makemigrations"
> it returns this: "no changes detected"
>
> would anyone know the reason for this?
>  --
> 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+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com
> 
> .
>
>  --
> 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+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAK5m314skg-HBhQx25mxzg4rHEp8-5jZEX8%2BT9Kr8uDHv-bR5A%40mail.gmail.com
> 
> .
>
>  --
> 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+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADq-sifxMbkc%3DyZdXOw_RUwBq8QiKLUU_TY9RaC9ZfSytSq1%2BA%40mail.gmail.com
> 
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d8834a19-4ff1-48e2-b101-046f9b9f0814%40Spark
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADq-sicjbjRUs%3DrCpnf7xX79NZ55mEdEWTd8ixv%3D4%2BURoSuh%2Bg%40mail.gmail.com.


Re: migrations: "no changes detected"

2022-02-08 Thread ramadhan ngallen
On your app(blog) on the module(folder) migrations,   make sure there is a file 
named   __init__.py


You can share app structure too
On 9 Feb 2022, 06:26 +0300, 'Delvin Alexander' via Django users 
, wrote:
> here is a list of my installed apps:
>
> i added the blog.apps but still nothing.
>
>
> INSTALLED_APPS = [    'blog.apps.BlogConfig',    'django.contrib.admin',    
> 'django.contrib.auth',    'django.contrib.contenttypes',    
> 'django.contrib.sessions',    'django.contrib.messages',    
> 'django.contrib.staticfiles',
>
>
> On Mon, Feb 7, 2022 at 9:37 PM RANGA BHARATH JINKA  
> wrote:
> > Hi,
> >
> > I think you forgot to add the app name in settings file. Please add the app 
> > names in installed apps. Then it will find out the models.
> >
> > All the best
> >
> >
> > On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, 
> >  wrote:
> > > I am trying to run migrations so that i can create a table, but when I 
> > > type out, "python manage.py makemigrations"
> > > it returns this: "no changes detected"
> > >
> > > would anyone know the reason for this?
> > >  --
> > > 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+unsubscr...@googlegroups.com.
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com.
> >  --
> > 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+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/django-users/CAK5m314skg-HBhQx25mxzg4rHEp8-5jZEX8%2BT9Kr8uDHv-bR5A%40mail.gmail.com.
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CADq-sifxMbkc%3DyZdXOw_RUwBq8QiKLUU_TY9RaC9ZfSytSq1%2BA%40mail.gmail.com.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d8834a19-4ff1-48e2-b101-046f9b9f0814%40Spark.


Re: migrations: "no changes detected"

2022-02-08 Thread 'Delvin Alexander' via Django users
here is a list of my installed apps:

i added the blog.apps but still nothing.


INSTALLED_APPS = [
'blog.apps.BlogConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',



On Mon, Feb 7, 2022 at 9:37 PM RANGA BHARATH JINKA 
wrote:

> Hi,
>
> I think you forgot to add the app name in settings file. Please add the
> app names in installed apps. Then it will find out the models.
>
> All the best
>
>
> On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, <
> django-users@googlegroups.com> wrote:
>
>> I am trying to run migrations so that i can create a table, but when I
>> type out, "python manage.py makemigrations"
>> it returns this: "no changes detected"
>>
>> would anyone know the reason for this?
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAK5m314skg-HBhQx25mxzg4rHEp8-5jZEX8%2BT9Kr8uDHv-bR5A%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADq-sifxMbkc%3DyZdXOw_RUwBq8QiKLUU_TY9RaC9ZfSytSq1%2BA%40mail.gmail.com.


Re: Looking for Team Member to Build a Web Application

2022-02-08 Thread Eliseu Barreira
Hi,

Have you got any prototype for the front-end?

What framework you will prefer for connecting the front-end? May be React???

Thanks
Eliferbit

On Tue, 8 Feb 2022, 15:12 Wilford Chidawanyika, 
wrote:

> Good day All,
>
> i am looking for a coding buddy to build an webapp using Django.
>
> i have crated the back end and models , now i need to create views and
> edit the CSS and add a logo on the site
>
> If you are interested you can whatsapp me +27 66 3838 041
>
>
> with thanks
>
> Wilford
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3b408c28-ba99-41de-81a2-142f6a25242cn%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHJpDthfYE0oud532DKJKr%3DLGNm4sg7Oik0f9OhkBnCxhJqqPQ%40mail.gmail.com.


Re: Slow page load performance with a large number of formsets (over 25)

2022-02-08 Thread Steven Smith

What is hard reload?
On Monday, February 7, 2022 at 12:43:08 PM UTC-6 abdouli...@gmail.com wrote:

> Try hard reload it's little bit faster
>
> On Mon, Feb 7, 2022, 18:12 Steven Smith  wrote:
>
>> Did this issue ever get resolved?  I'm experiencing the same thing.  Once 
>> it hits 100 forms or so it gets pretty slow.
>>
>> On Monday, September 22, 2014 at 10:48:52 AM UTC-5 Collin Anderson wrote:
>>
>>> Yes, if you want speed, using javascript and ajax is probably your best 
>>> bet. It will probably also reduce merge-conflicts.
>>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/48609393-cb83-4eea-845b-d353e41af1e7n%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/65b3ee86-64bb-4f64-894a-76fd62079097n%40googlegroups.com.


Re: Media Files - local network share

2022-02-08 Thread Swelan Auguste
Thanks for the suggestion.

I tried it but it ended up in the app base directory.

Can you help me out?

On Mon, Feb 7, 2022, 12:03 PM Jiffin George Kokkat 
wrote:

> Hi,
>
> Mount shared network path to media folder of the Django.
>
> https://stackoverflow.com/questions/52825610/django-media-root-pointed-to-network-drive
>
> this may help
>
> Thanks,
> Jiffin George Kokkat
>
>
> On Mon, Feb 7, 2022 at 7:41 PM Litesh Garg  wrote:
>
>> Hi,
>>
>> You can use django storages, particularly ftp or sftp modules for storage
>> and then use nginx to server these files.
>> You can go through documentation here.
>> https://django-storages.readthedocs.io/en/latest/backends/ftp.html
>>
>> On Mon, Feb 7, 2022 at 7:05 AM Swelan Auguste 
>> wrote:
>>
>>> Good day,
>>>
>>> Thanks. I was more looking for a local solutions (within a closed
>>> network)
>>>
>>> Kindly,
>>>
>>> Swelan R. Auguste (Mr.)
>>> KingShip
>>> Technical Information Officer
>>> 758-489-3909
>>> Webpage 
>>>
>>>
>>>
>>> On Sun, Feb 6, 2022 at 9:19 PM Yeboah Dominic 
>>> wrote:
>>>
 You can try dropbox that is what I used to serve my media files in
 django

 On Sun, 6 Feb 2022 at 20:07, Swelan Auguste 
 wrote:

>
> Good day all,
>
>
> I am trying to figure out how to attach a Django app to a local
> network server/share.
>
> I do not want to host the media files on the same server so that the
> server doesn't run out of space and I can and I can grow my media file 
> host
> share/server as it grows.
> Kindly,
>
> Swelan R. Auguste (Mr.)
> KingShip
> Technical Information Officer
> 758-489-3909
> Webpage 
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKj-cedrdvqRmGZ29cMNsk0%2BypXy5fRzRsMx%3DziiPpVr1JOHfA%40mail.gmail.com
> 
> .
>
 --
 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+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAPVAacjQwHJ2kUSWhB3FZTTw2c03RMcbiNyP1cpDcvXbGhaKzw%40mail.gmail.com
 
 .

>>> --
>>> 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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAKj-ceeHSV2GE8Px5bTph5pS_bvW2WNhUKMZV_aiWreU%3D4wmkQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CADA6A2FJmeGC9hxyJ7JAYeK%3Df%2Bh40JjCnFLZxU65Ycp6R6%3DqfQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJ1rugfa5YotE1VLpzwi2t77puWkERU%2Bieg4gzoxSRqOovyVYg%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Re: migrations: "no changes detected"

2022-02-08 Thread Yeboah Dominic
I think this has to be like you are trying to add some model whose field is
not recognizable I have the same issue when using geodjango.
If you delete the DB.sqlite3 sometimes it won't work or even deleting the
migrations won't also work.
If that happens just run,
1. python manage.py makeigrations
2. python manage.py sqlmigrate app_name, 0001_initial

this will generate the schemas of the app models just copy the model you
want schemas and open your SQLite DB browser if you don't have you can
download one if you are using Postgres or any DB just open it and paste the
schema there to create that new schema in your DB for you then you are done.

On Tue, 8 Feb 2022 at 10:14, Feroz Ahmed  wrote:

> checkout u not forgot to add app in installed app in settings.py
>
> if still the issue , forward your settings.py
>
>
>
> best practice , try to solve the issue from current configuration
>
>
>
> Regards
>
>
>
> *From:* 'Delvin Alexander' via Django users [mailto:
> django-users@googlegroups.com]
> *Sent:* 08 February 2022 10:12
> *To:* Django users
> *Subject:* migrations: "no changes detected"
>
>
>
> I am trying to run migrations so that i can create a table, but when I
> type out, "python manage.py makemigrations"
>
> it returns this: "no changes detected"
>
>
>
> would anyone know the reason for this?
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com
> 
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/62028856.1c69fb81.7aa2d.a900%40mx.google.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPVAachsTeOZvsC6%2BtqjYNt2mbBjCiW%3D%2B%3DJ4mgL6TbrKDBqYdg%40mail.gmail.com.


Django versus competitors survey

2022-02-08 Thread Michael Powell
Hello,

I am engaged in a web site development effort, and I think the core tech 
has got to be a CMS of some sort. I am coming from a 'pure' soft. dev. 
background, if you will, including 'web sites', API, etc, but re: Django, I 
am trying to gauge 'ecosystem' if you will and interested to hear from 
peers among the community thoughts, as compared/contrasted with competitors 
such as WordPress, Orchard Core, etc.

Maturity of Django as compared/contrasted with competitors. For instance, I 
understand that possibly 'theming' is something that was only just 
introduced to Django in recent versions? 7, 8, 9, 10? Something like that. 
Only now? Seems like 'others' have been able to do that for some time now?

Marketshare concerns. How much of a market share, adoption level is there 
with Django versus others?

Technical questions primarily stemming from the nature of the Python 
runtime, being that it is effectively single processor, single threaded. Is 
that ever a concern? Versus others who support asynchronous and so forth.

>From a workflow perspective, ability to support 'development' inner and 
outer loops, what to treat as 'source code', pushing updates to different 
servers, testing, staging, production, etc. Can any of that be captured to 
a git repository, for instance, or is it all a function of the backend 
database upon which Django, or its competitors, is built?

Backend (or client side) integrations, because client side and/or backend 
integration is a possibility, support for calling into dotnet core, for 
instance, because it is 'what I know', or others, perhaps even C/C++ native 
backend processing, etc. Realizing some of that is probably a hosting 
issue, whether we are multi-tenant, dedicated server, etc.

It's a work in process, so please forgive the throwing of mud on the wall. 
No formal decisions have been made yet, this is exploratory on my part at 
the moment.

Thanks so much., best regards,

Michael W. Powell

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/75e7db90-f305-425a-8a71-0689ac25683en%40googlegroups.com.


RE: migrations: "no changes detected"

2022-02-08 Thread Feroz Ahmed
checkout u not forgot to add app in installed app in settings.py

if still the issue , forward your settings.py

 

best practice , try to solve the issue from current configuration

 

Regards

 

From: 'Delvin Alexander' via Django users 
[mailto:django-users@googlegroups.com] 
Sent: 08 February 2022 10:12
To: Django users
Subject: migrations: "no changes detected"

 

I am trying to run migrations so that i can create a table, but when I type 
out, "python manage.py makemigrations"

it returns this: "no changes detected"

 

would anyone know the reason for this?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com
 

 .

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/62028856.1c69fb81.7aa2d.a900%40mx.google.com.


Re: How to retrieve the values of environment variables in cpanel?

2022-02-08 Thread Walter Randazzo
Hi Imad,

Thanks very much for your help.

Ill try that in the next few days also Ill let u know how it goes.

Thanks bro!




El mar, 8 feb 2022 a las 11:10, imad latch () escribió:

> I think you will have limited abilities without terminal but you can try
> it anyway .
> check this
> https://docs.cpanel.net/cpanel/software/application-manager/82/#add-environment-variables
>
> and for *passenger_wsgi.py* in your /home/user/django-project/
>
> import sys, os
> INTERP = "/home/user/django-project/django-env/bin/python3"
> if sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.argv)
>
> from  project.wsgi import application
>
> I hope this helps
>
> On Tuesday, February 8, 2022 at 2:29:00 AM UTC+1 wwran...@gmail.com wrote:
>
>> Hi there, good night.
>>
>> Does anybody know how to set up environment variables in a cpanel shared
>> hosting?
>>
>> I've found the way to declare the variable name and the value through the
>> "Setup Python App" section, but  I didn't find the way to retrieve the
>> value in the settings file.
>>
>> Please note that cpanel has no terminal.
>>
>> Thanks in advance,
>>
>>
>>
>> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/7291e6c0-98bc-4d64-8f42-a173f4e8aa0an%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL7Dry5%3DugpSaoPL5S4ptz%3D9VCfvVA0jbKLT7naWQ_pxvXq2Lw%40mail.gmail.com.


Looking for Team Member to Build a Web Application

2022-02-08 Thread Wilford Chidawanyika
Good day All,

i am looking for a coding buddy to build an webapp using Django.

i have crated the back end and models , now i need to create views and edit 
the CSS and add a logo on the site

If you are interested you can whatsapp me +27 66 3838 041


with thanks

Wilford

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3b408c28-ba99-41de-81a2-142f6a25242cn%40googlegroups.com.


Re: migrations: "no changes detected"

2022-02-08 Thread Fajri Fath
You must delete your folder migrations in your app.

Example:

rm -rf myapplication/migrations

And

rm db.sqlite3

and run

python manage.py makemigrations

Pada tanggal Sel, 8 Feb 2022 11.43 AM, 'Delvin Alexander' via Django users <
django-users@googlegroups.com> menulis:

> I am trying to run migrations so that i can create a table, but when I
> type out, "python manage.py makemigrations"
> it returns this: "no changes detected"
>
> would anyone know the reason for this?
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/639770ea-db24-469a-a123-6f4cb2af3036n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHKnc1wvKMjx%2BGMV4bzQ_E%2BoWpLqFi%2BDwjyQ6OUyVSxz_9nqvg%40mail.gmail.com.


Re: How to retrieve the values of environment variables in cpanel?

2022-02-08 Thread imad latch
I think you will have limited abilities without terminal but you can try it 
anyway .
check 
this 
https://docs.cpanel.net/cpanel/software/application-manager/82/#add-environment-variables

and for *passenger_wsgi.py* in your /home/user/django-project/

import sys, os
INTERP = "/home/user/django-project/django-env/bin/python3"
if sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.argv)

from  project.wsgi import application

I hope this helps

On Tuesday, February 8, 2022 at 2:29:00 AM UTC+1 wwran...@gmail.com wrote:

> Hi there, good night.   
>
> Does anybody know how to set up environment variables in a cpanel shared 
> hosting?
>
> I've found the way to declare the variable name and the value through the 
> "Setup Python App" section, but  I didn't find the way to retrieve the 
> value in the settings file.
>
> Please note that cpanel has no terminal.
>
> Thanks in advance,
>
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7291e6c0-98bc-4d64-8f42-a173f4e8aa0an%40googlegroups.com.


Re: TypeError: fromisoformat: argument must be str

2022-02-08 Thread Gautam Ankul
Same issue in mine project but when database name change and delete all
migration file then it is resolve

On Tue, 8 Feb, 2022, 3:45 PM Sammeeey,  wrote:

> I have posted my issue to the Django Forum.
> Please find it in the respective thread
> 
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e9703ec6-d93e-4ccb-a428-9189dc3bf525n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALKR2n3byUygtxkGAj3bpwPU7YSXYLD6yDnPinE3C_Md3wf8jg%40mail.gmail.com.


TypeError: fromisoformat: argument must be str

2022-02-08 Thread Sammeeey
I have posted my issue to the Django Forum.
Please find it in the respective thread 


-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e9703ec6-d93e-4ccb-a428-9189dc3bf525n%40googlegroups.com.