Re: Team project via Git repo

2015-10-13 Thread Jonathan Querubina
This is a long shot, but, do you have .pyc files on the repository? If yes, try 
removing *.pyc

Sent from my iPhone

> On Oct 13, 2015, at 22:05, Jonathan Querubina <jota...@me.com> wrote:
> 
> No, if debug is true, you do not have to worry about statics yet
> 
> Are you activating the env before the runserver command?
> 
> Sent from my iPhone
> 
>> On Oct 13, 2015, at 21:56, Ralph Castain <r...@open-mpi.org> wrote:
>> 
>> 
>>> On Oct 13, 2015, at 5:42 PM, Jonathan Querubina <jota...@me.com> wrote:
>>> 
>>> Have you installed any dependencies via "pip” ?
>> 
>> Only Django itself was installed via “pip” - we went thru the binaries and 
>> edited the path. We also uninstalled Django and reinstalled it on the host 
>> using “pip”, but the behavior is the same.
>> 
>>> 
>>> If not and all the code has been done under your djando apps, the problem 
>>> could be on the git. Have you checked .gitignore ?
>> 
>> We don’t have a .gitignore at this time as we weren’t sure what should be 
>> ignored. We also tried just copying the environment (no Git involved), and 
>> had the same result. So my guess is that there is some static file or 
>> something that needs refreshing so Django recognizes the project.
>> 
>> The “welcome” page indicates that we have DEBUG=TRUE in our settings, but 
>> that we haven’t configured any URLs. Is the URL in a static file, perchance?
>> 
>> 
>>> 
>>> Sent from my iPhone
>>> 
>>>> On Oct 13, 2015, at 21:38, rhc.open...@gmail.com wrote:
>>>> 
>>>> Just to update: we also tried simply copying the entire virtual 
>>>> environment across, correcting for any differences in path. Still go the 
>>>> same behavior.
>>>> 
>>>> We'd really welcome some advice on this one as otherwise we won't be able 
>>>> to use Django - we need a way to collaborate on implementation.
>>>> 
>>>> Thanks
>>>> Ralph
>>>> 
>>>> 
>>>>> On Tuesday, October 13, 2015 at 2:57:50 PM UTC-7, rhc.o...@gmail.com 
>>>>> wrote:
>>>>> Hi folks
>>>>> 
>>>>> I'm a Django newbie (have found it very helpful!), so please excuse the 
>>>>> naivete. I have a question regarding team work on a Django project via 
>>>>> GitHub.
>>>>> 
>>>>> I followed your excellent tutorial and have a virtual Python v2.7 
>>>>> environment with Django 1.8.5 installed in it (FWIW: I thought I 
>>>>> installed Django 1.11, but django-admin --version shows 1.8.5). I then 
>>>>> created my app using "django-admin startproject foo" and got the project 
>>>>> subdirectory as expected. A quick check of the server showed the "Welcome 
>>>>> to Django" page.
>>>>> 
>>>>> I then added a bunch of model definitions and customized the admin page. 
>>>>> I verified that everything was okay by looking at the admin web page on 
>>>>> my localhost - the customized page is there, and I was able to add some 
>>>>> test data for one of the models. At this point, others want to pitch in 
>>>>> to help, and so I bundled everything in my project subdirectory 
>>>>> (including manage.py and the initial sqlite3 db) into a git repo and 
>>>>> pushed it up to GitHub.
>>>>> 
>>>>> The other team members also setup a virtual environment with Django, 
>>>>> using the same versions, and activated it. They then cloned the GitHub 
>>>>> repo and got all the project files as expected, and the directory 
>>>>> structure looks exactly the same.
>>>>> 
>>>>> However, when they runserver in the project, they only get the "Welcome 
>>>>> to Django" page. The project admin and login page doesn't show up. I've 
>>>>> verified that all the model and settings info is correct, but we haven't 
>>>>> been able to get the info to show on the web page.
>>>>> 
>>>>> Any suggestions on what we are doing wrong? I'm assuming a team can share 
>>>>> a Django project, but suspect we aren't collecting all the relevant files 
>>>>> or not getting the other team's environment set correctly.
>>>>> 
>>>>> Thanks
>>>>> Ralph
>>>> 
>>>> 
>>>> -- 
>>>> You received thi

Re: Team project via Git repo

2015-10-13 Thread Jonathan Querubina
No, if debug is true, you do not have to worry about statics yet

Are you activating the env before the runserver command?

Sent from my iPhone

> On Oct 13, 2015, at 21:56, Ralph Castain <r...@open-mpi.org> wrote:
> 
> 
>> On Oct 13, 2015, at 5:42 PM, Jonathan Querubina <jota...@me.com> wrote:
>> 
>> Have you installed any dependencies via "pip” ?
> 
> Only Django itself was installed via “pip” - we went thru the binaries and 
> edited the path. We also uninstalled Django and reinstalled it on the host 
> using “pip”, but the behavior is the same.
> 
>> 
>> If not and all the code has been done under your djando apps, the problem 
>> could be on the git. Have you checked .gitignore ?
> 
> We don’t have a .gitignore at this time as we weren’t sure what should be 
> ignored. We also tried just copying the environment (no Git involved), and 
> had the same result. So my guess is that there is some static file or 
> something that needs refreshing so Django recognizes the project.
> 
> The “welcome” page indicates that we have DEBUG=TRUE in our settings, but 
> that we haven’t configured any URLs. Is the URL in a static file, perchance?
> 
> 
>> 
>> Sent from my iPhone
>> 
>>> On Oct 13, 2015, at 21:38, rhc.open...@gmail.com wrote:
>>> 
>>> Just to update: we also tried simply copying the entire virtual environment 
>>> across, correcting for any differences in path. Still go the same behavior.
>>> 
>>> We'd really welcome some advice on this one as otherwise we won't be able 
>>> to use Django - we need a way to collaborate on implementation.
>>> 
>>> Thanks
>>> Ralph
>>> 
>>> 
>>>> On Tuesday, October 13, 2015 at 2:57:50 PM UTC-7, rhc.o...@gmail.com wrote:
>>>> Hi folks
>>>> 
>>>> I'm a Django newbie (have found it very helpful!), so please excuse the 
>>>> naivete. I have a question regarding team work on a Django project via 
>>>> GitHub.
>>>> 
>>>> I followed your excellent tutorial and have a virtual Python v2.7 
>>>> environment with Django 1.8.5 installed in it (FWIW: I thought I installed 
>>>> Django 1.11, but django-admin --version shows 1.8.5). I then created my 
>>>> app using "django-admin startproject foo" and got the project subdirectory 
>>>> as expected. A quick check of the server showed the "Welcome to Django" 
>>>> page.
>>>> 
>>>> I then added a bunch of model definitions and customized the admin page. I 
>>>> verified that everything was okay by looking at the admin web page on my 
>>>> localhost - the customized page is there, and I was able to add some test 
>>>> data for one of the models. At this point, others want to pitch in to 
>>>> help, and so I bundled everything in my project subdirectory (including 
>>>> manage.py and the initial sqlite3 db) into a git repo and pushed it up to 
>>>> GitHub.
>>>> 
>>>> The other team members also setup a virtual environment with Django, using 
>>>> the same versions, and activated it. They then cloned the GitHub repo and 
>>>> got all the project files as expected, and the directory structure looks 
>>>> exactly the same.
>>>> 
>>>> However, when they runserver in the project, they only get the "Welcome to 
>>>> Django" page. The project admin and login page doesn't show up. I've 
>>>> verified that all the model and settings info is correct, but we haven't 
>>>> been able to get the info to show on the web page.
>>>> 
>>>> Any suggestions on what we are doing wrong? I'm assuming a team can share 
>>>> a Django project, but suspect we aren't collecting all the relevant files 
>>>> or not getting the other team's environment set correctly.
>>>> 
>>>> Thanks
>>>> Ralph
>>>> 
>>> 
>>> 
>>> -- 
>>> 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.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/b13c6d50-2a22-40bf-a78d-752a7305914a%40googlegro

Re: Team project via Git repo

2015-10-13 Thread Jonathan Querubina
Have you installed any dependencies via "pip" ?

If not and all the code has been done under your djando apps, the problem could 
be on the git. Have you checked .gitignore ?

Sent from my iPhone

> On Oct 13, 2015, at 21:38, rhc.open...@gmail.com wrote:
> 
> Just to update: we also tried simply copying the entire virtual environment 
> across, correcting for any differences in path. Still go the same behavior.
> 
> We'd really welcome some advice on this one as otherwise we won't be able to 
> use Django - we need a way to collaborate on implementation.
> 
> Thanks
> Ralph
> 
> 
>> On Tuesday, October 13, 2015 at 2:57:50 PM UTC-7, rhc.o...@gmail.com wrote:
>> Hi folks
>> 
>> I'm a Django newbie (have found it very helpful!), so please excuse the 
>> naivete. I have a question regarding team work on a Django project via 
>> GitHub.
>> 
>> I followed your excellent tutorial and have a virtual Python v2.7 
>> environment with Django 1.8.5 installed in it (FWIW: I thought I installed 
>> Django 1.11, but django-admin --version shows 1.8.5). I then created my app 
>> using "django-admin startproject foo" and got the project subdirectory as 
>> expected. A quick check of the server showed the "Welcome to Django" page.
>> 
>> I then added a bunch of model definitions and customized the admin page. I 
>> verified that everything was okay by looking at the admin web page on my 
>> localhost - the customized page is there, and I was able to add some test 
>> data for one of the models. At this point, others want to pitch in to help, 
>> and so I bundled everything in my project subdirectory (including manage.py 
>> and the initial sqlite3 db) into a git repo and pushed it up to GitHub.
>> 
>> The other team members also setup a virtual environment with Django, using 
>> the same versions, and activated it. They then cloned the GitHub repo and 
>> got all the project files as expected, and the directory structure looks 
>> exactly the same.
>> 
>> However, when they runserver in the project, they only get the "Welcome to 
>> Django" page. The project admin and login page doesn't show up. I've 
>> verified that all the model and settings info is correct, but we haven't 
>> been able to get the info to show on the web page.
>> 
>> Any suggestions on what we are doing wrong? I'm assuming a team can share a 
>> Django project, but suspect we aren't collecting all the relevant files or 
>> not getting the other team's environment set correctly.
>> 
>> Thanks
>> Ralph
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/b13c6d50-2a22-40bf-a78d-752a7305914a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3A0F673C-020E-4EEA-BDE1-AAB35BBFBCD2%40me.com.
For more options, visit https://groups.google.com/d/optout.


Re: getting tuples from http request.GET

2015-03-08 Thread Jonathan Querubina
You could use the same variable name on the querystring and call:

request.GET.getlist

For example, on a select multiple field ou checkbox

 John
Mobile & Web developer
+55(12)98864-1594

> On Mar 8, 2015, at 00:01, Sunil Sawant  wrote:
> 
> Thanks  Collin, you cut out the crap from from my code. Simple is beautiful :)
> 
>> On Friday, March 6, 2015 at 5:11:45 PM UTC-8, Collin Anderson wrote:
>> Hi,
>> 
>> Normally query arguments are separated by &. If you're able to send the data 
>> like this:
>> 
>> https://mydesktop.com/validator?hostname1=host1.example.com=ca=2.2.2.2=host2.example.com=wa=3.3.3.3
>> 
>> Then you could do something like:
>> 
>> data = []
>> i = 0
>> while True:
>> i += 1
>> try:
>> data.append((request.GET['hostname%s' % i], request.GET['location%s' 
>> % i], request.GET['ip%s' % i]))
>> except KeyError:
>> break
>> 
>> Collin
>> 
>>> On Wednesday, March 4, 2015 at 7:57:17 PM UTC-5, Sunil Sawant wrote:
>> 
>>> Hi Guys,
>>> 
>>> Pretty new to Django, but used it blindly and works wonders. But here is a 
>>> situation I am blocked at now for a new project
>>> 
>>> I request.GET the following URL
>>> 
>>> https://mydesktop.com/validator?hostname1=host1.example.com,location1=ca,ip1=2.2.2.2,hostname2=host2.example.com,location2=wa,ip2=3.3.3.3
>>> 
>>> Am using request.GET I want to get the output in a tuple or hash form as:
>>> 
>>> [{host1.example.com:[ca,2.2.2.2]},{host2.example.com:[wa,3.3.3.3]}]
>>> 
>>> 
>>> 
>>> Once I have this data I can process it further.
>>> Please help
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/fbdcea09-29e8-4765-9f36-47539a387dbb%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA17689D-B76E-4ADA-8DBC-854180D7A7D6%40me.com.
For more options, visit https://groups.google.com/d/optout.


Re: Writing your first Django App Part 1

2014-09-02 Thread Jonathan Querubina
Just tupe in. Do not worry. 

Is just for learning about the shell and its power

Sent from my iPhone

> On Sep 2, 2014, at 20:07, Max Nathaniel Ho  wrote:
> 
> I'm following the instructions in the tutorial but am stuck at this part.
> 
> We are told to type in "python manage.py shell" and explore the database API. 
> 
> Thereafter there is a chunk of code that is presented. 
> 
> Am I supposed to type it into my Command Prompt box, and when I do, it will 
> be saved automatically? 
> 
> Where can I find the codeos so that I edit the codes in the future?
> 
> Thanks!
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/7c4092e5-e8d4-4d15-8065-0f8139d0743f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/F1D9152A-339E-4169-A51B-6CEBFCDBC816%40me.com.
For more options, visit https://groups.google.com/d/optout.


Re: hosting django app

2014-08-22 Thread Jonathan Querubina
dreamhost.com

Sent from my iPhone

> On Aug 22, 2014, at 05:25, ngangsia akumbo  wrote:
> 
> my boss uses php to build web apps
> 
> he is n9ot very convince that django can be very cheap in hosting as php.
> 
> is there any way i can host a django app whic is as cheap as php?
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/30d329d4-04c6-46cb-bc9a-76844e15d90a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/F99A6567-922B-43CE-B9E5-1EA2F2049D35%40me.com.
For more options, visit https://groups.google.com/d/optout.


Re: urls not maching

2014-07-13 Thread Jonathan Querubina
It seems tha you are using blog// (two slashes) on the url. Try blog/

Sent from my iPhone

> On Jul 13, 2014, at 6:52, ngangsia akumbo  wrote:
> 
> 
> 
> Here is the similar probe
> 
> views File
> # Create your views here.
> from blog.models import Post
> from django.shortcuts import render_to_response
> from django.template import RequestContext
> 
> def news_index(request):
> posts = Post.objects.all().order_by('published_date')
> context = {'posts': posts}
> return render_to_response('index.html', context, 
> context_instance=RequestContext(request))
> 
> 
> def news_detail(request, blogslug):
> posts = Post.objects.get(slug=blogslug)
> context = {'posts': posts}
> return render_to_response('news_detail.html', context, 
> context_instance=RequestContext(request))
> 
> Model File
> 
> from django.db import models
> 
> # Create your models here.
> 
> class Reporter(models.Model):
> name = models.CharField(max_length=60, blank=True)
> tell = models.IntegerField(blank=True, null=True)
> location = models.CharField(max_length=50, blank=True, null=True)
> address = models.TextField(max_length=250)
> 
> 
> class Post(models.Model):
> title = models.CharField(max_length=100)
> slug = models.SlugField(unique=True)
> published_date = models.DateTimeField(auto_now_add=True)
> image = models.ImageField(upload_to='static/blog')
> content = models.TextField()
> repoter = models.ForeignKey(Reporter)
> 
> 
> def __unicode__(self):
> return self.title
> 
> PROJECT/URLS
> 
> from django.conf.urls import patterns, include, url
> 
> #enable the admin:
> from django.contrib import admin
> admin.autodiscover()
> 
> urlpatterns = patterns('',
>
> url(r'^blog/', include('blog.urls')),
> url(r'^admin/', include(admin.site.urls)),
> )
> 
> 
> APP/URL
> from django.conf.urls import patterns, url
> from blog import views
> 
> urlpatterns = patterns('',
> 
> url(r'^$', views.news_index, name='news_index'),
> 
> WHEN I TYPE 127.0.0.1:8000/blog it outputs the first url in this file as a 
> series of links.
> url(r'^(?P\d+)/$', views.news_detail, name='news_detail'),
> When i clik on the links this second url breaks down, giving me the error 
> below
> 
> )
> 
> 
> Page not found (404)
> 
> Request Method:   GET
> Request URL:  http://127.0.0.1:8000/blog//
> Using the URLconf defined in rango.urls, Django tried these URL patterns, in 
> this order:
> 
> ^blog/ ^$ [name='news_index']
> ^blog/ ^(?P\d+)/$ [name='news_detail']
> ^admin/
> The current URL, blog//, didn't match any of these.
> 
> You're seeing this error because you have DEBUG = True in your Django 
> settings file. Change that to False, and Django will display a standard 404 pa
> 
> 
> Please i really need help here
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/e7a715a2-252f-4db7-ad6d-ce1aa721916c%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2C3BF0E3-21B7-48D4-B6A7-9BF83EB7A4DC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: MySQL-python on ubuntu?

2014-07-09 Thread Jonathan Querubina
Do

apt-get install python-dev
apt-get install libmysqlclient-dev

And then

apt-get install python-mysqldb



On Jul 9, 2014, at 9:57 AM, François Schiettecatte  
wrote:

> Hi
> 
> I am installing django on Ubuntu and have a question about installing 
> MySQL-python?
> 
> I know I can get install it on CentOS/Fedora/Red Hat with this:
> 
>   yum -y install MySQL-python
> 
> but I cant find the MySQL-python package on apt-get? Is it in there under a 
> different name? I can find 'python-mysqldb' but not sure if it is the same?
> 
> Any suggestions greatly appreciated.
> 
> Thanks
> 
> François
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/08F54026-8F7B-4BA2-A805-2F5AA9F7D4CC%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/AE561199-5610-43BF-9695-A4CD9AFCE404%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: User related objects

2014-07-02 Thread Jonathan Querubina
My problem is doing this on django-admin.

Thanks!

On Jul 2, 2014, at 8:31 AM, Lachlan Musicman <data...@gmail.com> wrote:

> There are a couple of ways to do it, filtered queries are the obvious solution
> 
> https://docs.djangoproject.com/en/1.6/topics/db/queries/#retrieving-specific-objects-with-filters
> 
> But it would require that your model have either a group or owner
> permission set.
> 
> (eg
> class MyModel(models.Model):
>   permission_level = ForeignKey(PermissionGroup)
> or
>   owner = ForeignKey(User)
> )
> 
> This has some good examples too
> 
> http://www.django-rest-framework.org/api-guide/permissions
> 
> 
> cheers
> L.
> 
> 
> On 2 July 2014 21:21, Jonathan Querubina <john.chro...@gmail.com> wrote:
>> Hi guys,
>> 
>> I need to  customize my admin to show only the data related to the user who
>> inserted.
>> 
>> Example: When a user log in, the admin shows only the posts inserted by this
>> user.
>> 
>> AFAIK, django only set permissions my model, not by objects.
>> 
>> Is there a way (or a pip package) to implement this?
>> 
>> Thanks!
>> 
>> 
>>  Att//
>> 
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/E151B4A3-E3F3-4E26-9342-85E5212C2241%40gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> The idea is that a beautiful image is frameable. Everything you need
> to see is there: It’s everything you want, and it’s very pleasing
> because there’s no extra information that you don’t get to see.
> Everything’s in a nice package for you. But sublime art is
> unframeable: It’s an image or idea that implies that there’s a bigger
> image or idea that you can’t see: You’re only getting to look at a
> fraction of it, and in that way it’s both beautiful and scary, because
> it’s reminding you that there’s more that you don’t have access to.
> It’s now sort of left the piece itself and it’s become your own
> invention, so it’s personal as well as being scary as well as being
> beautiful, which is what I really like about art like that.
> ---
> Adventure Time http://theholenearthecenteroftheworld.com/
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGBeqiM%2B5Eb8LxUv8N7cW7st8jesJ8Ec-m0wMj8WJAi3JC1YwA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7F5940A4-31FF-474D-AC18-2430B3688213%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: User related objects

2014-07-02 Thread Jonathan Querubina
Is there a way to set the ForeignKey(User) or ForeignKey(PermissionGroup) 
automatically by the logged user?

On Jul 2, 2014, at 8:31 AM, Lachlan Musicman <data...@gmail.com> wrote:

> There are a couple of ways to do it, filtered queries are the obvious solution
> 
> https://docs.djangoproject.com/en/1.6/topics/db/queries/#retrieving-specific-objects-with-filters
> 
> But it would require that your model have either a group or owner
> permission set.
> 
> (eg
> class MyModel(models.Model):
>   permission_level = ForeignKey(PermissionGroup)
> or
>   owner = ForeignKey(User)
> )
> 
> This has some good examples too
> 
> http://www.django-rest-framework.org/api-guide/permissions
> 
> 
> cheers
> L.
> 
> 
> On 2 July 2014 21:21, Jonathan Querubina <john.chro...@gmail.com> wrote:
>> Hi guys,
>> 
>> I need to  customize my admin to show only the data related to the user who
>> inserted.
>> 
>> Example: When a user log in, the admin shows only the posts inserted by this
>> user.
>> 
>> AFAIK, django only set permissions my model, not by objects.
>> 
>> Is there a way (or a pip package) to implement this?
>> 
>> Thanks!
>> 
>> 
>>  Att//
>> 
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/E151B4A3-E3F3-4E26-9342-85E5212C2241%40gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 
> -- 
> The idea is that a beautiful image is frameable. Everything you need
> to see is there: It’s everything you want, and it’s very pleasing
> because there’s no extra information that you don’t get to see.
> Everything’s in a nice package for you. But sublime art is
> unframeable: It’s an image or idea that implies that there’s a bigger
> image or idea that you can’t see: You’re only getting to look at a
> fraction of it, and in that way it’s both beautiful and scary, because
> it’s reminding you that there’s more that you don’t have access to.
> It’s now sort of left the piece itself and it’s become your own
> invention, so it’s personal as well as being scary as well as being
> beautiful, which is what I really like about art like that.
> ---
> Adventure Time http://theholenearthecenteroftheworld.com/
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAGBeqiM%2B5Eb8LxUv8N7cW7st8jesJ8Ec-m0wMj8WJAi3JC1YwA%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/E662808C-4910-4113-9270-1351D3765AE4%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


User related objects

2014-07-02 Thread Jonathan Querubina
Hi guys,

I need to  customize my admin to show only the data related to the user who 
inserted.

Example: When a user log in, the admin shows only the posts inserted by this 
user.

AFAIK, django only set permissions my model, not by objects.

Is there a way (or a pip package) to implement this?

Thanks!


 Att//

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/E151B4A3-E3F3-4E26-9342-85E5212C2241%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


TDD

2014-05-31 Thread Jonathan Querubina
Guys,

Could anyone send me a link for a good tutorial on django TDD?

Thanks!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/21274350-53F1-489B-8546-159C6FF7ED10%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how can i get all values of a field

2014-05-23 Thread Jonathan Querubina
Hi dota and java,

If your model for the categories is Category, you would use:

Category.objects.all()

Sent from my iPad

> On May 23, 2014, at 23:23, dotaandj...@gmail.com wrote:
> 
> i can't find a more effective method from the documentation,but thank you all 
> the same
> 
> 在 2014年5月23日星期五UTC+8下午11时12分13秒,sacrac写道:
>> 
>> Hi, you read the documentation? 
>> https://docs.djangoproject.com/en/1.6/ref/models/querysets/
>> 
>> 
>>> On Fri, May 23, 2014 at 6:36 AM,  wrote:
>>> In Models i declare Novel: name,category
>>> table structure:
>>> ---
>>> id|   name   |category
>>> ---
>>> 
>>> 
>>> now i want to get all category,but i have no idea,who can help me?
>>> 
>>> my english is poor,please don't joke me
>>> -- 
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/27a36b70-7f89-4a02-97d5-a5e27789068e%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/17e7d1fb-b004-4141-b30b-7578fcf72c2e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4800DB60-6DD7-43A1-9B1F-2E518C56242F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tutorial to deploy (with install instructions) = django+gunicorn+nginx

2014-05-23 Thread Jonathan Querubina
I have tryied a lot of them, and this one was the salvation

http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/

Thanks Rob!

On May 23, 2014, at 12:17 PM, carlos <crocha09...@gmail.com> wrote:

> Hi, Digital Ocean have many tutorial 
> begginner : 
> https://www.digitalocean.com/community/articles/how-to-deploy-a-local-django-app-to-a-vps
> advanced: 
> https://www.digitalocean.com/community/articles/how-to-install-and-configure-django-with-postgres-nginx-and-gunicorn
> 
> Cheers
> 
> 
> On Fri, May 23, 2014 at 8:04 AM, Rob Skidmore <robskidmor...@gmail.com> wrote:
> Found this after a digging for a bit. Might help.
> 
> http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/
> 
> 
> On Friday, May 23, 2014 4:36:23 AM UTC-6, Jonathan Querubina wrote:
> Hi guys, i am on my first deploy and loosing my hair over this. 
> 
> Could anyone send me a tutorial on how to make this deploy? 
> 
> I am on DigitalOcean, but their tutorial doesnt work, even if i use all the 
> same configuration, virtualenv names and so on... 
> 
> Thanks guys! 
> 
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/050612a2-c67b-4835-8a04-7bcd269b831d%40googlegroups.com.
> 
> For more options, visit https://groups.google.com/d/optout.
> 
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAM-7rO2fS-de9uxjg2rbQ2JqmCBuUmyzG8pmZ%3D5sw4uX%2BxGReQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/27FD68FB-B805-47C8-A793-5C8548E7C297%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Tutorial to deploy (with install instructions) = django+gunicorn+nginx

2014-05-23 Thread Jonathan Querubina
Hi guys, i am on my first deploy and loosing my hair over this.

Could anyone send me a tutorial on how to make this deploy?

I am on DigitalOcean, but their tutorial doesnt work, even if i use all the 
same configuration, virtualenv names and so on...

Thanks guys!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1AEC575B-8FDF-4CB2-8F36-27B9054F61AD%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


STATIC and MEDIA

2014-03-29 Thread Jonathan Querubina
Guys

What is the best way to configure and make accessible via URL the STATIC and 
the MEDIA uri?

I can`t seem to find a good way, and get so many errors for the both being 
equal.

Can someone send me an example of this configs?

Thanks!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7C03A25B-2634-4FDD-A4B2-B6F13CEA699D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django Admin Multiupload Field

2014-03-15 Thread Jonathan Querubina
Camilo,

I can`t use inline (i tryied) because the user has to select file by file, not 
all the same time

On Mar 15, 2014, at 1:58 PM, Camilo Torres <camilotorr...@gmail.com> wrote:

> 
> On Saturday, March 15, 2014 11:18:05 AM UTC-4:30, Jonathan Querubina wrote:
> how can i have a Multiupload Field on a Model for the Django Admin? 
> 
> I Found this: https://github.com/TND/django-files-widget 
> Hello,
> 
> I don't fully understand your needs, but may be you can use inlines:
> https://docs.djangoproject.com/en/1.6/ref/contrib/admin/#inlinemodeladmin-objects
> 
> Regards,
> Camilo
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/4d360c3b-b977-4f6c-b626-1e5bb238a3ea%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/98A9E3A3-A659-4B90-A97F-B9BCBFA8F76D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django Admin Multiupload Field

2014-03-15 Thread Jonathan Querubina
Hi guys,

Maybe this is a noob question, but how can i have a Multiupload Field on a 
Model for the Django Admin?

I Found this: https://github.com/TND/django-files-widget

And sounds amazing, but i can`t get Pillow installed on my mac (10.9 / Xcode 
5.1)

Any of you have this problem?

There`s an alternative?

Thanks!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/66E5D0D6-9CE8-4118-B485-7F60F19B0B05%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Ajax Request on Admin Edit Form

2014-03-05 Thread Jonathan Querubina
Hi guys.

How can i edit the Admin Default Edit Form on django to insert my custom JS on 
the page?

I mean, when i am editing a model, i need to insert some JS code on it

Is this possible?

Thanks

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/26F9D3F2-917C-44A9-B926-C4185C74EC4F%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django multiple model from one form submit

2014-02-19 Thread Jonathan Querubina
You can use an admin custom insert form

With stackedinline


Jonathan Querubina

Diretor de Tecnologia
+55(12)98864-1594
www.phocus.com.br

> On Feb 19, 2014, at 19:24, Henrique Oliveira <henriqueollive...@gmail.com> 
> wrote:
> 
> Hi there,
> 
> I have the model below:
> 
> class Ticket(models.Model):
> REAL = 'R'
> FREE = 'F'
> TYPES = (
> (REAL, 'Real'),
> (FREE, 'Free'),
>  )
>amount = models.DecimalField()
> user = models.ForeignKey(User)
> 
> 
> class Pick(models.Model):
> ticket_id = models.ForeignKey(Ticket)
> number = models.CharField(max_length=4)
> 
> Many Tickets can be created on the same submit depending on the ticket type.
> 
> how can do that
> 
> i have attached a mockup 
> 
> Cheers
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/d3d1cdf8-0097-4323-9a4f-660dfc8c7b84%40googlegroups.com.
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/834BB0F1-AFC5-4C20-A222-32650E0A7DD0%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django + PostgresSQL. I'm a newbie.

2014-02-14 Thread Jonathan Querubina
And he is using gTranslate, for sure. Maybe he is not aware of what he wants... 

Віталій: Search Google First


Jonathan Querubina

Diretor de Tecnologia
+55(12)98864-1594
www.phocus.com.br

> On Feb 14, 2014, at 18:10, "C. Kirby" <mist...@gmail.com> wrote:
> 
> The topics you are asking about are all over Google. Please do a little work 
> before asking here. No one want to do your research for you, or re-type what 
> is already available to you.
> If you have searched google and don't understand a reference then you should 
> ask specifically about what you don't understand here.
> 
>> On Friday, February 14, 2014 1:42:18 PM UTC-6, Віталій Лисенко wrote:
>> As work in the Postgres Sql in Django. Give a link to the desired site or 
>> explain in detail.
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/5025cec6-d366-4412-a72c-94dcdc4198ea%40googlegroups.com.
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/466AC694-F7EE-48C3-A806-B4009C3F7DE2%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: is_valid

2014-02-14 Thread Jonathan Querubina
blank = True on the model field

On Feb 14, 2014, at 8:53 AM, fabricio  wrote:

> how do i django not validate some fields
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/8df99d36-44ea-43a8-ba34-8853ac5dd263%40googlegroups.com.
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7A824B9D-D052-4022-ADE3-5ABCA7FF046D%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Checkboxes collection instead of a multiple select

2014-02-12 Thread Jonathan Querubina
Tom,

Thanks for the feedback!

This can be used on the admin form?

On Feb 6, 2014, at 12:48 PM, Tom Evans <tevans...@googlemail.com> wrote:

> On Thu, Feb 6, 2014 at 11:15 AM, Jonathan Querubina
> <john.chro...@gmail.com> wrote:
>> Hi guys,
>> 
>> How do i show a collection of checkboxes instead of a multiple select?
>> 
>> Thanks!
> 
> Sounds like you want to change the widget on a form:
> 
> https://docs.djangoproject.com/en/1.6/ref/forms/widgets/
> 
> Specifically, changing it from a SelectMultiple widget to a
> CheckboxSelectMultiple:
> 
> https://docs.djangoproject.com/en/1.6/ref/forms/widgets/#checkboxselectmultiple
> 
> Cheers
> 
> Tom
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAFHbX1%2B7xxQYugLU8M%3DBq58pbfyZhF1WAHa31NpJr1xDsxcKgQ%40mail.gmail.com.
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9C46C8FF-60DE-4D1E-A0B0-E7E519917FBE%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Checkboxes collection instead of a multiple select

2014-02-06 Thread Jonathan Querubina
Hi guys,

How do i show a collection of checkboxes instead of a multiple select?

Thanks!

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c513dd55-e0d4-4f8e-8c05-f45b3bc83814%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.