Hello all,
i run into this package https://github.com/jdelic/django-dbconn-retry and I
was wondering why is not django doing it by itself?
It has timeout and other parameters, why not also a retry parameter
(default 0)?
is there any drawback?
PS: has anyone used that package and confirms that i
18 11:10:33 CEST Stefano Tranquillini wrote:
>
> > mostly curiosity, why does the username
> >
> https://docs.djangoproject.com/en/1.11/ref/contrib/auth/#django.contrib.auth
> > .models.User.username allow only _, @, +, . and - characters?
> > is there a reason f
Hi all,
mostly curiosity, why does the username
https://docs.djangoproject.com/en/1.11/ref/contrib/auth/#django.contrib.auth.models.User.username
allow only _, @, +, . and - characters?
is there a reason for that?
--
You received this message because you are subscribed to the Google Groups
day, March 27, 2018 at 10:31:46 AM UTC+2, Stefano Tranquillini wrote:
>
> Hi all,
>
> I would like to personlize a widget adding an extra link. In particular I
> want to change the forms.widgets.CheckboxSelectMultiple .
> I've read this: https://docs.djangoproject.com/en/2
Hi all,
I would like to personlize a widget adding an extra link. In particular I
want to change the forms.widgets.CheckboxSelectMultiple .
I've read this: https://docs.djangoproject.com/en/2.0/ref/forms/renderers/
but I can't still make it working, I did this piece of code
class MultiChoiceFi
Thanks,
On Wed, Mar 15, 2017 at 9:43 AM, Mike Dewhirst
wrote:
> On 15/03/2017 7:12 PM, Stefano Tranquillini wrote:
>
>> Hi people.
>>
>> I've to do a migration for the database, specifically I've to rename a
>> table.
>>
>> To do so I've
Hi people.
I've to do a migration for the database, specifically I've to rename a
table.
To do so I've a RunPython that runs this sql statemnet
`ALTER TABLE "old_table" RENAME TO "new_table"`
First question: should I use
https://docs.djangoproject.com/en/1.8/ref/migration-operations/#renamemod
Hi there,
I'm using the StreamingHttpResponse to stream a response, it works great.
Now, I've a middleware that measures the size of req/response that users
do.
For normal HttpResponse i use len(response.content) [i know that it does
not give the bytes, but it's pretty close], for the streamin
do with all the references among tables.
On Thu, Oct 6, 2016 at 10:45 AM, Erik Cederstrand wrote:
>
> > Den 6. okt. 2016 kl. 09.54 skrev Stefano Tranquillini <
> stefano.tranquill...@gmail.com>:
> >
> > Hi all,
> >
> > I quickly skimmed into the group but i
Hi all,
I quickly skimmed into the group but i did not find an updated answer.
what i want to do is to have a database for each user that register to my
service, the structure of the databse is the same for all, the data are
just separated.
I want to do this for two reasons:
- be able to move
It seems that i missed a part while merging.
On Mon, Sep 5, 2016 at 5:55 PM, Michal Petrucha <
michal.petru...@konk.org> wrote:
> On Mon, Sep 05, 2016 at 08:44:55AM -0700, Stefano Tranquillini wrote:
> > Hello
> >
> > I've a problem syncing the db.
> &g
Hello
I've a problem syncing the db.
I run the command: django-admin migrate
System check identified some issues:
Operations to perform:
Synchronize unmigrated apps: oauth2_provider,
Apply all migrations: admin, Synchronizing apps without
migrations:
Creating tables...
Running deferr
Graham wrote:
>
> Did you read
> https://docs.djangoproject.com/en/stable/ref/csrf/#how-it-works ?
>
> On Thursday, April 28, 2016 at 11:24:40 AM UTC-4, Stefano Tranquillini
> wrote:
>>
>> Hello,
>> i was running a test on a website i dev with django and the system
&
Hello,
i was running a test on a website i dev with django and the system pointed
out that "There are indications that attempts to protect against CSRF is in
place. By using two different sessions the same tokens were retrieved. This
may indicate a buggy behavior in the protection mechanism." .
i gave up and create a machine on AWS and deployed everything.
it's not that complex, u can find tutorial online .
On Sat, Jul 12, 2014 at 1:24 AM, Rob wrote:
> gmail.com> writes:
>
> >
> >
> > I'm having a similar problem - I don't see errors from the
> EB console - but django is not load
2 PM UTC+1, Stefano Tranquillini
wrote:
>
> Django 1.5 is just came out and it ships the StreamingHttpResponse.
>
> What i want to do is to print the output of a stream response into a
> template, having for example a bar that grows based on the streamed data
> (something simil
Django 1.5 is just came out and it ships the StreamingHttpResponse.
What i want to do is to print the output of a stream response into a
template, having for example a bar that grows based on the streamed data
(something similar to a loading bar).
so far i've found a solution that basically
Hi all.
i've a conceptual problem that i would like to solve.
Let's take as example a blog.
In all the pages of the blog i would like to have a colum containing the
list of tags and the list of the top-10 posts.
Now, i can create a base.html template where i render the data. but, how
should i d
On Sunday, December 30, 2012 6:01:24 PM UTC+1, Amirouche wrote:
>
> Héllo Stefano,
>
> On Sunday, December 30, 2012 1:27:12 PM UTC+1, Stefano Tranquillini wrote:
>>
>> Hi all.
>> in the appfog ML we were fighting again the possibility to serve static
>> file
then create
> a new environment, you might have better luck..
> -D
>
>
> On Tuesday, October 30, 2012 7:43:29 AM UTC-7, Stefano Tranquillini wrote:
>>
>> Well
>> i was able to play with it only right now.
>> there's a thing i can't understand. what
Jumping in the thread.
is GAE supporting django? i knew that something is supported but
not completely (like db is non rel in GAE).
is there a tutorial on how to set it up? what did you follow?
my 2 cents on the server, right now i'm using AWS free tier, it's for
12months and it's good. after
2-10-30 14:28:42,875 ERRORThe specified WSGIPath of
"application.py" was not found in the source bundle
and i don't have any application.py file in my folder .
this application.py i s specified in the .elasticbeanstalk/optionsettings
Il giorno mercoledì 24 ottobre 2012 14:0
o match the data i want to display and render this in a
template?
On Sunday, October 28, 2012 10:03:21 PM UTC+1, Sergiy Khohlov wrote:
>
> Have you tried detailview ?
> Also it is possible to add some values to the temple in view
>
> 2012/10/28 Stefano Tranquillini >:
> >
Hi all.
just a question about how to proceed.
when i've to display data direct from the model (the db) one in a page is
simple.
what if i want to display aggregate data or some data that needs logic?
i've to do it in the view and add the object to the contex, or it's better
to do a custom tag filte
ainer:python:staticfiles]
> /static =
>
>
> Then type eb update and trick should work.
>
>
> On Friday, 12 October 2012 11:54:37 UTC+2, Stefano Tranquillini wrote:
>>
>> Mmm. seems that i missing something.
>>
>> this is the log
>>
>> 2012
th?
this is the directory tree:
.
|.ebextensions
| |config
|.elasticbeanstalk
| |config
| |optionsettings
|manage.py
|mysites
| |.DS_Store
| |__init__.py
| |__init__.pyc
| |settings.py
| |settings.pyc
| |urls.py
| |urls.pyc
| |__
same problem, did you solve it?
On Monday, October 8, 2012 7:22:51 PM UTC+2, shlomi oberman wrote:
>
> I'm trying without succes to setup a simple application using django with
> elastic beanstalk from my windows machine.
> Does anyone have any expreience with this? I am currently getting the
>
hard as you could
>> make a Parent Model or Mixin to make things easier.
>>
>> Another option is to use something like django-guardian to handle all of
>> your permissions. However, the one time I've used it (required by a third
>> party package) it wasn&
example of the updateview here:
> http://stackoverflow.com/questions/5531258/example-of-django-class-based-deleteview/10903943#10903943
>
> On Tue, Oct 9, 2012 at 10:48 AM, Stefano Tranquillini <
> stefano.tr...@gmail.com > wrote:
>
>> Hi all.
>> I'm trying
ocial-auth
Il giorno 09/ott/2012 17:57, "psychok7" ha scritto:
> yes you are right. i deleted the same name user and it works. but how can
> i control this with oauth users and users that register normally?
>
> On Tuesday, October 9, 2012 4:49:21 PM UTC+1, Stefano Tran
Django put numbers because you already have in the db a user with the fb
username.
check it.
On Tuesday, October 9, 2012 5:19:00 PM UTC+2, psychok7 wrote:
>
> hey thanks for the reply. Can you point out some examples here i can get
> do all that in the right way?
>
> On Tuesday, October 9, 2012
31 matches
Mail list logo