Merge Project

2022-12-28 Thread Anil Singh
Hi Friends, I am merging tow one project to another project, also install app in settings.py, but i error : RuntimeError: Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. How can i fix this error Nee

Squashing Data Migrations

2022-12-28 Thread Saksham Bajaj
Hi, This feels like a very common use case but I can't figure out the best practice or any guidance online so would really appreciate any advice. *Django Version: 3.1* *Python: 3.7* Here is the scenario: 1. I have a custom data migration that loads custom data into a migration. Follow

How to create a copy of production sql database for development use?

2022-12-28 Thread Jian Wu
Dear all, I have a Django currently running in production mode on a remote Linux server. While the production server is in use, I am developing new features on my local computer. Is there a way to create a copy of production server, so that when I develop new features I can test on a database e

Re: stuck in my payment gateway

2022-12-28 Thread 'Kasper Laudrup' via Django users
On 28/12/2022 20.21, Music Fm wrote: hi guys, so i am building a payment gate way using django but i am stuck on how to integrate cards in the views for the form. please i need help Which kind of help do you think anyone will be able to provide when you haven't given any information at all?

stuck in my payment gateway

2022-12-28 Thread Music Fm
hi guys, so i am building a payment gate way using django but i am stuck on how to integrate cards in the views for the form. please i need help -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

filtering queryset in CreateAPIView view

2022-12-28 Thread Larry Martell
I have a CreateAPIView view with this code in the serializer: class AssignWorkItemSerializer(serializers.Serializer, WorkitemSerializerMixin): assigneeIds = serializers.ListSerializer( child=serializers.PrimaryKeyRelatedField( queryset=get_user_model().objects.filter(userr

Re: NEW BIE HERE HOW CAN I LEARN DJANGO FAST

2022-12-28 Thread Jeff Kingsley
can teach you On Sun, Dec 25, 2022 at 12:08 PM Namanya Daniel wrote: > While learning Django, pay attention to URLs and settings and models, the > rest you need basic python skills > > On Sunday, December 25, 2022 at 2:14:06 AM UTC+3 guru...@gmail.com wrote: > >> Hey, I just want to know how yo