Masud
How can i send photo here? i want to show the error?
Doragonsureiyā
How can i send photo here? i want to show the error?
Read the rules before any activity: @PythonRules
Doragonsureiyā
How can i send photo here? i want to show the error?
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Masud
there is no traceback its only page not found
Masud
I used Createview with LoginRequired but when a user to acces create view page it showing the page not found error ,where i want to show login page just.
Masud
Login page works find too but in this case its not working
Виктор
new service?
For managing another db)
George
For managing another db)
i dont get why i need another db
Sergei
Hello :) def create(self, request, *args, **kwargs): owner = self.context.get('request').user item = CarGroup.objects.create( owner=owner, name=self.validated_data['name'], ) item.members.add(*self.validated_data['members']) return item return [self.child.to_representation(item) if item is not None else None for item in data] TypeError: 'ManyRelatedManager' object is not iterable
Виктор
i dont get why i need another db
I think if use main database to celery working is bad, but u can after process send webhook to django and get images
Sergei
Why does an error pop up?
George
I think if use main database to celery working is bad, but u can after process send webhook to django and get images
ah, right, it makes this more complex but yeah. in my case i delete tasks after use thank you for your input. i like having clean code and environment
George
Also, what do you mean by webhook?
Виктор
Виктор
After finish
George
Callback In celery
mmmmm ok could it be a task that calls a task?
Виктор
mmmmm ok could it be a task that calls a task?
Choice: 1) start task 2) task working in second db 3) task finished 4) task send callback about finish work 5) main server get from second db data to main db
Виктор
Simple way
Виктор
It's not good for big project, but for middle is ok
George
this doesnt appear anywhere so i appreciate it a lot 😂
George
i like to know how to scale
George
also i just want an implicit database for tasks but i didnt know how to do that and i went the easy way
Adonis
Mirco
!paste
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Tanguy
considering the modelForm on https://hastebin.com/fuwagihire.py , How can I assign class:'form-control' on every widget field without copy that class attribute on each of them please?
DK
I deleted table from postgre database, now I'm creating new table from django model, its giving error because its Searching old table
DK
U need to remove old migrations and make new migration
How to remove old migration, should I remove the migration folder ?
Dev
How to remove old migration, should I remove the migration folder ?
Just go to migration folder and remove all the migrations do not remove migration folder even do not remove __init.py file
Mirco
Just go to migration folder and remove all the migrations do not remove migration folder even do not remove __init.py file
Why ? Migrations are there to help the developer so instead of deleting files or deleting table, just undoing a migration is enough to remove the changes made by the latest one
Mirco
How to remove old migration, should I remove the migration folder ?
So instead of deleting table on Postgres, you had to undo the migration with the migrate command
Mirco
At this point and if you are on development environment, it's ok to delete files, trash db etc. but it's not the correct practice
Dev
He just need to make migration and he has two option 1st is put value like timezone.now and 2nd is quit.
Nirupam
Hi, project app is not importing to installed app.i added but it's saying module not found, i activated virtual environment also.but still same error
Nirupam
App name i have mentioned both like myapp.apps.Configapp or myapp way in installed app
Nirupam
Yes
Mirco
!rules
Doragonsureiyā
Read the rules before any activity: @PythonRules
Nirupam
Ohk
How i can i share screen shoot..media is disable here
Doragonsureiyā
How i can i share screen shoot..media is disable here
Read the rules before any activity: @PythonRules
Nirupam
I have pasted in dpaste.de
Pavel
Does anybody fix issue with django-formset-js (data-delete-formset-button doesn't clickable in IE11)
Anonymous
!admin
Luciano
Hello! When I add a user from the admin interface, I can use more than 30 chars long on "first_name", but when I use the User.objects.create_user() it throws an error that I can't enter more than 30 chars long value. Any help to get around this will be appreciated!
Shubham
Help me out - When i ran django admin in starting it ran ok after that it shows site is not reachable
Shihasz
Check ur line 22
Doragonsureiyā
Help me out - When i ran django admin in starting it ran ok after that it shows site is not reachable
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you. Include details such as libraries, platform, modules, etc. and also show your code using any pasting service.
Shubham
I am following the tutorial code with harry on django
Shubham
And also in mosh hamedani tutorial it was happen
Shubham
I explain
Shihasz
Explain ur exact problem, Not tutorials..
Alan
For example, I needed users to have unique emails but the auth user model doesnt coerce this, so I had to use another model and make references to it through all the code
Artur
Hello. How to draw a tree view of comments? what tools to use?
Alan
Either that or just make a profile model for the user but it seems your issue is with a core field of the user model
Shubham
Explain ur exact problem, Not tutorials..
First i created super user then when i will access django admin page then one or two times it runs ok but after typing link /admin it says site not reachable
Shubham
Because ur dev server may got stopped.
I have started that again by python manage. py runserver Page is going ok but Just after /admin site won't work
Shubham
Because ur dev server may got stopped.
Can i send image for clarification
Shihasz
Can i send image for clarification
!paste No media allowed
Doragonsureiyā
Can i send image for clarification
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Shubham
https://del.dog/crythubicu
Shubham
in this urls.py in my vs code line number 16 and 17 shows error in from
Anonymous
Any one having tutorial or something of pagseguro payment integration