Re: Python FAQ: Webdev

2012-05-12 Thread Nick Apostolakis
about Flask and Pyramid either. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Python FAQ: Webdev

2012-06-07 Thread Nick Apostolakis
o with mongo db. Anyway what I like about Django is that it has a rich feature set, it is infinitely extendable AND can be virtualized (though pip, fabric, etc) making replication of installation easy. -- ------ Nick Apos

Re: Django and PHP webhosting in Germany

2012-06-17 Thread Nick Apostolakis
cost of 7.9€ You can then install anything you like on it. I have such a server with them and it works fine. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr

Re: advantages and disadvantages of Raw sql queries in django

2012-06-30 Thread Nick Apostolakis
very portable. I can reproduce my development environment in 10mins (with the use of pip and virtualenv of course) and start working in a new machine with minimum hassle. -- -- Nick Apostolakis e-mail:

Re: advantages and disadvantages of Raw sql queries in django

2012-06-30 Thread Nick Apostolakis
. Interesting idea, I haven't used that yet, could you give an example of that? Would you use a method calling the ORM that would include something like self.objects.select_related().bla bla? Thanks -- -- Nick Aposto

Re: advantages and disadvantages of Raw sql queries in django

2012-06-30 Thread Nick Apostolakis
a lot. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed t

Re: django makemessages doesn't recognize trans in templates

2012-08-20 Thread Nick Apostolakis
orks fine -- --- Nick Apostolakis email:nicka...@oncrete.gr Web Site: http://nick.oncrete.gr --- -- You received this message because you are subscribed to t

Re: tree.io installation with django

2012-09-15 Thread Nick Apostolakis
e67dd853#dvMCsmIWwYZUWV2qKMFxGLMI4pq+O3PiPy2iHAp3ZzQ= > > > Why don't you use django 1.3 as it is described in the requirements file? Thats a simple way to see if you problems stem from django version incompatibility -- ------

Re: tree.io installation with django

2012-09-16 Thread Nick Apostolakis
simple and it is a very valuable technique -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr

Re: tree.io installation with django

2012-09-17 Thread Nick Apostolakis
ctions closely otherwise you will get errors. -- ------ Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed to the Google Groups

Re: tree.io installation with django

2012-09-18 Thread Nick Apostolakis
my installation it failed to install the initial mysql data so i have done a manual import of mysql initial data using this command mysql -u treeiouser -p< sql/mysql-treeio-current.sql treeio maybe your problem is the same -- --

Re: tree.io installation with django

2012-09-19 Thread Nick Apostolakis
On 18/09/2012 10:33 μμ, Fabian Weiss wrote: YES! I got this error: http://snipurl.com/251cbjb After doing your MySQL Code it WORKS!! :) THX alot! You are welcome :) -- -- Nick Apostolakis e

Re: tree.io installation with django

2012-09-20 Thread Nick Apostolakis
rm try python manage.py migrate projects -- ------ Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed to the

Re: tree.io installation with django

2012-09-20 Thread Nick Apostolakis
working installation... -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed to the Google Groups "

Re: Django and HSQLDB

2012-11-03 Thread Nick Apostolakis
ny sql command you like to export the database... -- ------- Nick Apostolakis email:nicka...@oncrete.gr Web Site: http://nick.oncrete.gr --- -- You received this message because you are

Re: I can't activate the admin site

2011-10-31 Thread Nick Apostolakis
mplains about IndentationError: unexpected indent" I would guess that you have typed an extra space or tab somewhere, that ruins the identation. Since you use an IDE it should be easy to find it. -- ---------- Nic

Re: I can't activate the admin site

2011-10-31 Thread Nick Apostolakis
thing -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because yo

Re: Error 500 instead of 404

2011-11-20 Thread Nick Apostolakis
ist(name) TemplateDoesNotExist: 500.html Thank you for your time. Best regards, Ricardo F. Teixeira If the template exists, then it could easily be a directory or file permission error. I have seen the same in my installation a number of times :) Check out the paths and the permissions -- --

Re: Using django's oodb alone

2013-01-03 Thread Nick Apostolakis
ANGO_SETTINGS_MODULE'] ='settings' from myapp.models import User, Reminder, ExtraUserAttributes etc -- ------ Nick Apostolakis e-mail: nicka...@oncrete.gr

Re: Saving browser output as pdf

2013-02-24 Thread Nick Apostolakis
it as csv or as pdf. The pdf part is accomplished with reportlab library. Cheers -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr

Re: Saving browser output as pdf

2013-02-24 Thread Nick Apostolakis
e aesthetically different. Depending on your design, choose the one most comfortable. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-11 Thread Nick Apostolakis
authentication right? Thanks, Pratik -- Tthis is cool, I was about to ask the same thing. I believe that this thread will be interesting. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-12 Thread Nick Apostolakis
s I am after? Thank you -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received thi

Re: How does it all work

2013-06-10 Thread Nick Apostolakis
) the program returns through the same interface a response, the webserver returns the response to the world. A simple idea with a lot of consequences... -- -- Nick Apostolakis e-mail: nicka

Re: looking for an apache/system admin master

2013-06-18 Thread Nick Apostolakis
s group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -

Re: django deploy structure

2013-06-26 Thread Nick Apostolakis
You could use a code versioning system like git or bazaar.when you want to deploy just pull from your repository Στις 26 Ιουν 2013 8:46 μ.μ., ο χρήστης "fred" έγραψε: > I've got django 1.5 deploying successfully to a Linux Apache system with > mod_wsgi. This system is still being developed and

Re: Does django have something similar to resource in rails?

2013-07-03 Thread Nick Apostolakis
Check out the Rest apis (tastypie etc ) they should be what you are looking for Στις 03 Ιουλ 2013 11:03 μ.μ., ο χρήστης "gabby gabriel" < gabbyha...@gmail.com> έγραψε: > I just started learning django. I was a rails developer before that. I was > wondering if there is anything similar to resource

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
You can always return a container object with the values you want as it's instance variables Στις 05 Ιουλ 2013 12:39 ΜΜ, ο χρήστης "Hélio Miranda" έγραψε: Hi My doubt is that I am not getting an image and its caption. I'll explain, I have my application to enter the picture and the caption GridF

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
I am not in front of a computer right now in order to offer a full fledged examle, but you can insert your values in a dictionary or a list and return that Στις 05 Ιουλ 2013 12:54 ΜΜ, ο χρήστης "Hélio Miranda" έγραψε: can you give me an example? -- You received this message because you are s

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
You should be fine everything is an object so you can hold different datatypes in a list Στις 05 Ιουλ 2013 1:26 ΜΜ, ο χρήστης "Hélio Miranda" έγραψε: My problem is that I am returning an image (content_type = 'image / jpeg') and the legend is not an image but text -- You received this messag

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
On 05/07/2013 02:27 μμ, Nick Apostolakis wrote: You should be fine everything is an object so you can hold different datatypes in a list As a reference, check this out http://zetcode.com/lang/python/datatypes/ in the tuple and lists section and this http://stackoverflow.com/questions

Re: Return 2 values

2013-07-08 Thread Nick Apostolakis
7;t affect your url.py http://stackoverflow.com/questions/4651172/reference-list-item-by-index-within-django-template -- ------ Nick Apostolakis e-mail: nicka...@oncrete.gr Web

Re: PDF generator in Django

2013-08-05 Thread Nick Apostolakis
Hello there, I have used the report lab library with good results for simple PDF with tabular data On 5 Aug 2013 16:27, "graeme" wrote: > I recently used Latex and it worked fairly well. > > I had to write a little function to escape latex special characters, and > you have to be a bit careful wi

Re: Complex query

2013-09-08 Thread Nick Apostolakis
able since it cannot limit the number of related objects. It looks like you are looking for a subquery maybe this will be useful http://stackoverflow.com/questions/8217490/query-of-a-subquery-in-django -- ------ Nick Apostolakis

Re: [django-announce] [ANNOUNCE] Security releases issued -- vulnerability in the wild

2013-09-15 Thread Nick Apostolakis
1.3.x affected by this vulnerability? Thank you -- ------ Nick Apostolakis Msc in IT, University of Glasgow e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -

Re: [django-announce] [ANNOUNCE] Security releases issued -- vulnerability in the wild

2013-09-15 Thread Nick Apostolakis
Thanks a lot for your answer -- ------ Nick Apostolakis Msc in IT, University of Glasgow e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are s

Re: 403 Forbidden messages when saving items in django-admin

2013-10-06 Thread Nick Apostolakis
Ask if Apache mod sec is installed on the server If it is it can account for a lot of weirdiness Στις 06 Οκτ 2013 7:48 μ.μ., ο χρήστης "Alban Hertroys" έγραψε: > > On Sunday, October 6, 2013 6:09:22 PM UTC+2, אברהם סרור wrote: >> >> > You don't have permission >> the error seems to be fairly desc

Re: Registration in django

2013-10-16 Thread Nick Apostolakis
Just my 2 cents, it may suit your needs too -- ------ Nick Apostolakis Msc in IT, University of Glasgow e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -

Re: Google Maps with Routes

2013-11-09 Thread Nick Apostolakis
discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAPiONwnuV6vDGtkuK%2BfNyNePd0rOdO0gsxGQ-URoQ_iu8%2BcioQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- ---

Re: Google Maps with Routes

2013-11-10 Thread Nick Apostolakis
googling geodjango and maps. Keep in mind the risk of google changing the license and pricing of their api (e.g the translation api used to be free of charge, now it has a price) Cheers -- -- Nick Apostolakis Msc in IT, University

Re: Need some advise on how to use a RESTful API

2013-12-20 Thread Nick Apostolakis
Hello there, In my point of view, when you develop an app using a rest full api you go through the same moves as when writing the web app using the native interface. In my case I have created both. I wrote first the web interface and then the api, but a different approach would be to write first th