Re: Create an OAuth2 Client Application problem

2014-12-31 Thread Hossein Rashnoo
I did a stupid mistake. I use oauth2 before using django auth and create user. On Wednesday, December 31, 2014 10:33:34 AM UTC+3:30, Hossein Rashnoo wrote: > > Hi > I follow this tutorial and here >

Re: How to generate the docs with the new style?

2014-12-31 Thread Aliane Abdelouahab
ah, thank you :) i hope they will include it sonner ^_^ Le mardi 30 décembre 2014 14:51:51 UTC+1, Tim Graham a écrit : > > Unfortunately, the offline docs use an entirely separate layout/theme so > the new styles would need to be copied manually over here: >

FormSets with arbitary number of forms

2014-12-31 Thread Some Developer
I've been reading the documentation on FormSets and must admit that I am a bit confused. I have a model called Album that contains many Songs. But when a user creates a new album I have no idea how many songs the Album will contain. So I want to create a FormSet that has an Album form and

Re: Write Multiple Text Files into a Single CSV File

2014-12-31 Thread Scot Hacker
On Tuesday, December 30, 2014 9:54:10 PM UTC-8, Martin Mirero wrote: > > Hi folks, > > I'm just cutting my teeth on Python/Django and need some assistance on > something I've been grappling with for a few days: > >- I have a bunch of text files on disk that all have the same basic >

create unmanaged model to oracle view/synonym

2014-12-31 Thread Fabio C. Barrionuevo da Luz
Hello, is possible with Django 1.7 create a unmanaged Django model for Oracle database View? I succeeded in doing this using sqlalchemy, However, would like to use Django and Django ORM. -- Fábio C. Barrionuevo da Luz Acadêmico de Sistemas de Informação na Faculdade Católica do Tocantins -

Re: Write Multiple Text Files into a Single CSV File

2014-12-31 Thread Vijay Khemlani
I'm not too sure about the format of the content, but maybe this to create the file? import csv files = ['f1.txt', 'f2.txt', 'f3.txt'] with open('output.csv', 'wb') as f: writer = csv.writer(f) for input_file_name in files: with open(input_file_name, 'r') as input_file:

Re: Create an OAuth2 Client Application problem

2014-12-31 Thread monoBOT
The current URL, accounts/login/, didn't match any of these. says that you dont have this url "accounts/login/" mapped in your urls.py file 2014-12-31 9:14 GMT+00:00 James Schneider : > Hello, > > Without seeing your code, it is difficult to tell you exactly what is >

Write Multiple Text Files into a Single CSV File

2014-12-31 Thread Martin Mirero
Hi folks, I'm just cutting my teeth on Python/Django and need some assistance on something I've been grappling with for a few days: - I have a bunch of text files on disk that all have the same basic format: first line is the *title* and the rest is the *body* - I want to create one

Re: Create an OAuth2 Client Application problem

2014-12-31 Thread James Schneider
Hello, Without seeing your code, it is difficult to tell you exactly what is wrong, but your view is requiring the user to already be logged in, and since it isn't, Django is redirecting you to the default LOGIN_URL setting, which is not defined in your urls.py.