I'm looking for a part-time job in Django

2016-08-14 Thread Uri Even-Chen
To django-users@googlegroups.com, I'm looking for a part-time job in Django, do you know anything? I live in Herzliya, Israel. I can't relocate but I can work from home. I can also help developing the next versions of Django. You can see my CV on LinkedIn. Please let me know if you have any job fo

Re: how to integrate django framework in android app ????

2016-08-14 Thread ludovic coues
Could you detail a bit more what you are trying to achieve ? What do you mean by "integrating" ? What step have you tried ? Are you new as in "have never read a single page of the documentation" or new as in "have only done a pair of small test site" ? I have trouble do understand what you are tr

Re: Django 1.10 How to Take form Inputs (ie field one + field two = field three) and auto update before submitting the form.

2016-08-14 Thread ludovic coues
if what you are doing is a quote, you don't need to get the total from the user. I would go one step further, don't get price from the user. Form can be altered. I would do the model like that: class Invoice(models.Model): user = models.ForeignKey(User, models.CASCADE) date =

Re: Django back button issue after log-out

2016-08-14 Thread James Schneider
On Thu, Aug 11, 2016 at 9:44 PM, Abhijeet Singh wrote: > It still does not work. Still "Back" button takes it to last session page > > On Monday, December 17, 2012 at 7:37:49 PM UTC+5:30, Ashish Sable wrote: >> >> yup... Got the solution just the bower cache needs to be cleared. >> >> from django

Re: I'm looking for a part-time job in Django

2016-08-14 Thread Uri Even-Chen
Hi, How do I add my name to https://code.djangoproject.com/wiki/DevelopersForHire#Israel ? Thanks, Uri. *Uri Even-Chen* [image: photo] Phone: +972-54-3995700 Email: u...@speedy.net Website: http://www.speedysoftware.com/uri/en/

Re: How t o create more than one application

2016-08-14 Thread Timothy Steele
Thanks On Sat, Aug 13, 2016 at 7:34 PM, Andrew Emory wrote: > Just enter the command: python manage.py startapp app_name from your > terminal window in the projects source directory. > > On Friday, August 12, 2016 at 7:37:10 PM UTC-5, Timothy Steele wrote: >> >> >> >> down votefavori >>

forms.Form, models.Model, forms.ModelForm? (self.django)

2016-08-14 Thread Andrew Emory
Would someone explain to me when you would choose one class over the other? Does forms.Form not create a database? Can't you just render models.Model as a form? I understand forms.ModelForm is a helper class for creating a form from a model. But I still don't really understand why you would

Re: forms.Form, models.Model, forms.ModelForm? (self.django)

2016-08-14 Thread Alex Heyden
forms.Form makes front-end widgets and some validation logic. models.Model defines a database interface and wraps it in a Python class. The two have nothing to do with each other aside from vaguely similar APIs for defining the classes. The intersection of the two is forms.ModelForm, which uses a

Re: forms.Form, models.Model, forms.ModelForm? (self.django)

2016-08-14 Thread Andrew Emory
Thanks so much. This is exactly the kind of stuff I wanted to hear. It was just unclear if form.Form created a model when you define it or if it was just for GET data. So models are for the database and the admin. You can render them by way of forms.ModelForm which is what you would use for

What happened to my admin? AttributeError: 'WSGIRequest' object has no attribute 'user'

2016-08-14 Thread Andrew Emory
Django 1.9. Everything seems to be set up properly. I was having some issues with my templates but got them working. I didn't touch any admin or even any login stuff. Though my template does have a {% csrf_token %}. I can't imagine how this happened. >From Googling it seems like it was a

Adding new models to test Django unit test case

2016-08-14 Thread premdjango
I'm implementing a fix for a ticket-26819 and need to add new models to test it. The new models were added to tests/postgres_tests/models.py but would like to know how to run the migrations before I run the tests. Do I need to run the migrations explicitly or django run tests will take care of

How make Django sites look as professional as WordPress just as easily as WordPress is easy?

2016-08-14 Thread Chris Seberino
I love Django. It is a beautiful system for developers. You seem to start at a lower level with Django than with WordPress which gives you more power and flexibility. Nevertheless, I also like how WordPress STARTS with a very professional looking sites and almost locks you into a nice looking

Re: How make Django sites look as professional as WordPress just as easily as WordPress is easy?

2016-08-14 Thread Mario Gudelj
It all depends what you want to do, Chris. I suggest you to find a html template on sites like template monster or theme forest, split it into base and extract page from it, make Django serve the static pages and then make those features that should be driven by database dynamic by creating models