Re: Django file upload and python Encryption How change file name

2016-04-02 Thread Harold Gomez
/myapp should be given at url filed please help -- 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

Django file upload and python Encryption How change file name

2016-04-02 Thread Harold Gomez
please help me I have a django file upload sytem a python file encryption code the file encryption is done by a function called encrypt_file which will encrypt the file from path/filename.extention to path/filename.enc the filename.enc is fixed and only one file is created how can i make it

file upload encryption file name changing

2016-04-02 Thread Harold Gomez
please help me I have a file upload app also a file encryption method in that file encryption method a file is encrypted from a path/file.extenssion to a path/filename.enc --->(1) I gave the file name using MEDIA_FILE How can I give a filename.enc

Re: Migrating older 1.4 project to 1.9

2016-04-02 Thread Larry Martell
On Wed, Mar 30, 2016 at 10:07 AM, Fred Stluka wrote: > Roger, > > Yeah, I too have a large project that I'll hopefully be migrating > from 1.4 to 1.9 soon. > > It's about 3.5 years worth of work, over 200,000 lines of code > in about 1000 Python source file and Django template

Re: Looking for ways to improve my skills

2016-04-02 Thread 술욱
2016-04-02 19:29 GMT-03:00 Devrhoid Davis : > Can anyone provide me with some links as to where I could find > resources for improving my skills and then avenues for using these skills to > generate income? > In my experience, just start coding. Skills come with time,

django-extensions: dumpscript/runscript manytomany with through= broken?

2016-04-02 Thread Daniel Wilcox
Hello, I was wondering if anyone knows a good way to handle restoring a backup taken with a m2m intermediary model. I'm trying to upgrade from my sqlite database to a real database and would like to keep the data that was created thus far. Basically the models look like this: class

Looking for ways to improve my skills

2016-04-02 Thread Devrhoid Davis
Hi All, I have been working with Python for just over 3 years now and have recently taken up django. I have completed both the polls app and have created an address book app by following a tutorial on youtube. I am looking fro ways to improve my competence with django and possibly some end to

Multiple values to Django

2016-04-02 Thread Denis Makarov
Hello! I have a MyForm which have name, quantity and quandesc fields. I have a basic UI form for adding this fileld. I added button for adding another instances of field on web page. Jquery func below: function addContainer() { $("#name").clone().appendTo("#food-container");

Re: Django Forms vs Angularjs

2016-04-02 Thread Fred Stluka
Fabio, Good point! Browser-side security is VERY easy to bypass. For example, just use Firebug or the built-in dev tools of Firefox, Chrome, or Safari (or probably even IE by now), to edit the HTML of the current page and then click the OK/Send/Submit button. --Fred

Re: Request works with sqlite not with Postgres

2016-04-02 Thread Tazo Gil
I forgot to precise the type of the field Chrono.temps: temps = models.DurationField(null=True) Le samedi 2 avril 2016 19:08:20 UTC+2, Tazo Gil a écrit : > > Hello, > > The following request works in my dev django project (sqlite) by not in > production with postgres > > out: >>> >

Request works with sqlite not with Postgres

2016-04-02 Thread Tazo Gil
Hello, The following request works in my dev django project (sqlite) by not in production with postgres out: >>> Questionnaire.objects.filter(site_id=1).annotate(moyenne=Avg('chrono__temps')).values('title','moyenne') The errors : out: Traceback (most recent call last): out: File "",

obtaining related object from django.db.models.fields.related.ForeignKey

2016-04-02 Thread Axel Rau
Hi all, from a model object, I can get a related object shortcut, using the name of the foreign key field: >>> m1 = Mailbox.objects.get(pk=38) >>> str(m1.localdomainfk) 'framailx.de' But if I have the foreign key field instead of its name, I can only get the pk of the related object: >>> f1 =

Re: Migrating older 1.4 project to 1.9

2016-04-02 Thread Source3Computing
As stated above, take small steps. Take the time to read the release notes for each minor version. Most of the minor versions are bug fixes and you can scan through them. Pay close attention to migrations if using South. In Django 1.7 South is not used. Django incorporated migrations into

¿Como hacer mi primera aplicacion con Django en Ubuntu? ¿How Can I make my first project with Django?

2016-04-02 Thread Kike Martinez
Hola quisiera saber como puedo hacer un proyecto con Djando desde cero gracias -- 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