How to remove breadcrumbs in Django admin

2014-03-16 Thread Marwan Al-Sabbagh
For reference I've asked this question on stackoverflow: http://stackoverflow.com/q/22345527/1699750 How can I use nav-global for navigation and hide the breadcrumbs in the django admin app. I've found ways to do this but they seem hackish and problematic. I'm looking for a clean reliable

Re: Django app to update site through email

2012-08-12 Thread Marwan Al-Sabbagh
Ah good old fetchmail. How did I forget you. Thanks Melvyn, It looks really really mature an full featured. As far as security and identifying the user I was planning to use Django's Cryptographic signingand to put a signed value contained the

Re: Django app to update site through email

2012-08-12 Thread Marwan Al-Sabbagh
# Extract database Fields from mail > msgfrom = emailmsg['From'] > msgto = emailmsg['To'] > msgsubj = emailmsg['Subject'] > msgbody = get_body(emailmsg) > > # Write a log file in /tmp with a record of the e-mails > currtime = date.today().strftime("%B %d, %Y") > logfile

Re: Django app to update site through email

2012-08-11 Thread Marwan Al-Sabbagh
It's a very cool idea. I wanted to do something similar to this where I would email users notification for approvals and they could reply to the email with their approval. I'm curious you said you have already implemented this. How did you end up doing it. On 10 August 2012 18:23, Paul Backhouse

Re: CachedStaticFilesStorage unavailable in debug mode

2012-07-19 Thread Marwan Al-Sabbagh
you develop with an actual webserver. > > So there's no use for hashes. But they still cause a performance drop. So > django just falls back to a standard storage. > > > I think that if you definitely need it for test just copy it and change it > so it works with debug

CachedStaticFilesStorage unavailable in debug mode

2012-07-18 Thread Marwan Al-Sabbagh
Hi, so as explained in the docs CachedStaticFilesStorage will not be applied if DEBUG setting is set to False. I just wanted to understand why this is the case. I have a development environment and want to use CachedStaticFilesStorage. thanks. cheers, Marwan -- You received this message

Re: Django and Rich Client

2011-06-17 Thread Marwan Al-Sabbagh
rse). It has style-sheets for making > the client sexy at the end. On the other hand, I'm totally impressed > what can be done with JS, but I'm not familiar with it. > > Cheers, > > Jan > > > > On 17 Jun., 06:26, Marwan Al-Sabbagh <marwan.alsabb...@gmail.com> > wro

Re: Django and Rich Client

2011-06-16 Thread Marwan Al-Sabbagh
Out of curiosity is there a specific need for running a rich client instead of just accessing the system app through a web browser. On Fri, Jun 10, 2011 at 4:16 AM, Ovnicraft wrote: > soaplib > > On Thu, Jun 9, 2011 at 1:10 PM, Knack

Re: Excel dumps to Office 10

2011-06-07 Thread Marwan Al-Sabbagh
So what you are doing is producing HTML content, but send the user a file with an xls extension. Before MS Excel used to open the xls file see that in fact it doesn't have xls data in it but HTML and would try and take care of it by converting the html to excel and presenting to the user. In more

Re: Django app for data management and visualization

2011-04-10 Thread Marwan Al-Sabbagh
thanks for sharing the link. Thats a really amazing piece of software, I'm definitely gonna use that on some of my projects. Marwan On Sun, Apr 10, 2011 at 5:59 PM, Brian Bouterse wrote: > I'm a fan of using flot for > visualization. I've

Re: Django app for data management and visualization

2011-04-08 Thread Marwan Al-Sabbagh
://code.google.com/apis/chart/ > Regards > Chris > > -Original Message- > From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On > Behalf Of Marwan Al-Sabbagh > Sent: 07 April 2011 09:59 > To: django-users@googlegroups.com > Subject: Re: Dja

Re: Django app for data management and visualization

2011-04-07 Thread Marwan Al-Sabbagh
cost > you (not sure if it will save you some money). > > Regards > Chris > > -----Original Message- > From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On > Behalf Of Marwan Al-Sabbagh > Sent: 06 April 2011 16:59 > To: django-users@google

Re: Django app for data management and visualization

2011-04-06 Thread Marwan Al-Sabbagh
this sounds very interesting to me too. I'm working at a financial institution and I'm facing a similar challenge of allowing the users to generate ad hoc reports and export those reports to excel. I've already implemented this requirement in PHP and I'm in the process of migrating these reporting

Re: admin cannot edit records with 'add' as primary key

2011-04-04 Thread Marwan Al-Sabbagh
ri, Apr 1, 2011 at 8:39 PM, Marwan Al-Sabbagh > <marwan.alsabb...@gmail.com> wrote: >> >> Hi, >>   just wanted to confirm that this is a bug before posting it on >> tracker. Any comments are welcome it will be my first bug report on >> django :) >> >&

admin cannot edit records with 'add' as primary key

2011-04-01 Thread Marwan Al-Sabbagh
Hi, just wanted to confirm that this is a bug before posting it on tracker. Any comments are welcome it will be my first bug report on django :) Problem If you have a model with a primary key field that has the value 'add' you won't be able to edit it in the admin screens. the admin

Re: Auto refresh of page for one user on other user's update

2011-03-24 Thread Marwan Al-Sabbagh
I'm working on an application that has a similar requirement. If you can wait for a few weeks, I'll probably have it ready and released sometime next month. I'll be releasing it as an open source project specifically to work with django. If it's something you're interested in shoot me an email and

Re: Logging raw sql

2011-03-10 Thread Marwan Al-Sabbagh
Hi, There are three different possible solutions you could investigate to do this logging on the django/python level: 1) use django's new logging feature that as per the docs will log "every SQL statement executed by a request". The beauty of this approach is that you can use python's excellent

Re: custom django-admin commands naming convention

2011-03-08 Thread Marwan Al-Sabbagh
p > through my bash history. > > Toodle-looo...... > creecode > > On Mar 8, 12:02 am, Marwan Al-Sabbagh <marwan.alsabb...@gmail.com> > wrote: > > > Our company has a number of teams > > developing different apps and I didn't want the naming of the

custom django-admin commands naming convention

2011-03-08 Thread Marwan Al-Sabbagh
Hi, I need to cron a few jobs for my django app to run daily. I went through the docs on "Writing custom django-admin commands" and thats the direction I'm planning to go to run these jobs. Our company has a number of teams developing different apps and I didn't want the naming of the commands

Re: Server HTTP Client

2011-03-03 Thread Marwan Al-Sabbagh
mechanize is a very powerful library that can help you do this stuff. the project page is at http://wwwsearch.sourceforge.net/mechanize . I've used it in my work place and it works quite well. cheers, Marwan On Thu, Mar 3, 2011 at 9:59 PM, Julian wrote: > Hi, > > Is there