Re: Need help

2022-06-01 Thread Lalit Suthar
thanks for sharing @Antonis Christofides I was looking for a resource like this for some time :D On Thu, 2 Jun 2022 at 10:57, Antonis Christofides < anto...@antonischristofides.com> wrote: > Hello, > > If, as I understand, you don't know anything about deployment, a possible > starting point is

Re: Need help

2022-06-01 Thread Antonis Christofides
Hello, If, as I understand, you don't know anything about deployment, a possible starting point is the book at https://djangodeployment.com (disclaimer: I am the author). It doesn't cover docker, and it also doesn't cover continuous development with gitlab. But you can start with the basics

Re: migrations problem in django

2022-06-01 Thread Mike Dewhirst
On 2/06/2022 3:00 am, Paras Kashyap wrote: TypeError: Field.__init__() got an unexpected keyword argument 'max_lenght' You have probably seen this already ... should be 'max_length' Please someone tell me how to fix this error, this error occurs when i try to make migrations -- You received

foreign key change depending on previous selection Django or Dynamic Foreign key

2022-06-01 Thread jayson lauwerends
Hello everyone i have quick question with something i am having trouble with. i have these two model which use foreign keys. but i want one of the foreign keys options to change depending on what you selected in the previous fk. i also posted this on stack overflow here is the link:

migrations problem in django

2022-06-01 Thread Paras Kashyap
TypeError: Field.__init__() got an unexpected keyword argument 'max_lenght' Please someone tell me how to fix this error, this error occurs when i try to make migrations -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Need help

2022-06-01 Thread Théodore KOSSI
Hello everyone, I want your help to deploy my django app. I have a ubuntu server. My django project is pushing to gitlab. So I want to deploy my app django to my ubuntu server using Gitlab and docker Any help enjoy me Thanks. -- theodoros17@python-developer -- You received this message because

Re: Deploy Tailwind Template with Django

2022-06-01 Thread Ryan Nowakowski
Drop the HTML into your templates directory. Then put all the static assets ( CSS, js ) in your static directory. Change all the references to the static assets in your HTML to the new location and your static directory by using the staticfiles template tag. On May 31, 2022 6:52:12 PM CDT, Ry

Getting ValueError: Field 'id' expected a number but got 'favicon.ico'

2022-06-01 Thread Rishabh Singh
Hi Guys , I have posted the problem I am facing on StackOverflow. Please help me I am a beginner at Django. The link is below: https://stackoverflow.com/questions/72458041/getting-valueerror-field-id-expected-a-number-but-got-favicon-ico Thanks, Rishabh -- You received this message because

Facing issue in queryset while creating CRUD API in Django for User Model inherit with AbstractBaseUser

2022-06-01 Thread Mukul Verma
I am creating CRUD APIs so in this question i am asking about the Get all data of user using below code in view.py file where i am using user.objects.all() but it is showing me error(mentioned below): i need suggestions or help to solve this i have also created a Manager file for this user [

Re: Deploy Tailwind Template with Django

2022-06-01 Thread Mukul Verma
you can create API in Django and integrate in the Template On Wednesday, 1 June 2022 at 05:22:12 UTC+5:30 Ry wrote: > Hi I recently downloaded a template from cruip.com > > https://preview.cruip.com/mosaic/ > > I'd like to integrate this template into my django site but admittedly I > am not

Django bugfix release: 4.0.5

2022-06-01 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/jun/01/bugfix-release/ -- 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

Re: ComboBox

2022-06-01 Thread Roger Gammans
Hi If any arbitrary text is allowable, then at the model level I'd just use a CharField. I wouldn't add a choices= argument to the field unless is the value is strictly constrained to those choice as other test would then fail validation. At the Form level, I'm not sure. I'd probably work just