Re: Read/Create Excel xls files using django

2008-11-13 Thread m h
On Thu, Nov 13, 2008 at 2:35 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > > Kurczak wrote: >> On 13 Lis, 20:45, dj <[EMAIL PROTECTED]> wrote: >> snip snip > Do you *really* have to create an xls file? If your users just want to > get the data into Excel then creating a csv file is a much easier

Re: Read/Create Excel xls files using django

2008-11-13 Thread m h
On Thu, Nov 13, 2008 at 4:54 PM, Tim Chase <[EMAIL PROTECTED]> wrote: > >> I am trying to detemine if there is a way to read the data from an >> Excel xls file into django. I also need to create an xls file. Does >> anyone know how that would be done ? > > In addition to the other suggestions on t

Re: Read/Create Excel xls files using django

2008-11-13 Thread m h
On Thu, Nov 13, 2008 at 5:21 PM, Steve Holden <[EMAIL PROTECTED]> wrote: > > m h wrote: >> On Thu, Nov 13, 2008 at 4:54 PM, Tim Chase >> <[EMAIL PROTECTED]> wrote: >> >>>> I am trying to detemine if there is a way to read the data from an >>&

Re: Cron job help..

2008-11-14 Thread m h
Try telling crontab to execute your script with python ;) Or put #!/usr/bin/env python on the first line and chmod appropriately -cheers matt On Sat, Nov 15, 2008 at 12:41 AM, laspal <[EMAIL PROTECTED]> wrote: > > Ok I got the point but I run into some other problem. > > when I run python /home/

Keeping keys consistent while using manual and automatically populated models?

2006-06-20 Thread m h
Hey all- For my django app I'm generating a bit of the model using a script. The basic idea is that the script provides versioned data for components. As new versions of components are added over time the script needs to be re-run to add the data for the new versions. The end users are also abl

Best practices for filling in forms....

2006-06-21 Thread m h
Just wondering if there is a best practice for filling in forms (especially when you are coming back and editing a pre-filled in form). Does anyone have any magic or it is just putting selected,checked,etc attributes on the model and iterating/testing for the attribute in the template? looking f

*_set (ForeignKey accessors) broken?

2006-07-05 Thread m h
I'll just post the contents of my bug report. Has anyone else ran into this? Any hints, suggestions? http://code.djangoproject.com/ticket/2297 I revved to v3278 and my app broke. In my view I adjust some fields of the model. My model looks something like this (quite simplified) class Foo(

Not sure how to debug this error...

2006-07-06 Thread m h
I have a page that django is appearing to not like on one machine. (Runs fine on another, both running todays svn...) I don't even get the error page, I just get a text traceback containing the following: Traceback (most recent call last): File "/opt/oss/lib/python/site-packages/django/core/se

Re: Not sure how to debug this error...

2006-07-06 Thread m h
e other machine appeared to be working ok.... On 7/6/06, m h <[EMAIL PROTECTED]> wrote: > I have a page that django is appearing to not like on one machine. > (Runs fine on another, both running todays svn...) I don't even get > the error page, I just get a text traceback containing

Re: How to update part of a JSONField with a computed value?

2021-12-07 Thread Bazil M H
Use the inbuilt *json* library in python. Use json.dumps and json.loads to convert the dictionary to json and vice versa. On Thursday, 5 August 2021 at 04:17:38 UTC+5:30 shahee...@gmail.com wrote: > Hi, > > I'm using Django 3.2 on Postgres12, and I have a model with a JSONField > which contains a

Re: Mouse movement detection and processing from client UI

2021-12-07 Thread Bazil M H
Mouse clicks are client side actions. You need javascript to get that data. One solution maybe capturing the mouse clicks at the client side via javascript and sending the data as JSON to your backend by AJAX. Just a suggestion. On Thursday, 28 October 2021 at 11:24:39 UTC+5:30 Derek wrote: >

Re: Display api in particular format

2021-12-07 Thread Bazil M H
Can you make the image an attachment ? Cant see anything on your image. On Saturday, 27 November 2021 at 23:00:41 UTC+5:30 Sapna Agrahari wrote: > Can anyone please help me with this? As I want to display the api data in > this format. > [image: image.png] > > Thanks and

Re: class based view Type error

2021-12-07 Thread Bazil M H
Have you changed the urls.py file accordingly? On Thursday, 18 November 2021 at 09:02:55 UTC+5:30 Trippy Samurai wrote: > Hello, > I have my function based writted like this > > > @login_required > def accept_tickets_view(request,pk): > ticket = get_object_or_404(Ticket,id=pk) > if ticket.status

Re: Can't able to accept the friend request in my django website

2021-12-07 Thread Bazil M H
Please format your question correctly so that someone can understand that. Then only people can answer your question. On Friday, 3 December 2021 at 05:57:22 UTC+5:30 Kasper Laudrup wrote: > https://www.propublica.org/nerds/how-to-ask-programming-questions > -- You received this message because

Re: django installation

2014-06-11 Thread Pavithra M H
hi, first of all you should create an virtual environment and then u have to install django, the detailed procedure is given here " http://www.openbookproject.net/courses/webappdev/units/webappdev2/resources/django_virtualenv.html"; On Wednesday, June 11, 2014 11:10:01 AM UTC+5:30, David Moya wr