Re: tutorial site not working

2017-11-05 Thread Vijay Khemlani
did you keep the manage.py shell open while making the code changes? you need to close/open it again On Sat, Nov 4, 2017 at 10:36 PM, Kyle Foley wrote: > Let me also show what I have placed in the terminal > > >>> Question.objects.get(pk=1) > > > > >>> q = Question.objects.get(pk=1) > > >>> q.w

Re: Seeking design guidance on a Team model where a user sends invitation to other users to join the team

2017-11-05 Thread Jack
Thanks, I'm looking into it and you are right, it seems quite fitting for my project. Stupid question as I've never used a 3rd party app before... Am I supposed to download the source code and put that into my project folder? I already did 'pip install django-invitations'. On Saturday, Nove

Re: Seeking design guidance on a Team model where a user sends invitation to other users to join the team

2017-11-05 Thread shreekant bohra
You don't need to download source code if you have installed via pip. You can add it to INSTALLED_APPS list in settings.py and follow other instructions given in their github page. -- Shree Kant Bohra Co-founder Geekybuddha Technologies On Sun, Nov 5, 2017 at 7:46 PM, Jack wrote: > Thanks, I

OSError: [Errno 13] Permission denied:... /_dummy_thread

2017-11-05 Thread Mel DeJesus
Any suggestions? --> After attempting pip install -r requirements.txt in a virtual environment, I got a number of files loaded before getting this: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main status = se

Re: OSError: [Errno 13] Permission denied:... /_dummy_thread

2017-11-05 Thread Vineet Kothari
Use sudo On Nov 6, 2017 12:00 AM, "Mel DeJesus" wrote: Any suggestions? --> After attempting pip install -r requirements.txt in a virtual environment, I got a number of files loaded before getting this: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/

Re: OSError: [Errno 13] Permission denied:... /_dummy_thread

2017-11-05 Thread Mel DeJesus
as in: sudo pip install -r requirements.txt ? On Sunday, November 5, 2017 at 1:33:07 PM UTC-5, me.vineetkothari wrote: > > Use sudo > > On Nov 6, 2017 12:00 AM, "Mel DeJesus" > > wrote: > > > > Any suggestions? --> > > After attempting pip install -r requirements.txt in a virtual environment,

Re: OSError: [Errno 13] Permission denied:... /_dummy_thread

2017-11-05 Thread Mel DeJesus
Do that only leads to another permission denied error - Installing collected packages: argparse, configparser, konfig, pyzmq, inflect, jaraco.itertools, tempora, jaraco.stream, jaraco.classes, backports.functools-lru-cache, jaraco.functools, jaraco.text, jaraco.collections, jaraco.logging, irc

Re: ManytoMany field in Django admin not appearing

2017-11-05 Thread mohammad k
use this code for ManytoMany fields in django admin : filter_horizontal = ('groups', 'user_permissions',) On Fri, Nov 3, 2017 at 1:45 PM, Paul wrote: > I have a Product model, an Image Model and a Category Model. > > A Product can have multiple Images(Foreign Key) and a Product can be in > mult

Re: ManytoMany field in Django admin not appearing

2017-11-05 Thread mohammad k
class UserAdminPanel(admin.ModelAdmin): inlines = (UserPlaylist, UserVideos, UserComment, UserReplays, ) list_per_page = 20 fieldsets = ( (None, {'fields': ('username', )}), (_('Personal info'), {'fields': ('first_name', 'last_name', 'email')}), (_('Permissions')

is anybody in NYC?

2017-11-05 Thread li qiongyao
is anybody in NYC? -- 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@g

Re: is anybody in NYC?

2017-11-05 Thread Huy T
+1 -- Upper West Side. On Sun, Nov 5, 2017 at 5:01 PM, li qiongyao wrote: > is anybody in NYC? > > -- > 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-

Re: is anybody in NYC?

2017-11-05 Thread Larry Martell
On Sun, Nov 5, 2017 at 5:01 PM, li qiongyao wrote: > is anybody in NYC? No, everyone left. -- 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+unsubsc

Re: Exception Value: UNIQUE constraint failed: accounts_profile.user_id

2017-11-05 Thread Luiz Guilherme Schiefler de Arruda
Hello, I got your solution. Just one question, as I posted, I am using CBV. How can I do it using CBV? Thanks, Luiz Em sábado, 4 de novembro de 2017 21:46:05 UTC-2, Jani Tiainen escreveu: > > Hi. > > Using formset to handle profile is a bit incorrect solution. > > See > http://musings.tinbrai

Re: OSError: [Errno 13] Permission denied:... /_dummy_thread

2017-11-05 Thread Vineet Kothari
try to update your python : https://stackoverflow.com/questions/2720014/upgrading-all-packages-with-pip On Mon, Nov 6, 2017 at 12:10 AM, Mel DeJesus wrote: > Do that only leads to another permission denied error - > > Installing collected packages: argparse, configparser, konfig, pyzmq, > inflec