Open source CBT Application

2022-11-07 Thread Sherif Adigun
Looking for an active Django Project to contribute and collaborate on? Join me on Django CBT. https://github.com/adigunsherif/cbt Let build a reliable open source Computer Based Test Software on Django -- You received this message because you are subscribed to the Google Groups "Django user

Re: Multitenant App

2022-11-07 Thread Sherif Adigun
Take a look at Django Tenants https://github.com/django-tenants/django-tenants I have used it on a project and its just perfect. it does tenancy very well. and I like the Semi Isolated Approach: Shared Database, Separate Schemas. One database for all tenants, but one schema per tenant. On Mond

Re: Looking for available support to start a School Management Application

2022-11-07 Thread Sherif Adigun
One of the most popular School Management System in Django is https://github.com/adigunsherif/Django-School-Management-System You can fork it and contribute your code. We can collaborate On Monday, November 7, 2022 at 5:08:32 PM UTC+1 hajira.f...@gmail.com wrote: > Hi, > > I'm interested to co

Re: Can't use swagger in Django 4.0?

2022-03-04 Thread Sherif Adigun
You may need to show your urls.py to see what you are doing. On Friday, March 4, 2022 at 3:04:46 PM UTC+1 astro...@gmail.com wrote: > > hi everyone, > > After installing Django 4.0 and configuring swagger, 'TypeError: 'set' > object is not reversible' occurs. Is it possible that Django 4.0 can'

Re: Automatic subdomain for each user

2021-12-30 Thread Sherif Adigun
.) Then the routing works seemlessly Thank you On Thu, Dec 30, 2021, 7:06 PM Sherif Adigun wrote: > Thank you very much for you guidance. I have been able to make it work > using Django-hosts on my local. Still trying to fix it out to work on my > shared hosting if possible > >

Re: Automatic subdomain for each user

2021-12-30 Thread Sherif Adigun
Thank you very much for you guidance. I have been able to make it work using Django-hosts on my local. Still trying to fix it out to work on my shared hosting if possible On Thu, Dec 30, 2021, 10:29 AM Sherif Adigun wrote: > Thank you @Tim. Django subdomains looks promising but it's

Re: Automatic subdomain for each user

2021-12-30 Thread Sherif Adigun
December 30, 2021 at 1:10:17 AM UTC+1 Tim Chase wrote: > On 2021-12-29 15:02, Sherif Adigun wrote: > > I am faced with a requirement where each user is required to use > > the application under his own subdomain. Whenever a user registers, > > he gets username.domain.com and he

Automatic subdomain for each user

2021-12-29 Thread Sherif Adigun
I am faced with a requirement where each user is required to use the application under his own subdomain. Whenever a user registers, he gets username.domain.com and he can add staff, manage reports, etc under his subdomain. What is the best approach to you can suggest please? -- You received

Re: How to add css class and attribute to username,password

2021-02-14 Thread Sherif Adigun
Try changing UserLoginForm(forms.ModelForm) to UserLoginForm(forms.Form) On Sunday, February 7, 2021 at 9:41:35 PM UTC+1 tba...@gmail.com wrote: > > Hello , > > I writing project which the user login with my own customized HTML page > (boosstrap) > > i can manually add the form.username and form

Re: Django job

2020-12-20 Thread Sherif Adigun
t;+234%20705%20918%200332>. > > On Dec 20, 2020 11:49, "Sherif Adigun" wrote: > >> Hello, >> I'm currently available for paid Django jobs. If you have any related >> task you want me to work on (paid), kindly respond to this. >> >> Thank yo

Django job

2020-12-20 Thread Sherif Adigun
Hello, I'm currently available for paid Django jobs. If you have any related task you want me to work on (paid), kindly respond to this. Thank you as I look forward to your responses. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscr

Re: Required Django Programmer for freelancer

2020-07-08 Thread Sherif Adigun
Hi! I'm interested in working on this project. Kindly join the meeting here and let's have a discussion to get started immediately Join Zoom Meeting https://us04web.zoom.us/j/72990105966?pwd=VVhPL2s2MUNuLzJOQ3V2Y2o3T2M3Zz09 Meeting ID: 729 9010 5966 Password: 8uRMUw -- You received this mes

Re: How to add domain from GoDaddy to Heroku

2020-07-05 Thread Sherif Adigun
Simply point your domain nameservers from GoDaddy to cloudflare. Then from cloudflare, add the cname record. It's works flawlessly even with ssl -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Materializecss issue with CKeditor dialog

2020-07-05 Thread Sherif Adigun
Replies -- 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...@googlegroups.com. To view this discussion on the web visit https://groups.googl

Materializecss issue with CKeditor dialog

2020-07-01 Thread Sherif Adigun
If using materializecss for the application and image upload widget in the ckeditor, materializecss affects the dialog inputs making it impossible to use radio buttons and checkboxes. Do you have a suggestions on how to solve this? I'm thinking of not loading the materialize css for the dialog b

Django select list

2020-05-25 Thread Sherif Adigun
I have a form which has a select field (your color). In front of the select field, I have a button that produces a popup which allows users to create new color before they submit. I am submitting that color form via Ajax. After adding a new color to the database, the popup closes. I want the new

Re: I am building an open source School Management System

2020-05-08 Thread Sherif Adigun
gt; >> On Fri, 8 May 2020, 18:28 Duah Sylvester >> wrote: >> >>> Thank you very much! I will get it done >>> >>> On Fri, May 8, 2020, 15:04 Sherif Adigun wrote: >>> >>>> Thank you. Let's build on this and improve it. >>&

Re: I am building an open source School Management System

2020-05-08 Thread Sherif Adigun
Thank you. Let's build on this and improve it. On Fri, May 8, 2020, 1:02 PM Luqman Shofuleji wrote: > Hi, > > I've just forked the repository on your github account. > > On Wed, May 6, 2020 at 4:21 PM Sherif Adigun > wrote: > >> Thanks. Checked. Good job

Re: Best hosting for Django Application?

2020-05-06 Thread Sherif Adigun
Now I'm very confused and my client will request for the project to be hosting in two weeks. I don't want to make a mistake about host On Wed, May 6, 2020, 11:44 PM Gabriel Araya Garcia < gabrielaraya2...@gmail.com> wrote: > I've learned Django for a year, and I have my project hosted in > PYTHON

Re: Best hosting for Django Application?

2020-05-06 Thread Sherif Adigun
Oh, thank you for that. I'm really afraid for I don't want my client to tear my hair out. How about heroku? Have you tried that ? On Wed, May 6, 2020, 7:19 PM Nomeh Uchenna Gabriel wrote: > please don't ever use "python-anywhere" for a serious project unless you > have enough tears 😭 in your ey

Re: I am building an open source School Management System

2020-05-06 Thread Sherif Adigun
Thanks. Checked. Good job. I think I've got more features than you. Latest commits now have authentications On Tuesday, May 5, 2020 at 9:37:26 PM UTC+1, Sherif Adigun wrote: > > I am currently building an open source school Management System on django > and it's currently

Re: Two forms in one template

2020-05-06 Thread Sherif Adigun
You are welcome. I'm happy to help -- 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...@googlegroups.com. To view this discussion on the web

Re: Two forms in one template

2020-05-06 Thread Sherif Adigun
https://us04web.zoom.us/j/79500561313?pwd=TnIzekVTMU0xRDNsaGpaS0kxQlhTdz09 JOIN NOW -- 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...@go

Re: Drop down dependent on two other form fields

2020-05-06 Thread Sherif Adigun
Check this https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails f

Re: Two forms in one template

2020-05-06 Thread Sherif Adigun
ok. send a reply when you are available. On Wed, May 6, 2020 at 11:13 AM Sergei Sokov wrote: > I can a little bit later, ok? > I think in 2 hour > > среда, 6 мая 2020 г., 12:00:13 UTC+2 пользователь Sherif Adigun написал: >> >> Please join the meeting now let's

Re: Two forms in one template

2020-05-06 Thread Sherif Adigun
Please join the meeting now let's quickly fix it . https://us04web.zoom.us/j/77729655336?pwd=c1o2Q0JQOFJiYm5hTlJTYjgra0dOQT09 On Monday, May 4, 2020 at 4:37:39 PM UTC+1, Sergei Sokov wrote: > > I have two forms in one template, but one of them doesn't have data to my > database. > Why does it h

Re: I am building an open source School Management System

2020-05-06 Thread Sherif Adigun
Now updated. Please confirm it's working fine now. -- 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...@googlegroups.com. To view this discus

Re: I am building an open source School Management System

2020-05-06 Thread Sherif Adigun
Thank you for that. I just realized I didn't commit the static/dist folder to git. Let me commit those files and push. Then you can update your clone On Wed, May 6, 2020, 9:10 AM Sherif Adigun wrote: > From your errors, it appears the static files are not loading correctly. > >

How to dump results and progress of a script in a log file

2020-05-06 Thread Sherif Adigun
Django has the logging feature. You definitely want to log success or errors in the second option while importing data into the database. See Django logging system https://docs.djangoproject.com/en/3.0/topics/logging/ -- You received this message because you are subscribed to the Google Group

Need to work with csv file

2020-05-06 Thread Sherif Adigun
Have you checked the python csv module? You may also want to read this: https://docs.djangoproject.com/en/3.0/howto/outputting-csv/ -- 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 i

Re: I am building an open source School Management System

2020-05-06 Thread Sherif Adigun
et::ERR_ABORTED 404 (Not Found) > 127.0.0.1/:277 GET http://127.0.0.1:8000/static/dist/js/adminlte.js > net::ERR_ABORTED 404 (Not Found) > 127.0.0.1/:280 GET http://127.0.0.1:8000/static/dist/js/demo.js > net::ERR_ABORTED 404 (Not Found) > > On Tue, May 5, 2020 at 3:38 PM Sherif A

Re: Two forms in one template

2020-05-06 Thread Sherif Adigun
orm.save(commit=False) > self.object.author = self.request.user > self.object.save() > > context = self.get_context_data() > pack_form = context['pack_form'] > # if pack_form.is_valid(): > # pack_form.instance = self.obje

I am building an open source School Management System

2020-05-05 Thread Sherif Adigun
I am currently building an open source school Management System on django and it's currently available on GitHub. https://github.com/adigunsherif/Django-School-Management-System I need contributors and collaboration. Feel free to fork me on GitHub, send a message and let's build a solution --

Job Request

2020-05-05 Thread Sherif Adigun
In case you have a remote Django development job, please I'm available. Thank you I can be reached at adigunshe...@gmail.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

Re: Two forms in one template

2020-05-05 Thread Sherif Adigun
gt; self.object = form.save(commit=False) > self.object.author = self.request.user > self.object.save() > > context = self.get_context_data() > pack_form = context['pack_form'] > if pack_form.is_valid(): > pack_form.instance = s

Re: Best hosting for Django Application?

2020-05-05 Thread Sherif Adigun
Thank you all for your suggestions. I'll give python anywhere a try -- 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...@googlegroups.com. To

Re: I'm new to this django help me out

2020-05-05 Thread Sherif Adigun
what is your question? On Tuesday, May 5, 2020 at 6:25:48 PM UTC+1, sree lekha wrote: > > -- 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.

Best hosting for Django Application?

2020-05-05 Thread Sherif Adigun
I am planning to launch my first major Django application on a live server for production. Could you please suggest hosting service that is reliable and considerably cheap? I have used Heroku but not for a serious or client project. Please tell me your experience and advise. Thank you -- Y

Re: Two forms in one template

2020-05-05 Thread Sherif Adigun
> > you have two returns in get_Context_data. use only this > def get_context_data(self, **kwargs): context = super(SkladCreateView, self).get_context_data(**kwargs) if self.request.POST: context['pack_form'] = PackForm(self.request.POST) else: con

Re: Two forms in one template

2020-05-05 Thread Sherif Adigun
Try this code. Instead of using kwargs[], context is most common. class SkladCreateView(LoginRequiredMixin, CustomSuccessMessageMixin, CreateView): model = Sklad template_name = 'sklad.html' form_class = SkladForm success_url = reverse_lazy('sklad') success_msg = 'Материал сохранён' def g

Two forms in one template

2020-05-04 Thread Sherif Adigun
Your code is working perfectly. Just that you need to remember that the view has its model set to Sklad. Hence, when you called super() on form_valid, only the Skald instance is saved. You need to manually save the Pack form in the form_valid method. -- You received this message because you a

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-04 Thread Sherif Adigun
Did you set up your project in a virtual environment?? If yes, always remember to runserver in the virtual environment -- 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 ema