In
http://stackoverflow.com/questions/20789063/get-fatal-error-when-install-psycopg2
OP mentions that "Just installed python 3.4 and assumed python3-dev would
suffice. Nope. Had to do python3.4-dev. "
Perhaps you need to do the same thing...
On 25 July 2014 10:29, Henrique Oliveira
wrote:
> H
Hi Kyle,
Apologies for the typo on my part that led you astray.
Regarding the approach you describe -- you may want to look into Django's
Forms library. That library is designed to specifically handle the kind of
problem you describe (a pull-down select box filled with all the options
populated f
Hi Mario,
I already installed python-dev
On Jul 24, 2014 9:11 PM, "Mario Gudelj" wrote:
> Install this first:
>
> sudo apt-get install python-dev
>
> Then try installing that package again.
>
>
> On 25 July 2014 09:55, Henrique Oliveira
> wrote:
>
>>
>>
>>
>>
>>
>> *Hi All,I am trying to instal
Install this first:
sudo apt-get install python-dev
Then try installing that package again.
On 25 July 2014 09:55, Henrique Oliveira
wrote:
>
>
>
>
>
> *Hi All,I am trying to install psycopg2 but I am getting this error:*I
> already installed python3-dev and libpq-devAny idea?*
>
> Downloadin
*Hi All,I am trying to install psycopg2 but I am getting this error:*I
already installed python3-dev and libpq-devAny idea?*
Downloading/unpacking psycopg2
Downloading psycopg2-2.5.3.tar.gz (690kB): 690kB downloaded
Running setup.py (path:/opt/d/build/psycopg2/setup.py) egg_info for
pac
Hi All,
I'm currently using a MSSQL DB to access some data and am using django's
inspectdb results. I've had to tweak some of the model but so far things
have been smooth sailing. Today I needed to run a lookup that spanned
through some tables forward and reverse and tested the following in s
After some more research, turns out it is "values_list" instead of
"value_list"
--
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...@googleg
One issue I'm still having is actually getting the list of group names. I'm
trying to use the line
groups = Group.objects.value_list('name', flat=True)
but I'm getting an error that reads
'GroupManager' object has no attribute 'value_list'
Any idea about this?
--
You received this message
Hi, Liu Xuan--
What result do you get when you do the following?
Python 2.7.6
>>> import sys
>>> sys.path
On Thu, Jul 24, 2014 at 1:23 PM, New Django User wrote:
> Hi, I have problems with Django in windows 7.
>
> I installed Django using Windows Powershell:
>
> PS C:\Python27> pip install dja
Hi, I have problems with Django in windows 7.
I installed Django using Windows Powershell:
PS C:\Python27> pip install django
Requirement already satisfied (use --upgrade to upgrade): django in
c:\anaconda\lib\site-package.
However, when I run "import django" in Python 2.7.6 shell, it showed t
Thanks for your help, Russ. I'm planning to expose the user to the names of
the groups using a drop list on my site. They'll choose a group, then our
site will get the list of users in that group from Django, and then send a
query to our database to get the data for that group of users.
--
You
I have created two new fields on my model. Created and updated. They are
both DateTimeField objects. When I run makemigrations it asks for a fix
because there is no default value for the two fields. I have tried
datetime.now(), datetime.datetime.now(), datetime.date.today(), etc.
However, I kee
Hello Everyone..
I have posted this question in Stackoverflow. I didn't not get answers so
far.. posting here to hope some help from you guys..
http://stackoverflow.com/questions/24936919/display-foreign-key-values-in-django-haystack-search-results
I am new to django and haystack. Can anyone pl
Same for me in my personal projects and in our company, we fully switched
to django-allauth and we are quite happy
Regards,
Oscar
--
Oscar Carballal Prego - Senior Software Developer
http://oscarcp.com | @pizte
2014-07-23 8:15 GMT+01:00 Santiago L :
> El sábado, 19 de julio de 2014 02:17:24 UT
On Friday, July 18, 2014 5:31:14 AM UTC-7, Santiago L wrote:
>
> Hi,
>
> Some weeks ago I noticed that django-registration is not longer maintained
> by
> its creator:
>
I've switched to django-allauth for my Django projects, which does an
equally superb job of supporting both social and traditi
On Thursday, 24 July 2014 13:53:54 UTC+1, Fabian Zentner wrote:
>
> Hey guys,
>
> I'm new with Django and Python as well. I'm doing the tutorial 1 on the
> website (https://docs.djangoproject.com/en/1.6/intro/tutorial01/).
> I'm using Python27 (C:\Python27)
> In C:\Python27\Scripts\ I have the
On Thu, Jul 24, 2014 at 3:53 PM, Fabian Zentner <
zentner.fab...@googlemail.com> wrote:
> *Poll.objects.get(pub_date__year=current_year) *
try to use
*Poll.objects.first()*
you have 2 object and it is a reason of your traceback
Many thanks,
Serge
+380 636150445
skype: skhohlov
--
You rece
Hey guys,
I'm new with Django and Python as well. I'm doing the tutorial 1 on the
website (https://docs.djangoproject.com/en/1.6/intro/tutorial01/).
I'm using Python27 (C:\Python27)
In C:\Python27\Scripts\ I have the project mysite and polls like in the
tutorial
In the part "Playing with th
On Thu, Jul 24, 2014 at 1:17 PM, Frankline wrote:
> I have implemented search in my Django application to allow searching by
> more than one field. This results in Django always using a LEFT OUTER JOIN,
> which in my case generates the wrong results. However, when I change the SQL
> generated from
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
El 24/07/14 09:36, alireza sanaee escribió:
> I want to hide some models in django admin from some users which
> are admins but I don't know it is possible or not .
Django's permissions system[0] should allow you to do exactly that.
[0]
https://do
I want to hide some models in django admin from some users which are admins
but I don't know it is possible or not .
Thank you in advance .
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving email
I have implemented search in my Django application to allow searching by
more than one field. This results in Django always using a LEFT OUTER JOIN,
which in my case generates the wrong results. However, when I change the
SQL generated from a LEFT OUTER JOIN to an INNER JOIN, it returns the
correct
If it's only static pages, you could look first django.contrib.flatpages to
see how to do it.
On 23/07/14 00:05, ngangsia akumbo wrote:
> I want to create an app where the user has the ability to create new pages
> on their website
>
> the app should be called pages
>
> can someone give me an
23 matches
Mail list logo