Re: models foreign key

2017-01-15 Thread Jeffrey Uvero
*I am using oracle. * *actually I used the procedure before and it was successful, but now i used same procedure but it didn't work. * On Sun, Jan 15, 2017 at 12:16 AM, Melvyn Sopacua wrote: > On Friday 13 January 2017 07:42:17 Jeffrey Uvero wrote: > > > *there's no probl

Re: models foreign key

2017-01-12 Thread Jeffrey Uvero
*there's no problem appeared but when I go to my database, there's no connection with these two table.. there should be a connection between two same name column.(foreign key)* Correction with my code above. *Author_code = models.ForeignKey(Author, to_field='Author_code', on_delete=models.CASCADE)

Re: ORA-00942: table or view does not exist

2016-11-13 Thread Jeffrey Uvero
is by default uppercase and quoted format is only required for > tables or fields that are written in mixed or lowercase. > > Are you sure that problem is really your model? > > > On 11.11.2016 02:03, Jeffrey Uvero wrote: > > Jani Tiainen, Thank you for your response . > &

Re: ORA-00942: table or view does not exist

2016-11-10 Thread Jeffrey Uvero
ere table names are > written in lower case. Better yet, let Django to take care of table names > all together. > > > > On 10.11.2016 03:45, Jeffrey Uvero wrote: > > Thank you for your response ,, > > Yes. I applied migration, when I applying for that, another error come

Re: ORA-00942: table or view does not exist

2016-11-09 Thread Jeffrey Uvero
Thank you for your response ,, Yes. I applied migration, when I applying for that, another error comes out return self.cursor.execute(query, self._param_generator(params)) django.db.utils.DatabaseError: ORA-00955: name is already used by an existing object On Thu, Nov 10, 2016 at 9:26 AM, Charl