[Django-admin] Popup for inline model

2014-07-05 Thread Aeh. ABID
In the inline models when using TabularInline, is it possible to use a popup to add/edit an item when we have a number of fields that can't hold in the page without horizontal scrolling ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To uns

Re: How to install Django on Windows - pip, command prompt.

2014-07-05 Thread Mike Dewhirst
http://stackoverflow.com/questions/4750806/how-to-install-pip-on-windows On 6/07/2014 1:24 PM, Sen wrote: I was going through https://docs.djangoproject.com/en/1.6/howto/windows/#how-to-install-django-on-windows I could follow until "In the command prompt, execute the following command: pip in

Re: How to install Django on Windows - pip, command prompt.

2014-07-05 Thread Setiaman Lee
You can get and install python from activestate.com where pip is included. So you can run pip from command prompt. Rgrds Setiaman On 6 Jul 2014 11:44, "Sen" wrote: > I was going through > https://docs.djangoproject.com/en/1.6/howto/windows/#how-to-install-django-on-windows > I could follow until

How to install Django on Windows - pip, command prompt.

2014-07-05 Thread Sen
I was going through https://docs.djangoproject.com/en/1.6/howto/windows/#how-to-install-django-on-windows I could follow until "In the command prompt, execute the following command: pip install django. This will download and install Django." I'm not sure which command prompt and "pip install dja

Re: Django 1.6 + Mysql

2014-07-05 Thread Henrique Oliveira
Hi Dean, I have a MySQL connection because I can log in. On Saturday, July 5, 2014 10:48:35 PM UTC-3, Dean wrote: > > The first place I look is in the last line of the error message. I don't > think you have a MySQL connection, check in your error log file. > > > On Sunday, July 6, 2014 8:03:56

Re: DateTimeField always returns None

2014-07-05 Thread Dean
I think there is a restriction in using 'date' in MySQL as a field name as it's some sort of inbuilt function. On Friday, July 4, 2014 5:01:15 PM UTC+8, William Granli wrote: > > I am trying to create a queryset for getting the values of a DateTimeField > which is DATETIME in the DB. > > The cl

Re: models

2014-07-05 Thread Dean
You could start here http://www.djangobook.com/en/2.0/chapter05.html and look at a 1/3 down the page at the heading 'Your First Model'. Taking 'events' as an example, think about the data you need to record. For example, each event normally has a title, location, start date and time, end date a

Re: Django 1.6 + Mysql

2014-07-05 Thread Dean
The first place I look is in the last line of the error message. I don't think you have a MySQL connection, check in your error log file. On Sunday, July 6, 2014 8:03:56 AM UTC+8, Henrique Oliveira wrote: > > hi there, > > I am getting this error when using Mysql connector: > > File "/opt/b360/l

Django 1.6 + Mysql

2014-07-05 Thread Henrique Oliveira
hi there, I am getting this error when using Mysql connector: File "/opt/b360/lib/python3.4/site-packages/django/core/handlers/base.py", line 114, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/b360/lib/python3.4/site-packages/django/vi

Lookup Fields

2014-07-05 Thread Dean
> LOOKUP_PEOPLE = ( > ('person1', 'person1'), > ('person2', 'person2'), > ('person3', 'person3'), > ) > role_for_who = models.CharField('Role for', max_length=50, > choices=LOOKUP_PEOPLE) > Thanks in advance for any help. I almost had it - I wish - but don't think djan

Google App Engine / Django / Django-nonrel Best Practices

2014-07-05 Thread Adam Simon
Hello, What is the status of Django-nonrel, it seems that there have been a few changes recently on github, but not much overall news, especially on their website? If i try to use Django 1.5 (GAE's latest version) are there any good tutorials / blogs on how to get it working with NDB other t

Re: Simple History - Field Change

2014-07-05 Thread Cal Leeming [Simplicity Media Ltd]
No problem at all, glad you got it sorted! Cal On Sat, Jul 5, 2014 at 6:32 AM, Aaron Reabow wrote: > You are totally right. > > There is a historical table that required deletion. > > This is why you shouldn't debug late on friday afternoon. I had actually > looked for that table but somehow

Re: django beginner

2014-07-05 Thread ngangsia akumbo
On Wednesday, July 2, 2014 12:25:24 PM UTC+1, Lachlan Musicman wrote: > > > > Why is this template not outputting the Title area? I am using django-1.4.13 My test page News Updates {% for entry in entries %} {{entry.headline}} Posted on {{ entry.pub_date }} by