Sunday, April 28, 2013

Re: Abridged summary of django-users@googlegroups.com - 16 Messages in 10 Topics




On Sat, Apr 27, 2013 at 9:06 AM, <django-users@googlegroups.com> wrote:

Group: http://groups.google.com/group/django-users/topics

    "Hélio Miranda" <helio13m@gmail.com> Apr 26 10:04AM -0700  

    I am having a problem which is as follows:
    I have to insert a csv file of movies in bd, but I can not enter the name
    of the genre of the film directly. I have to insert the id of the genre.
    ...more
    Andrew Boltachev <andrewboltachev@gmail.com> Apr 26 10:34AM -0700  

    Hi. May be you need
     
    if not line["IdGenre"] in genres:
     
    instead?
     
     
    On Friday, April 26, 2013 9:04:42 PM UTC+4, Hélio Miranda wrote:
    ...more
    "Hélio Miranda" <helio13m@gmail.com> Apr 27 02:08AM -0700  

    Made the proposed change, but what happens is that when will insert the
    movie with a genre that already exists to get the id of that genre, gives
    the following error: ObjectId ...more
    Babatunde Akinyanmi <tundebabzy@gmail.com> Apr 27 01:13AM -0700  

    The right way is to open django_openid_auth source and copy the contents of
    its templates folder into your own templates directory and then edit from
    your templates directory.
     
    I wrote about this ...more
    "sebastián serrano" <sebastian.serrano@gmail.com> Apr 26 06:34PM -0700  

    Hi,
    I'm building a bitcoin payment gateway and would like to know the
    interest into develop a plugin for python/django projects and if you are
    interested for which package (satchmo, ...more
    danny <shevitz@lanl.gov> Apr 26 08:41PM  

    Howdy,
     
    In python 3.3 you no longer need __init__.py in directories to be
    interpreted as package namespaces. In my source I have the following tree
    src
    /apps
    /index
    /mapping
    ...more
    Chris Lawlor <lawlor.chris@gmail.com> Apr 26 06:28AM -0700  

    V,
     
    You're exactly correct - make sure you only cache what you actually want
    cached : ) Anything that should only be visible for one page view isn't a
    good candidate for caching. ...more
    Venkatraman S <venkat83@gmail.com> Apr 26 09:31PM +0530  

    I find testing in dev server(runserver) using a filebased cache is the
    easiest and quickest way to test. One can delete the files and check if and
    when new entries are created in the folder.
     
    -V ...more
    Binith Babu <binithb@gmail.com> Apr 26 06:30AM -0700  

    I got the same error today, anybody know a solution?
     
    On Tuesday, 9 April 2013 12:06:57 UTC-7, Tomas Pelka wrote:
    ...more
    Tom Evans <tevans.uk@googlemail.com> Apr 26 02:53PM +0100  


    > I got the same error today, anybody know a solution?
     
    Apart from the solution I already posted to the list in this thread?
     
    Cheers
     
    Tom
    ...more
    Binith Babu <binithb@gmail.com> Apr 26 07:25AM -0700  

    I am sorry I coud not find a solution in this thread
     
    Did you mean I am using an older version of django tables2 ?
    In that case I am not, I am using the latest version installed with pip. ...more
    Tom Evans <tevans.uk@googlemail.com> Apr 26 02:47PM +0100  

    > gen = Genre.objects.all()
     
    > for obj in gen:
    > print genres[obj.GenreType]
     
    genres is still at this point an empty dictionary, so looking ...more
    "Hélio Miranda" <helio13m@gmail.com> Apr 26 07:09AM -0700  

    But when I do this:
    Código (Python):
    for obj in gen:
    genres [obj.GenreType] = obj.id
    print genres [obj.GenreType]
     
    Prints the id of the genre, so it is wrong right?
    ...more
    "Richard E. Cooke" <rcooke1963@gmail.com> Apr 26 07:04AM -0700  

    I used the *django-contacts *project as my starting point for a company
    contact database. Its really cool, it keeps "addresses", "phone numbers",
    etc in seperate db table so you can associate as ...more
    Chris Lawlor <lawlor.chris@gmail.com> Apr 26 06:15AM -0700  

    Hadi,
     
    What is your SESSION_COOKIE_AGE set to? This setting controls session
    expiry. The default is 2 weeks. If you are not setting SESSION_COOKIE_AGE,
    check that your code is not calling ...more

You received this message because you are subscribed to the Google Group django-users.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
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+unsubscribe@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+unsubscribe@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.
 
 

No comments:

Post a Comment