Re: how can i fix ImportError: No module named 'archive.settings'

2017-07-04 Thread James Schneider
File "", line 969, in _find_and_load File "", line 956, in _find_and_load_unlocked ImportError: No module named 'archive.settings' If I had to guess, you're missing the settings.py file in the root of your Django project. That should have been created by the 'django-admin.py startproject'

how can i fix ImportError: No module named 'archive.settings'

2017-07-04 Thread Body Abdo
python manage.py runserver Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/var/www/project/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line utility.execute()

Re: django-tables2 and javascript

2017-07-04 Thread James Schneider
On Jul 4, 2017 1:31 PM, "yingi keme" wrote: I want to know. How do you access a table generated by django-tables2 in your client side using javascript? Does django-tables2 provide a mechanism to access table contents via client side.? A traditional html tags do have an id

Re: django-tables2 and javascript

2017-07-04 Thread Владислав Котвицкий
Sorry, i dont know django-tables2, but i try use DOJO framework DataGrid and this framework have all mechanism вторник, 4 июля 2017 г., 23:31:04 UTC+3 пользователь yingi keme написал: > > I want to know. How do you access a table generated by django-tables2 in > your client side using

django-tables2 and javascript

2017-07-04 Thread yingi keme
I want to know. How do you access a table generated by django-tables2 in your client side using javascript? Does django-tables2 provide a mechanism to access table contents via client side.? A traditional html tags do have an id or a classname for access purpose. How will you do such with a

Class Based Views : filter items by users

2017-07-04 Thread Nabil BOUDERBALA
As you can see from my template below, i have a list of users who posted items and I would like to get the list of items for each user. However, using the view below I only get the list for the current logged user. How can I modify my views.py so that it filters items for each one of the

Re: django webframework

2017-07-04 Thread Mark Phillips
Hi Arun! If tomcat is required for this project, then are you supposed to code the project in java? If so, then python and django are not what you need. Maybe Ruby, or Wicket is better suited for your project. Mark On Tue, Jul 4, 2017 at 7:26 AM, Vivek Shrivastava

Re: django webframework

2017-07-04 Thread Vivek Shrivastava
Well, I would caution against jumping right in Django without having any experience in web developement or in Python. I would rather you learn fundamentals of web development and then pick a simple framework like web2py with low learning curve. You might find Django convenient once you experience

Re: Django, permission error saving on disk, why?

2017-07-04 Thread Александр Христюхин (roboslone)
Looks like Linux permission issue. Are you sure user that runs Django is allowed to write anything to given directory? > On 4 Jul 2017, at 14:37, Antonis Christofides > wrote: > > Is it possible to show full traceback and error message? > Antonis Christofides >

Re: Django, permission error saving on disk, why?

2017-07-04 Thread Antonis Christofides
Is it possible to show full traceback and error message? Antonis Christofides http://djangodeployment.com On 2017-07-04 14:33, miguel vfx wrote: > Hello,I'm getting a Permissions Error [Errno 13] Permission Denied when a > workbook on disk using openpyxl: > > |wb.save(path)| > || > > No

Django, permission error saving on disk, why?

2017-07-04 Thread miguel vfx
Hello,I'm getting a Permissions Error [Errno 13] Permission Denied when a workbook on disk using openpyxl: wb.save(path) No file is uploaded. It's a request then the file is generated and delivered (downloaded), and that part works fine. What I'm trying to do is save a copy of that file on

Re: save cropped image with PIL to database

2017-07-04 Thread Andréas Kühne
Sorry - can't help you there. I prefer using pip packages than writing my own code - where possible. :-) Regards, Andréas 2017-07-04 10:15 GMT+02:00 shahab emami : > but i want to do it myself. > > when i write code i can improve it as much as i can. > can anybody please

Re: save cropped image with PIL to database

2017-07-04 Thread shahab emami
but i want to do it myself. when i write code i can improve it as much as i can. can anybody please tell me about my mistake please On Monday, July 3, 2017 at 9:12:55 PM UTC+4:30, Andréas Kühne wrote: > > I would have a look at the easy-thumbnails plugin ( >

Re: django webframework

2017-07-04 Thread Avraham Serour
I recommend against trying to make python run inside the JVM, specially if you are not familiar with python. Just use the normal python 3.6 and be happy On Mon, Jul 3, 2017 at 5:33 PM, Vinicius Assef wrote: > Hi Arun. > > Certainly you can learn Python and Django at the