Re: Problème de création de mon projet (django-admin.py startproject mysite)
Hi Chenge your folder Now you are in the python/scripts folder that have restrictions To do that you need to add the scripts folder into the variable path and call the django-admin from another folder, for example your user document folder. BlackBerry de movistar, allí donde estés está tu oficin@ -Original Message- From: edithSender: django-users@googlegroups.com Date: Fri, 6 Sep 2013 06:51:19 To: Reply-To: django-users@googlegroups.com Subject: Problème de création de mon projet (django-admin.py startproject mysite) Salut, je suis très débutante sur le framework Django .. Je n'arrive pas à créer mon projet, pourtant j'ai survie tous les étapes d'installation. Voici le message que je reçois. Merci d’avance pour vos réponses, mon SE est Windows8. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post 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. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post 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: Getting started with django( the new one is confusing , especially first episode)
Hi, Why you don't use google If you find vagrant, virtualenv and more you obtain all the informations. You obtain more infos from the projects site than in any mailing group. BlackBerry de movistar, allí donde estés está tu oficin@ -Original Message- From: naufalyah...@gmail.com Sender: django-users@googlegroups.com Date: Sun, 14 Jul 2013 03:05:16 To:Reply-To: django-users@googlegroups.com Subject: Getting started with django( the new one is confusing , especially first episode) What is vagrant ?? how do i set it up, what is cheffile? what is virtual env??? Please could someone explain these to me. Cheers! Naufal -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post 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. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post 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: A great opportunity for Python-Django Developers
Hi More infos will be a good idea: For example, where, salary range, if in USA, you help with VISA? Thank's BlackBerry de movistar, allí donde estés está tu oficin@ -Original Message- From: Jitendra JainSender: django-users@googlegroups.com Date: Mon, 6 May 2013 09:06:59 To: Reply-To: django-users@googlegroups.com Subject: A great opportunity for Python-Django Developers A great opportunity for Python-Django gurus | Send your resumes to sa...@recoverify.com It's a well funded start-up with a great team (10+ yrs exp. techies, one of them is accredited investor in US) It's one of those true start-up opportunities, where you will work at very fast pace - grow technically and get nice equity + salary. You will love the culture, ownership and visibility! Of course, we like smartest of the smart engineers who are also passionate - so if you have it in you - send your latest resume and Github handle to sa...@recoverify.com - Hands-on experience with Python 2.7/3.3 - Experience with Django and/or any other web frameworks would be a huge plus! - Hands-on MySQL and any flavour of Linux, a must - Should have an understanding of how to use Public APIs - Google, Facebook, Twitter etc. - Experience/knowledge of AWS API/SDK and ecosystem will help greatly - Passion to learn/excel and a great attitude is very important -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Django - Query
Hi You need to use exceptions to solve this problem try: movieObject=Movie.objects.get(.) except Movie.DoesNotExist: #make the insert query movieObject=Movie() BlackBerry de movistar, allí donde estés está tu oficin@ -Original Message- From: Hélio MirandaSender: django-users@googlegroups.com Date: Sat, 4 May 2013 06:49:48 To: Reply-To: django-users@googlegroups.com Subject: Re: Django - Query That was it, but now I'm the problem is that, I wonder if there is a movie on BD, but there insert. I am trying as follows, but I do not get: And it gives me the following error: Movie matching query does not exist. The film is not clear ... Does anyone know what I'm doing wrong? Código (Python): if Movie.objects.get(MovieTitle='Avatar').exists(): reportMovie.MovieTitle = 'Avatar' reportMovie.MovieTitlePT = line["Movie Name (PT)"] reportMovie.save() -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Happy new year
Happy new year from spain to all django lovers. I wish you a new year with tons of django projects. Cheers Cingusoft BlackBerry de movistar, allí donde estés está tu oficin@ -- 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: TemplateView class and process_template_response problem
No one have experimented this problem? El jueves, 15 de noviembre de 2012 01:47:31 UTC+1, cingusoft escribió: > > Hi All > > i have a middleware that override the response.template_name variable > > class MyMiddleware(object): > > def process_template_response(self,request, response): > response.template_name = ("%s/%s"%("admin",request.template_name)) > > the view is very easy > > class Admin_HomeView(TemplateView): > template_name = "home.html" > > and i catch an error > > 'WSGIRequest' object has no attribute 'template_name' > > the response have no the template_name attribute > what is wrong? > > thank's and have a nice day > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/eI6CxJfop3EJ. 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.
TemplateView class and process_template_response problem
Hi All i have a middleware that override the response.template_name variable class MyMiddleware(object): def process_template_response(self,request, response): response.template_name = ("%s/%s"%("admin",request.template_name)) the view is very easy class Admin_HomeView(TemplateView): template_name = "home.html" and i catch an error 'WSGIRequest' object has no attribute 'template_name' the response have no the template_name attribute what is wrong? thank's and have a nice day -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/LgLow7MLNyYJ. 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.
strange problem with dajaxice and javascript
hi all i have a javascript callback function that return a data json string from a dajaxice view this is the callback function function message_callback(data){ alert(data.id); var id_book = data.id; var uploader = $('#uploader').pluploadQueue({ url : '/admin/ecommerce/books/images/upload/'+id_book.toString()+'/' }); ... the aleet return the correct id number but the url is : /admin/ecommerce/books/images/upload/undefined have someting wrong? sorry if you think this is a stupid question but i have lost a lot of time googleing this problem without any result have a nice day -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/EWOvfUBXKnAJ. 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.
User Administration
hi guys my question is: in my application i have a views with a method to insert a new user. the form sebd the informations and i register the user with: us=User.objects.create_user(new_data['username'], new_data['email'], new_data['password']) this method return an User object, and i want to add a group to this object i have utilized us.groups.add('registered') #with the group name but fails grp=Group.objects.filter(name='registered').values() #get the group us.groups.add(grp['id']) #with the group name but fails please have a method to add one user to a specific group? i have readed the documentation but i dont view a response to my question thanks --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---