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

Re: Google Maps with Routes

2013-11-10 Thread Nick Apostolakis
by 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: Google Maps with Routes

2013-11-09 Thread Nick Apostolakis
o-users. > To view this 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: Registration in django

2013-10-16 Thread Nick Apostolakis
after the registration. 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.oncr

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

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

2013-09-15 Thread Nick Apostolakis
-- -- 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 subscribed to the Google Groups

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

2013-09-15 Thread Nick Apostolakis
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 -- -- You

Re: Complex query

2013-09-08 Thread Nick Apostolakis
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 Msc

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

Re: Return 2 values

2013-07-08 Thread Nick Apostolakis
ttp://stackoverflow.com/questions/4651172/reference-list-item-by-index-within-django-template -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete

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-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

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

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

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

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

Re: looking for an apache/system admin master

2013-06-18 Thread Nick Apostolakis
to this 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: 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: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-12 Thread Nick Apostolakis
Thank you -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message b

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

2013-03-11 Thread Nick Apostolakis
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 Web Site: http

Re: Saving browser output as pdf

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

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: Using django's oodb alone

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

Re: Django and HSQLDB

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

Re: tree.io installation with django

2012-09-20 Thread Nick Apostolakis
stallation... -- -- 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 "Djang

Re: tree.io installation with django

2012-09-20 Thread Nick Apostolakis
.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 Google Groups &

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-18 Thread Nick Apostolakis
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 -- -- N

Re: tree.io installation with django

2012-09-17 Thread Nick Apostolakis
s 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 &quo

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-15 Thread Nick Apostolakis
u problems stem from django version incompatibility -- ------- Nick Apostolakis email:nicka...@oncrete.gr Web Site: http://nick.oncrete.gr --- -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: django makemessages doesn't recognize trans in templates

2012-08-20 Thread Nick Apostolakis
the translation works fine -- --- Nick Apostolakis email:nicka...@oncrete.gr Web Site: http://nick.oncrete.gr --- -- You received this mess

Re: advantages and disadvantages of Raw sql queries in django

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

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 Apostolakis

Re: advantages and disadvantages of Raw sql queries in django

2012-06-30 Thread Nick Apostolakis
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: nicka

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: Python FAQ: Webdev

2012-06-07 Thread Nick Apostolakis
hat 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 Apostolakis e-m

Re: Python FAQ: Webdev

2012-05-12 Thread Nick Apostolakis
k 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" group. To

Re: Error 500 instead of 404

2011-11-20 Thread Nick Apostolakis
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 -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web

Re: I can't activate the admin site

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

Re: I can't activate the admin site

2011-10-31 Thread Nick Apostolakis
out 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. -- ------ Nick Apostola