accessing foreign key value in views.py

2017-05-18 Thread Amisha Hans
Hey , I am facing a lot of issues regarding this foreign key !. Scenario is a s follows :- models.py class ComponentDeprecation(models.Model): row_id = models.IntegerField(primary_key=True) component = models.ForeignKey('SsComponents', db_column='component') submitter = models.Char

Setting the Date Format in the input fields

2017-05-18 Thread Amisha Hans
The default format is : -MM-DD HH:MM:SS i want it as /MM/DD HH:MM:SS for all the inputs ... outputing in the same format was easy : using date and time filters please help me out -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Django Inner Join Queryset where there is no foreign key relation between two tables

2017-07-09 Thread Amisha Hans
down votefavorite Please Help ! I Want to know the inner join Queryset for the below mentioned raw oracle Query : - select PubEv.published_dat