Problem in setting 'class' attribute to the widget CheckboxSelectMultiple

2009-06-19 Thread Avinash
ied to the tag instead of the tag.Is there a way such that the class name gets applied to the tag and not to the tag i.e it should get expanded as, """ List of checkboxes """ Avinash --~--~-~--~~~---~--~~ You received this mess

Re: Uploading Images

2009-06-24 Thread Avinash
ke, form = ImageForm(request.POST, request.FILES) Then after checking if its valid save it. Be sure to configure your 'MEDIA_ROOT' directory in 'settings.py' to the path were you want to upload the files. Also enable multipart/form data in your form tag of your templateas mentioned by Rob

Re: Uploading Images

2009-06-24 Thread Avinash
On Jun 24, 2:50 pm, Avinash wrote: > The second message posted by you shows that the POST request handler didnt > find key 'files' in its Multivalue Dictionary.Its I think the keyword > 'file' has been deprecated from later versions of Django.So for > uploading

UNable to log into admin console with the extended auth user model

2009-12-30 Thread avinash
Hi, I've created a custom user class which is inherited from auth user class. I wanted some additional fields for my user model and at the mean time also wanted to use django's default backend so went for inheritence. Here's how my models look like, class CustomUser(User): city = models.Cha

Re: need help in multi db

2010-03-10 Thread Avinash Prasad
r rules apply for while retrieving data. Hope this helps. Do not forget to look into the API. Happy coding!! Avinash On Wed, Mar 10, 2010 at 11:34 PM, lakshmi silaja wrote: > Hi, > i'm silaja, in my django project i want to work with multiple > database. i'm new to django.

How to Display the number of active users in Django Site with IP address

2014-12-21 Thread Avinash Kunuje
How to Display the number of active users in Django Site with IP address -- 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.co

Re: Python Django Training

2020-02-05 Thread avinash prajapati
i am interested too... add to me for the same. -- 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 discus

How to resolve account access permission on SendGrid.

2020-03-10 Thread avinash prajapati
I am recently created an account on SendGrid but after first login it is showing error that accounts access permission is not authonaticate. Help to resolve this issue.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: How to resolve account access permission on SendGrid.

2020-03-13 Thread avinash prajapati
okay, I have solved this problem. thanks for your response. On Thu, 12 Mar 2020 at 12:05, Naveen Arora wrote: > wrong portal to ask this question :) > > > On Wednesday, 11 March 2020 00:09:31 UTC+5:30, avinash prajapati wrote: >> >> I am recently created an account on

how to build a CAS

2020-04-02 Thread avinash prajapati
Can anyone help me to build a centralized authentication server or suggest best ways do it. -- 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+unsub

Can Anyone suggest on Snowflake database connection using Django?

2019-10-29 Thread Avinash Gaurav
Hi All, I am trying to create an engine in settings.py of django app to connect to snowflake database, but not able to do so. Since snowflake is a 3rd party database for django, so not able to figure out if the connection is possible, however I am able to connect using simple python script using

Hi Guys, Can anyone suggest on how to create a engine to connect to snowflakes using django? and share the settings.py modification?

2019-10-29 Thread Avinash Gaurav
Hi Guys, Can anyone suggest on how to create a engine to connect to snowflakes using django? and share the settings.py modification? -- 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 i

Re: CRUD OPERATION CLASS BASED API

2021-10-26 Thread Avinash Alanjakar
Hello, You can refer this repo. https://github.com/mrAvi07/drf-blog-api On Sat, 23 Oct 2021 at 07:22, Lahu Chavan wrote: > Hey DjangoUsersConnection, > How to use common(single) url for combining ADD, UPDATE, GET, > DELETE class based api. please give me an example with brief informati

Re: Got an error creating the test database: database "" already exists

2022-03-16 Thread Avinash Alanjakar
python manage.py migrate Thanks, Avinash On Thu, 17 Mar, 2022, 8:53 am Salima Begum, wrote: > Yes I run migrations still I am seeing the new issue below > ``` > django.db.utils.ProgrammingError: relation "auth_user" does not exist > ``` > Thank you > ~Salima >

Re: Single Sign On in Django

2022-11-15 Thread Avinash Alanjakar
You can use django-simple-sso library Refer to this article, it would be helpful. https://micropyramid.medium.com/django-single-sign-on-sso-to-multiple-applications-64637da015f4 On Thu, 10 Nov, 2022, 8:18 pm venkat Bukka, wrote: > Hello all, > Could anyone please let me know how we can impleme

Re: Python Django Training

2020-12-07 Thread 039 Avinash Alanjakar
Hello , I am also interested to join this training. On Mon, 7 Dec 2020, 1:39 pm narendra thapa, wrote: > hello please add me also in training group? > > > On Fri, Feb 21, 2020 at 7:27 PM Bharati Nilam > wrote: > >> Hi, >> I also from Hyderabad and I'm also interested in the training. please >>