Re: WYSIWYG editor, file browser and multiple users

2017-07-28 Thread Avery Uslaner
It sounds like Wagtail would fit your needs but from where you are now it seems like it might be easier just to extend your existing models to include permissions on a per-image basis. On Friday, July 28, 2017 at 7:37:56 AM UTC-6, Karol Bujaček wrote: > > Hello, > > I’m

Django form needs pagination and saved data - how????

2017-07-28 Thread Jim Illback
I use the latest versions of Django, python, bootstrap3, and crispy forms for this project. I am trying to present a list of flashcards to a user, sorted by category (e.g., Math, Vocabulary, etc.). Then, I want the user to check either the full category or individual flashcards to be added to

Re: Run Django tasks with another programming language

2017-07-28 Thread Jani Tiainen
Hi. I greatly suspect that your problem isn't the Python itself but what you do in your workers. Also what analysis made you to conclusion that using golang or c# would improve situation? In other words have you really measured and identified the slow part? 28.7.2017 19.21 "M Mihai"

Run Django tasks with another programming language

2017-07-28 Thread M Mihai
Hi, Right now I use https://github.com/Koed00/django-q and as broker, I use Redis to run some tasks on my Django website, but they're using 100% of the processor when I'm running 30 workers. So I'm looking for a way to run the tasks with another programing language(I would prefer golang or

WYSIWYG editor, file browser and multiple users

2017-07-28 Thread Karol Bujaček
Hello, I’m trying to install WYSIWYG editor and file browser which allows user to upload images. Then these images can be inserted into users article. I also have multiple users registered on my site and I need separate/hide one users’ images from another user. Using django-tinymce4-lite

how to get user's informations by clic on the user_object in a user_list view

2017-07-28 Thread vitalysweb
I'm beginner in django, what i'm trying to do is: I want to build a view for a *Staff_User*. Inside this view the staff member can select a user (from a *list of users*) and by clic that lets him get some informations(Specifically check some files uploaded by the selected user) some of my

Re: Dos Modelos en un formulario django

2017-07-28 Thread Vijay Khemlani
Puedes crear un formulario común y corriente de Django class Formulario(forms.Form): ... campos del usuario ... campos de sus caracteristicas Y manejar la lógica en tu vista formulario = Formulario(this.request.POST) if formulario.is_valid(): ... actualizar usuario con campos de

Re: TypeError: __init__() takes 2 positional arguments but 3 were given (django-material)

2017-07-28 Thread 'Tom Evans' via Django users
Your error refers to part of a class you haven't included, ClientsForm, and it has an error to do with a class called Stacked, which you haven't shown where it is imported from. Hard to diagnose further.. Cheers Tom On Thu, Jul 27, 2017 at 1:02 AM, Elias Coutinho

Problems with ModelForm which edits fields in 2 models

2017-07-28 Thread Uri Even-Chen
Hi friends, I have a problem with a form in Django 1.11.3. Here is the form: class ProfileNotificationsForm(forms.ModelForm): class Meta: model = User fields = ('notify_on_message', ) profile_model = get_site_profile_model(profile_model=None) profile_fields =