Re: Django formtools wizard produces blank page (No error returned)

2016-02-09 Thread James Schneider
On Mon, Feb 8, 2016 at 5:36 AM, Martín Torre Castro < martin.torre.cas...@gmail.com> wrote: > If I understand well, you mean that my form templates have to extend the > main wizard template. Is that correct? > > In previous versions this was achieved by writing template_name = > 'main_wizard_templ

Re: Running automated expiration date events

2016-02-09 Thread James Schneider
On Mon, Feb 8, 2016 at 10:18 AM, Rod Delaporte wrote: > I have a field of a model that changes states but I need to automatically > modify that value after an expiration datetime has come. Is there a way to > do this? > > Here is an example: > > class Post(models.Model): > created_at = models.Dat

WeakMethod import error in Django 1.9 with python 3.3

2016-02-09 Thread Mohammad Asif
Hello, I'm using django 1.9.1 with python 3.3. Whenever I'm running manage.py runserver, I'm getting following error. * File "/home/travis/virtualenv/python3.3.5/lib/python3.3/site-packages/django/dispatch/__init__.py", line 9, in * * from django.dispatch.dispatcher import Signal, receiver #

DjangoCon Europe 2016 -- Call for Sponsors!

2016-02-09 Thread Ola Sitarska
Hi everyone! A number of generous sponsors have already stepped forward to help make DjangoCon Europe happen, but we still need a couple more. Can you help? DjangoCon team would love to hear from you <2...@djangocon.eu>. DjangoCon Europe is run entirely by volunte

Django admin, InLineForm and many2many fields

2016-02-09 Thread Karim
Hello everyone, I have a problem and I don't understand how to solve it. I have a simple model: Supplier(models.Model): organization = models.CharField(..) location = models.ManyToManyfield(Location, blank=True) Location(models.Model): address = models.CharField(..) active = mode

Re: WeakMethod import error in Django 1.9 with python 3.3

2016-02-09 Thread Tim Graham
As noted in the Django 1.9 release notes, "Django 1.9 requires Python 2.7, 3.4, or 3.5." On Tuesday, February 9, 2016 at 5:49:41 AM UTC-5, Mohammad Asif wrote: > > Hello, > > I'm using django 1.9.1 with python 3.3. > Whenever I'm running manage.py runserver, I'm getting following error. > > * Fil

Codec H.264 if Free?

2016-02-09 Thread ylativ oknesyl
I am web-programmer and using on my wesite video (mp4). Please tell me it is free or H.264 payable -- 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+

./manage.py runserver 0.0.0.0:8080 is not working, No module named django.core.management

2016-02-09 Thread John Travolta
Hi, in the past I succeeded to start python server but now I changed VPS and I can't do it. here is what I get, i tried to find an answer with google but no success: *./manage.py runserver 0.0.0.0:8080* Traceback (most recent call last): File "./manage.py", line 8, in from django.core.ma

manage.py runserver is not working, No module named django.core.management

2016-02-09 Thread John Travolta
Hi, in the past I succeeded to start python server but now I changed VPS and I can't do it. here is what I get, i tried to find an answer with google but no success: *./manage.py runserver 0.0.0.0:8080* Traceback (most recent call last): File "./manage.py", line 8, in from django.core.ma

Re: ./manage.py runserver 0.0.0.0:8080 is not working, No module named django.core.management

2016-02-09 Thread Daniel Roseman
On Tuesday, 9 February 2016 17:02:25 UTC, John Travolta wrote: > > Hi, > in the past I succeeded to start python server but now I changed VPS and I > can't do it. > > here is what I get, i tried to find an answer with google but no success: > > *./manage.py runserver 0.0.0.0:8080

Diving into Django 2016

2016-02-09 Thread Alan Auckland
Hi everyone, I have been doing lots of reading about which way to go for web development and programming. I think I have finally decided to dive into Python with Django. I really like the idea that it is such a versatile language spreading across many areas. What resources

mathematical function and django connect

2016-02-09 Thread Xristos Xristoou
hello, i create some python mathematical function on python idle, i want to create website where the user import value numbers on the function and take the results from that. question one,how to connect my mathematical function on the django? question two,how to connect input and output from the

Re: mathematical function and django connect

2016-02-09 Thread Sergiy Khohlov
Add regext to the url.py and view function to it Add function to the view.py accepted function values from request object and return value of your functions Create template which few input values field and shown result Many thanks, Serge +380 636150445 skype: skhohlov On Tue, Feb 9, 201

Re: mathematical function and django connect

2016-02-09 Thread Xristos Xristoou
what is regext? Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > > hello, > > > i create some python mathematical function on python idle, > i want to create website where the user import value numbers on the > function > and take the results from that. > q

Re: mathematical function and django connect

2016-02-09 Thread Fabio C. Barrionuevo da Luz
https://en.wikipedia.org/wiki/Regular_expression https://docs.djangoproject.com/en/1.9/topics/http/urls/ https://regex101.com/#python On Tue, Feb 9, 2016 at 5:41 PM, Xristos Xristoou wrote: > what is regext? > > Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos > Xristoou

Re: mathematical function and django connect

2016-02-09 Thread Xristos Xristoou
yeah my bad for the regext i know that with the full name btw,form its not nesecery to create ? my task is to copy paste my code in the view,create the regext,and cell on my templete ?only just ? Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > > hello, >

Re: mathematical function and django connect

2016-02-09 Thread Xristos Xristoou
yeah my bad for the regext i know that with the full name btw,form its not nesecery to create ? my task is to copy paste my code in the view,create the regext,and connect on my templete ?only just ? hello, > > > i create some python mathematical function on python idle, > i want to create websi

Re: Right place to decrypt/decode data from DB before passing it to UI without affect data in DB itself.

2016-02-09 Thread James Schneider
On Feb 8, 2016 10:00 AM, "learn django" wrote: > > Hi, > > I store some data like email text, headers and from email address in encoded format in the database. > I want to have a page where I can display all this information in readonly format. > If you want data displayed in a read only format,

Re: mathematical function and django connect

2016-02-09 Thread Fabio C. Barrionuevo da Luz
these questions will be answered with the knowledge that you acquire after after completing the official tutorial: https://docs.djangoproject.com/en/1.9/intro/ and additionally, perhaps : http://masteringdjango.com/introduction/ or http://www.tangowithdjango.com/book17/ On Tue, Feb 9, 2016

Re: Diving into Django 2016

2016-02-09 Thread Muhammad M
Dear Alan, If, as you stated, you haven’t worked in a real development job, it might be a bit of a challenge teaching others how to do the same since you may have limited exposure to the tools of the trade. As for resources, here are a few that may be useful: 1. The Official Django Tutorial: h

Re: Diving into Django 2016

2016-02-09 Thread Andrew Farrell
Hi Alan, *Learning Django* There are three resources I recommend for learning django: - The official tutorial , which walks you through many of the major features of the framework. - Test-Driven Development with Python

Re: mathematical function and django connect

2016-02-09 Thread Xristos Xristoou
THNX for response but that toturial not answer on my questions Τη Τρίτη, 9 Φεβρουαρίου 2016 - 9:47:30 μ.μ. UTC+2, ο χρήστης Xristos Xristoou έγραψε: > > hello, > > > i create some python mathematical function on python idle, > i want to create website where the user import value numbers on the >

Re: Codec H.264 if Free?

2016-02-09 Thread Luis Zárate
I don't understand you question, but if you are looking for video support https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats You maybe need to take a look to ffmpeg (now avconf). El martes, 9 de febrero de 2016, ylativ oknesyl <2vlyse...@gmail.com> escribió: > I am web

Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread michaelatnanocube
Hi, I am running into the same problem as this: http://stackoverflow.com/questions/30493018/404-error-in-writing-your-first-django-app-tutorial Now I can just follow the Alasdair's recommendation and delete the polls/url.py file, but the tutorial is very clear about having two separate urls.py

Re: Diving into Django 2016

2016-02-09 Thread Cory Kitchens
Hey Allen, Welcome to the Django community. I was in the same boat as you and researched endless web development frameworks, databases, and platforms. What I love about Django is the loose coupling amongst apps, and how readable the source code is. If you come from an MVC background, you can g

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread Bipul Raj
I remember doing the django tutorial long time back, it just works. The import error means that file polls/urls.py is not there. Check may be you have left "s" in ulrs. You might have created polls/url.py. On 10 February 2016 at 04:05, wrote: > Hi, > > I am running into the same problem as thi

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread Thiago Reis
I believe it is because your (MySite) is in upper case. ROOT_URLCONF = 'mysite.urls' must be: ROOT_URLCONF = 'MySite.urls' 2016-02-09 23:47 GMT-03:00 Bipul Raj : > I remember doing the django tutorial long time back, it just works. > > The import error means that file polls/urls.py is not the

Re: Writing your first Django app, part 1 - Can't Follow it

2016-02-09 Thread Thiago Reis
* 'Mysite.urls" 2016-02-09 23:54 GMT-03:00 Thiago Reis : > I believe it is because your (MySite) is in upper case. > > ROOT_URLCONF = 'mysite.urls' > > must be: > > ROOT_URLCONF = 'MySite.urls' > > > 2016-02-09 23:47 GMT-03:00 Bipul Raj : > >> I remember doing the django tutorial long time back,

Re: mathematical function and django connect

2016-02-09 Thread Luis Zárate
I think you want to show a form with a text input where the user could insert some input eg. math equation to sent to the server. In the server you what to get the input and use it in the standard input of your script, in your script you made what you want (included input validation) finally the

Re: ./manage.py runserver 0.0.0.0:8080 is not working, No module named django.core.management

2016-02-09 Thread John Travolta
On Tuesday, February 9, 2016 at 7:28:31 PM UTC+1, Daniel Roseman wrote: > > > Django is installed for Python 3.4, but you're running the shell and > server in Python 2. Do `python3 manage.py ...`. > -- > DR > > > *thank you very much, it solved my problem. * now I will make new topic, how to