Re: Looking for a Learning Buddy

2023-10-13 Thread Pranav Sawant
Hi, I also want to join in this group. I have basic knowledge of Machine Learning and Django. On Friday, October 13, 2023 at 7:09:07 PM UTC+5:30 Migui Galan wrote: > Hi Hazida, I have a basic knowledge in machine learning and I'd like to > hear more about your project. > > > On Fri, Oct 13, 20

Re: Postgres connection error

2023-10-08 Thread Pranav Sawant
- > (Unsigned mail from my phone) > > > > Original message > From: Pranav Sawant > Date: 9/10/23 01:24 (GMT+10:00) > To: Django users > Subject: Postgres connection error > > *Hey all, I am new to django* > *and i want to connect to postgresql * >

Postgres connection error

2023-10-08 Thread Pranav Sawant
*Hey all, I am new to django* *and i want to connect to postgresql * *what I have doing:* *At postgres plsql* CREATE DATABASE knapds; CREATE USER system WITH PASSWORD 'password'; ALTER ROLE system SET client_encoding TO 'utf8'; ALTER ROLE system SET default_transaction_isolation TO 'read commit

Re: Invalidate cached copy when changes are made.

2011-01-28 Thread Pranav
Thanks for the reply Matias. I'll give signals a try but pagination is definitely a no go. I want to see all the members at a stretch. Isn't there a simple way to tell the django cache to get a new copy, if changes are made? I'm sure the admin or something must have something like what i want

Invalidate cached copy when changes are made.

2011-01-27 Thread Pranav
Hi all, I have a model that ruffly looks like so, Class Member(model); member_id = model.Integerfield(primary_key=True) organization = model.foreignerkey(primary_key=True) transorg = model.foreignerkey() bo_name = model.foreignerkey() member_create

Calling a mssql stored procedure and displaying the result as a datagrid

2010-12-10 Thread Pranav
Hi all, I'm new to django and sorry if my questions are too basic. I have a some requirements 1. I have a stored procedure in my mssql database server and i would like to call the procedure in my program with certain parameters.(Is there a way the results of the stored procedure be represented a

Re: get_object_or_404 on composite key and Value Error:Invalid Literal for int with base 10

2010-12-01 Thread Pranav
On Dec 2, 12:10 am, bruno desthuilliers wrote: > On 1 déc, 19:20, Pranav wrote: > > > Hi all, > > > I'm new to django and python and i'm working on a project that works > > with a legacy database. > > I've a particular problem with a &qu

get_object_or_404 on composite key and Value Error:Invalid Literal for int with base 10

2010-12-01 Thread Pranav
ot;fields.__init__." which retuns int(value). According to my understanding of the trace back its not able to convert the key "CP1001" to int coz it contains char data along with int. I cannot modify the database and i cannot change the way MemOrgId comes to the view function. Is there a

Re: Custom Login using model form

2010-11-26 Thread PRANAV HEGDE
On Nov 26, 1:57 am, Daniel Roseman wrote: > On Nov 25, 7:53 am, PRANAV HEGDE wrote: > > > > > > > > > > > Hi guys, > > > I'm trying to create a login form using a model form, > > > user model: > > class users(models.Model): &g

Custom Login using model form

2010-11-25 Thread PRANAV HEGDE
Hi guys, I'm trying to create a login form using a model form, user model: class users(models.Model): username = models.CharField(max_length=20, primary_key=True) password = models.CharField(max_length=50) usertype = models.CharField(max_length=20) class Meta: db_table = u

Re: Displaying a template table using a query set

2010-10-20 Thread Pranav
On Oct 20, 5:24 pm, Steve Holden wrote: > On 10/20/2010 7:58 AM, Pranav wrote: > > > > > > > On Oct 20, 4:13 pm, Daniel Roseman wrote: > >> On Oct 20, 8:29 am, Pranav wrote: > > >>> I'm trying to display a table in template using the resul

Re: Displaying a template table using a query set

2010-10-20 Thread Pranav
On Oct 20, 4:13 pm, Daniel Roseman wrote: > On Oct 20, 8:29 am, Pranav wrote: > > > > > > > I'm trying to display a table in template using the result retrieved > > from a query set, but i get problem when i try to display the table > > iterating throug

Displaying a template table using a query set

2010-10-20 Thread Pranav
{% for value in row %} {{ row }} {% endfor %} {% endfor %} when i try to run this i get an error saying the object is not itreable for the second for loop. please provide a solution to this issue... Thanks and Regards Pranav