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
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
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
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
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/
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,
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
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
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?
--
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
+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-
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
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
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
14 matches
Mail list logo