Thumbnail resizing issue, strange behavior
Hi, I've been trying to resolve this issue for a day without luck, its very strange error, i tried to post it on stackoverflow but still no luck. http://stackoverflow.com/questions/13629099/getting-cannot-identify-image-file-when-trying-to-create-thumbnail-in-django -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Complex queryset subquery where in
Hi, I have been going in circles for hours and couldnt find help on stack overflow. Here is my question http://stackoverflow.com/questions/7365359/complex-query-in-django-where-subquery-exists Regards, Mo -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Where Is My Javascript Code's Problem?
Lol Sent from my iPhone On Jan 22, 2011, at 12:34 AM, Sandro Dutrawrote: LOL! What are you trying to do, guy? It's obvius the alert box will appear, 'cause it's a visual element. But the rest of the code only set a bunch of variables, it's not printing anything, it's not launching any alert, so what are you waiting to happen? 2011/1/21 hank23 > Here's my javascript function code: > > function addRecipient() > { > alert("Entering addRecipient function!") > var list = document.getElementById('recipientlist'); > var rlist = list.value; > var reciever = document.getElementById('recipient'); > rlist = rlist + receiver.value + ", "; > reciever.value = ""; > } > > > I get the alert box just fine, but nothing seems to happen after that. > So what's wrong with the code as is and do I need to call some other > method to refresh the browser window to show the results of my > javascript having run, in order to see my screen change? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Django compressor
Thanks a lot, exactly what I needed. Sent from my iPhone On Jan 15, 2011, at 11:38 PM, "Casey S. Greene" <csgre...@princeton.edu> wrote: > Assuming you mean this: > https://github.com/mintchaos/django_compressor > > From their example: > > {% load compress %} > {% compress css %} > charset="utf-8"> > p { border:5px solid green;} > charset="utf-8"> > {% endcompress %} > > This goes in your template. Make the CSS for that page a separate file and > only include it on the pages where you actually want it. > > Hope this helps! > -- Casey > > On 01/15/2011 03:13 PM, Mo J. Al-Mughrabi wrote: >> Hi, >> >> Am using django compressor to compress n include my CSS files. There >> are some CSS I would like to render only in certain pages, any idea >> how will I include more CSS files dynamically at run time? >> >> Sent from my iPhone >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Django compressor
Hi, Am using django compressor to compress n include my CSS files. There are some CSS I would like to render only in certain pages, any idea how will I include more CSS files dynamically at run time? Sent from my iPhone -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Database Table Locks/unlocks (for reading, writing or both)
You could use custom SQL Sent from my iPhone On Jan 12, 2011, at 7:14 PM, Jagdeep Singh Malhiwrote: > >>> Is Django automatically done the table locking /unlocking concept in >>> case of Mysql/PostGreSQL? >> >> Depends how backend handles database sessions. >> >>> if not how I done this manually? >> >> Thing you described is called pessimistic locking. What are you trying to >> accomplish with that? > > I only want to know is Django is able Lock/Unlock the Database tables, > If yes. > How its possible? how its works > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: i18n django models
Yes, I did that part, How can I navigate transmeta source for that function? I used python setup.py install, Sent from my iPhone On Jan 9, 2011, at 1:12 AM, Alessandro Pasottiwrote: 2011/1/8 Mo Mughrabi > Transmeta is much nicer and much simpler. I just installed it and I already > like the way it is designed, > > I just ran into a small problem with the ./manage.py sync_transmeta_db not > working. Any idea how it can be solved? > > Am just getting an unknown command, > > > Cheers, > > > I dont' know... did you add transmeta to the installed app in settings.py ? -- Alessandro Pasotti w3: www.itopen.it -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Templates Directory Question
By document root they mean apache public directory, aka htdocs Sent from my iPhone On Jan 3, 2011, at 4:53 PM, Anthony Pearcewrote: > In Tutorial 2, I was instructed to make a templates directory. It is > located at: > C:\DjangoProjects\mysite\templates > > Now again in Tutorial 3, section "Write views that actually do > something", I am given the instructions: > create a directory, somewhere on your filesystem, whose > contents Django can access. (Django runs as whatever user your server > runs.) Don't put them under your document root. > > > I think the document who's root I cannot put them under is the > views.py document, as that's what I had been editing. It is located > at: > C:\DjangoProjects\mysite\polls\views.py > > I guess my question is, where is the best place for this new templates > directory? Can I simply make a subdirectory in the templates > directory for the views.py template? For example, like this: > C:\DjangoProjects\mysite\templates\views\ > > Sorry for a question with likely a quite obvious solution, but thanks > again for any assistance. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.