Hello djangos,
I want to add a *.jpg image to an html-formated/email signature.
I am not sure if this approach is correct, please help:
image_file = open(settings.PROJECT_ROOT+'/static/images/image_name.jpg',
'rb') #get the image file
msg_image = MIMEImage(image_file.read())
#with proper MIME t
ith-images-to-send-with-python-django
Thank you very much Tom!
Kind regards,
ionic
On Tue, 2012-02-21 at 13:49 +, Tom Evans wrote:
> On Tue, Feb 21, 2012 at 12:42 PM, ionic drive wrote:
> > Hello djangos,
> >
> > I want to add a *.jpg image to an html-formated/email
Tom,
you are totally right!
The problem was me - not google ;-) I knew that. Did not know what I am
looking for.
I am sorry! & thank you very much Tom!
Cheers
ionic
On Tue, 2012-02-21 at 14:23 +, Tom Evans wrote:
> On Tue, Feb 21, 2012 at 2:18 PM, ionic drive wrote:
>
hello django friends,
my log files do complain about strange 404 errors when serving static
css files to IE, because I do use special CSS files to please
IE-versions via @import for CSS.
The css files are included as follows in the html code:
@import
url({{ media_url }}css/sty
sagade wrote:
> try using {{ STATIC_URL }} instead of {{MEDIA_URL}} - It has worked
> for me, and where it doesn't, pass settings.STATIC_URL as a context
> variable from the view.
>
>
> On Sat, Mar 17, 2012 at 11:27 PM, ionic drive
> wrote:
>
>
,
ionic
On Sat, 2012-03-17 at 23:36 +0530, yati sagade wrote:
> try using {{ STATIC_URL }} instead of {{MEDIA_URL}} - It has worked
> for me, and where it doesn't, pass settings.STATIC_URL as a context
> variable from the view.
>
>
> On Sat, Mar 17, 2012 at 11:27 P
hello django friends,
I am facing a VERY strange unicode encode error on internet connection.
No Error when network(LAN/internet) is disabled.
Situation:
In a template I do have a link to a site(google) in this a URL a '/u' is
included.
I am testing this in my virtual-machine so I c
Sun, Mar 18, 2012 at 8:37 AM, ionic drive wrote:
> > hello django friends,
> >
> > I am facing a VERY strange unicode encode error on internet connection.
> > No Error when network(LAN/internet) is disabled.
> >
> > Situation:
> >
> >
le rendering: 'ascii' codec can't decode
byte 0xe2 in position 31: ordinal not in range(128)
I fixed this by doing a force to string conversion on url:
log.debug('Using "%s" as title for "%s"' % (title, str(url)))
I am not sure if this is a clean sol
great:
I think this is a good sellery for India if you add some bonuses.
good luck
On Thu, 2012-04-12 at 20:27 +0100, Cal Leeming [Simplicity Media Ltd]
wrote:
> Further update on this - budget has changed so, we can now offer
> a higher rate and a part time alternative.
>
>
>
> * 1500$/mon
+1 great!
On Sat, 2012-06-30 at 16:10 +0100, Cal Leeming [Simplicity Media Ltd]
wrote:
> Hi all,
>
>
>
> As some of you know, I did a live webcast last year (July 2011) on our
> LLG project, which explained how we overcome some of the problems
> associated with large data processing.
>
>
> A
Dear Jonathan,
I answer on Django as there is nothing Satchmo specific in your message.
This link should help you on start up: http://lmgtfy.com/?q=mod_wsgi
+django
A developer with your skills really should know to ask straight forward
questions and to use search engines.
Please Jonathan, your
Dear Jonathan,
I know a lot of things about you... you are an Orthodox Christian
Author, your skills are Ajax, CGI, CMS, CSS, Django, HTML, IA, JSON,
JavaScript, LAMP, Linux, Perl, PHP, Python, SQL, UI, Unix, Usability,
UX, XHTML, XML,...
I know you only check the first results in search engines,
import django.core.handlers.wsgi
> application = django.core.handlers.WSGIHandler()
>
>
> And a few days of Googling later, I find deployment more difficult
> than any other part of building a Django site. Could you lmgtfy a
> query whose top results will work?
>
&
Hello django friends,
Problems:
1) MemcachedKeyCharacterError: Control characters not allowed
2) MemcachedKeyLengthError: Key length is > 250
We where conflicted with problem number one, but the solution should
also work for the second error which did not happen on our system.
System-In
wrote:
> On 10 November 2011 08:54, ionic drive wrote:
> Hello django friends,
>
> Problems:
>
> 1) MemcachedKeyCharacterError: Control characters not allowed
> 2) MemcachedKeyLengthError: Key length is > 250
>
ok, so removing the invalid keys is the best solution.
great
thank you guys!
ionic
On Thu, 2011-11-10 at 11:36 +, Tom Evans wrote:
> On Thu, Nov 10, 2011 at 11:25 AM, ionic drive wrote:
> > Yes Malcolm,
> >
> > thanks for the great and smart answer!
> > You are
Hello and thanks for the respond.
My knowledge on caching was little. I used it, but I never programmed it
my self. So I had no idea about how the keys would be stored.
The solution was... I did not mess with my memcached.py or anything
else. I just use it as everybody else is using it.
The prob
OpenERP:
think about tryton http://www.tryton.org
cheers
ionic
On Thu, 2011-12-15 at 03:55 +1100, Alec Taylor wrote:
> What's available in terms of ERP on DJango?
>
> If there isn't anything that is maintained and has a strong
> feature-set, I'm thinking of writing a DJango wrapper to OpenERP (
Hi cata,
Sounds great your plans. Django is exactly suitable for your needs.
How many years are you going to investigate into the project?
Best wishes
ionic
On Fri, 2011-12-16 at 22:07 +1100, Alec Taylor wrote:
> Also satchmo http://www.satchmoproject.com/
>
> On Fri, Dec 16, 2011 at 9:43 PM, I
satchmo project.
good luck
ionic
On Fri, 2011-12-16 at 17:47 +0530, abhay hegde wrote:
> Great ! Thanks everyone for the response. Django is the way to go
> then.
>
> @ionic drive :- Not sure as it's just in the initial stage. I will
> have to set aside time for this one.
ionic
On Fri, 2012-01-20 at 11:48 +0100, Thorsten Sanders wrote:
> You could add sitemaps in the google webmaster tools or make a sitemap
> in the root dir which contains links to the other sitemaps.
>
> On 19.01.2012 17:59, ionic drive wrote:
>
> > Hello django fri
This i guess is not a django setting.
Its a setting of your webserver (Nginx, Apache2, etc.)
If you do use Nginx as an example, this setting would be
client_max_body_size.
http://www.rockia.com/2011/01/how-to-change-nginx-file-upload-size-limit
good luck
scrapper
On Sun, 2011-06-05 at 06:57 -
Hello Rick,
Address already in use, tells you that on 127.0.0.1 specific port 8000
already a process is running. I guess you have your Apache already
running their, right!?
you have to listen with your Apache to the proper port where fastcgi is
serving the data for Apache. I think you have to re-
24 matches
Mail list logo