Re: Django and aws elastic beanstalk

2018-06-05 Thread Yik San Chan
For requirements.txt, you have to run > pip freeze > requirements.txt For the second error, you have to run > eb config Then change WSGIPath to point to your wsgi.py file. On Thursday, July 14, 2016 at 4:32:47 AM UTC-7, mat...@vogcalgaryappdeveloper.com wrote: > > Hi, I’ve been directed to y

failover partner

2010-03-29 Thread san
hi all, i am trying to connect to mssql server using pyodbc. i am connecting to two databases each one on defferent instances, one is default instance and another is client instance. whenever my default instance mssql server is runnning, i can access both instances database. but when my default

Re: Arithmetic operations in a templete

2007-08-23 Thread *San*
ey in data.items %}{{key}}{%endfor%} it prints : ('a', {'a_max': 9, 'a_min': 0, etc}), did i pass the data incorrectly or something? On Aug 24, 12:51 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 8/23/07, *San* <[EMAIL PROTECTED]>

Re: Arithmetic operations in a templete

2007-08-23 Thread *San*
How to add suffix/prefix in a template? So if i passed in a list name- [a,b,c,d] and a_max, b_max, etc from views.py. and I do something like {% for i in name %} {{ i_max}} {% endfor %} so I actually wants to print the value of a_max, b_max, etc. Is there a way to do this? or I have to hardc

Printing a modified list value

2007-08-23 Thread *San*
I'm having a problem when printing the template. I want something like: {% i in item %} {{ form.{{i}}.error }} {{ {{i}}_max }} {{ {{i}}_min }} {% endfor %} -- which obviously doesn't work so, from my views.py I passed in a dictionary containing, a list of items - [a, b, c,

Re: extending the User Model error

2007-05-05 Thread *San*
It works, yay Thanks heaps On May 5, 5:12 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 5/4/07, *San* <[EMAIL PROTECTED]> wrote: > > > but, when I tried to view it, I got an error: > > Cannot resolve keyword 'user' into field >

extending the User Model error

2007-05-04 Thread *San*
I was trying to extend the user model as described here: http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model but, when I tried to view it, I got an error: Cannot resolve keyword 'user' into field Here's my view.py def profile(request, username): uname = User.objects.get