Upgrade Django 1.11 to 2.2 - Checking forward compatibility automatically

2019-09-09 Thread amarshall
Hi, I'm looking for a way to test my code automatically for Django 2.2 compatibility when I make changes in my Django 1.11 environment so that when I do upgrade I will not have any issues. Is there a way to do this automatically? Similar to what Pylint does for checking python3

Re: server connection reset when click on localhost: Python error: wsgiref-> simple_server.py "noneType" object has no attribute split

2016-03-21 Thread amarshall
ssing a package and Django isn't telling you because it hasn't reached a certain line of code yet or some other reason. On Thursday, March 17, 2016 at 9:08:41 PM UTC-4, amarshall wrote: > > > So I'm moving my work environment from one environment to the next. I did > a pip install -r requir

server connection reset when click on localhost: Python error: wsgiref-> simple_server.py "noneType" object has no attribute split

2016-03-18 Thread amarshall
So I'm moving my work environment from one environment to the next. I did a pip install -r requirements for a list of packages I had. setup the DB. Migration went good. I do runserver and that runs. BUT when I click on the link to the homepage it says "The Connection was reset" in my browser.

Re: Upgrade to django 1.7- ImproperlyConfigured -Tastypie label duplicate? help

2016-01-25 Thread amarshall
re you able to solve the problem @amarshall? I have the exact same > error, do let me know please! > > On Tuesday, March 31, 2015 at 8:04:23 PM UTC+5:30, Filipe Ximenes wrote: >> >> Thats strange. >> Are you using pip to install dependencies? Try uninstalling ever

Re: Commenting system to use to build with REST API

2016-01-12 Thread amarshall
comments. > It's an easy task and won't take much of your time. > > I've worked in similar fashion on few of my own works. Here is a link of > custom models I wrote: > https://github.com/bird-labs/MHRDApp-Server/blob/master/post/models.py > > > On Wed, 23 Dec 2015 at 23

Not getting any results back using DRF Haystack

2016-01-12 Thread amarshall
So I've used django rest framework to serialize my data to make api calls. Great, that all worked well. Now I wanted to implement a search and return the serialized data in JSON format like I do with normal data. I feel like I followed the drf-haystack basic usage guide(

Commenting system to use to build with REST API

2015-12-23 Thread amarshall
Hi, I'm working on an android app and using django as the backend. I created an api using django rest framework and everything is fine so far. I want to add commenting to my main object. i.e - lets call it a "Post". I want each post to have a set of comments associated with it. simple

Re: Upgrade to django 1.7- ImproperlyConfigured -Tastypie label duplicate? help

2015-03-31 Thread amarshall
u show us your INSTALED_APPS? > It may be the case you have a lot of apps installed and is not seeing a > duplicate reference to tastypie. > On Mar 29, 2015 9:43 PM, "amarshall" <adria...@gmail.com > > wrote: > >> Hi, >> >> So I updated my

Upgrade to django 1.7- ImproperlyConfigured -Tastypie label duplicate? help

2015-03-29 Thread amarshall
Hi, So I updated my django project from django 1.6 to 1.7.7 and when I run "python manage.py migrate" I get this error stating that I have a duplicate label. Here's the traceback Creating tables... Installing custom SQL... Installing indexes... Running migrations: Applying

Re: Django admin can't display user detail view: 500 error

2014-08-30 Thread amarshall
new tables using South and everything worked. On Thursday, August 28, 2014 8:22:00 PM UTC-4, amarshall wrote: > > I've deployed my django application using Nginx and uWSGI. > > In development I can login to my django admin-> users-> [username] and it > shows the users

Re: Django admin can't display user detail view: 500 error

2014-08-29 Thread amarshall
my command to start the service over again adding the "pidfile=/tmp/project-master.pid" tag and I go to check the file and nothing is there. So I'm not sure if the uwsgi command is restarting . All so I can see and get my traceback.. Sorry about this tanget. On Thursday, August 28, 2014 8:2

Re: Django admin can't display user detail view: 500 error

2014-08-29 Thread amarshall
ut when I do another process comes in it's place. On Friday, August 29, 2014 11:59:11 AM UTC-4, amarshall wrote: > > I'm pretty sure my ALLOWED_HOST is setup right to allow all url locations > after the main domain. I have not setup the EMAIL to send me notifications > upon 500 ser

Re: Django admin can't display user detail view: 500 error

2014-08-29 Thread amarshall
I'm pretty sure my ALLOWED_HOST is setup right to allow all url locations after the main domain. I have not setup the EMAIL to send me notifications upon 500 server error. Will do now. About to check my uwsgi log and post it as well -- You received this message because you are subscribed to

Django admin can't display user detail view: 500 error

2014-08-28 Thread amarshall
I've deployed my django application using Nginx and uWSGI. In development I can login to my django admin-> users-> [username] and it shows the users information. However in development once I click on a user I get a "server 500" error. I have the same code for both deployment and development.

Re: User to Model relationship- implement a "like" feature on a Model

2014-08-25 Thread amarshall
Thanks ! I'll get to work on that and see how it goes! On Monday, August 25, 2014 8:26:35 PM UTC-4, Tim Chase wrote: > > On 2014-08-25 17:00, amarshall wrote: > > Hmm, That may work. I should have also noted one thing. I'm > > actually using Django as the backend for mobile

Re: User to Model relationship- implement a "like" feature on a Model

2014-08-25 Thread amarshall
er and use > js to disable the the like button if the cookie is present if you can get > away with it. Not sure if you need to store that info against the user to > see which items they liked... > On 26/08/2014 8:41 am, "amarshall" <adria...@gmail.com > > wrote: > >>

User to Model relationship- implement a "like" feature on a Model

2014-08-25 Thread amarshall
Hi, I'm trying to implement likes on a Model in which 1 user will be able to like an a model (named "event") "once" and only once. so, I have a model like this: class Event(models.Model): user = models.ForeignKey(User) . #other fields . likes =