Re: Deploying a Django 1.9 project

2016-04-13 Thread James Schneider
> > I've been developing a site with Django 1.9 with Python3 and I'm hitting a > wall when trying to deploy it to a hosting service. I currently have a > shared service plan through BlueHost and I'm having trouble getting > everything to work right. In talking with BlueHost they stated they only >

Re: Migration bug in 1.9.5?

2016-04-13 Thread Tim Graham
It looks like your migration history is corrupted somehow (migrations 10-22 are applied but not their dependency 0001). You might need to manually add a row to the django_migrations table to reflect the fact that 0001 is applied. If you can provide steps that reproduce how you got to such a bad

Re: Looking for ways to improve my skills

2016-04-13 Thread Rafał Szymański
I can recommend http://codingforentrepreneurs.com/ and http://tangowithdjango.com/ -- 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...@goog

Force a model to appear on admin's index page depending on the request

2016-04-13 Thread Olivier Dalang
Hi ! Is it possible to force a model to appear on the admin index page depending on the request ? I'm asking because I did override the has_change_permission() method of the ModelAdmin, so that the user can be allowed to change some instances (chosen via a ManyToMany relationship between the user

Displaying a list of images

2016-04-13 Thread ayshalab
Hello, I can display single images that are manually uploaded fine, but how can I display a group of images inside a certain directory? Instead of manually typing the image file names each time there is a new image added to the folder? So if I have 2 images or 20 images stored, I would like to

Questions about model form views

2016-04-13 Thread Jerry Bash
Hello, This is my first post on the list, I have only been using django for a short time, but have been impressed with it. I obviously have a LOT to learn, and hope someone will be able to point me to the answer. I'm aware that there are many ways to do something, but wonder it is best, or is

ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().

2016-04-13 Thread Chen
def reshape(self, students, questions, scores, q_ratings=None): self.df.reset_index(inplace=True) if q_ratings != None: self.q_ratings = pd.DataFrame(self.df.pivot_table(index=questions, values=q_ratings)) self.q_ratings.columns= ['difficulty rating'] self.df = self.df.pivot_table(index=students,

Re: Looking for ways to improve my skills

2016-04-13 Thread Devrhoid Davis
Thank you very much. Regards, Devrhoid Sincerely; Devrhoid O. Davis, devrhoid.da...@gmail.com / devrhoid.da...@outlook.com (876)491-6186 | (876) 783-0452 BSc. Medical Physics /w Electronics, Research Assistant, Department of Physics, University of the West Indies Mona, Kingston 7, Jamaica. "For