Re: SlugField

2020-01-28 Thread Mike Dewhirst
On 28/01/2020 7:58 pm, Mahendhar Reddy wrote: Hi, I want to Know about slug field realtime usage. What do you already know and how did you discover it? Without that, no-one knows where to start helping. -- You received this message because you are subscribed to the Google Groups "Django use

Re: open source advice needed

2020-01-28 Thread Motaz Hejaze
I think Python and Javascript programming languages can do the job , Kimberly did you explore other learning systems already developed ? Moodle for example is a complete open source learning management system .. If your idea is not already there , i'll be glad to be one of the development team to m

Re: open source advice needed

2020-01-28 Thread Andrew C.
Hi Kimberly, Django is mostly for website development. If you can tell us a little bit about your model and some plans, that would be great. I’d love to help another Harvard student in their endeavors since many give up after graduating grad school (especially those undergrads...). Again, let us k

open source advice needed

2020-01-28 Thread Kimberly Regan
Hello, I have an idea that I pitched and placed 4th at the Harvard Zaentz Early Innovation Challenge. I've been implementing the model at my school for 20+ years., The technology, a learning management system type program, will support the model to streamline procedures in classrooms toward effe

Re: How to express `foo = (bar < quox)` as a constraint

2020-01-28 Thread Peter Law
Hi Simon, Thanks! Using an ExpressionWrapper does work for this :) I agree it might be nice to have a bit less boilerplate here. What I'd first tried was actually: ``` CheckConstraint(check=Q( is_on_sale=F('price') < F('full_price'), )) ``` It would be great if that could be made to work -

Re: Hosting a django website

2020-01-28 Thread maninder singh Kumar
Best to go with linode ! A shared hosting does not offer any support for root access. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Jan 26, 2020 at 12:12 AM Perceval Maturure wrote: > dear all > 1.what is the

Re: How to render data from populated database (no user input) to html

2020-01-28 Thread maninder singh Kumar
{% csrf_token %} views -- formView (request): if request.method == "GET" and 'q' in request.method: - your view code --- return render(request, template_name, context = {'text' : *database_text, ... . ., ., , ,}* HTML (use bootstrap i

SlugField

2020-01-28 Thread Mahendhar Reddy
Hi, I want to Know about slug field realtime usage. -- 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 discu

Re: Hosting a django website

2020-01-28 Thread Mario R. Osorio
I prefer digital ocean but by whatever you choose by any means, avoid cpanel. On Saturday, January 25, 2020 at 1:42:13 PM UTC-5, Perceval Maturure wrote: > > dear all > 1.what is the best way to host a django website on a shared host that you > are not sudo? > 2.is this possible? > 3. any ideas?

Custom User and Profile Model

2020-01-28 Thread 'dtdave' via Django users
I have created a Custom User Model and a Profile model that is created when a user registers with the site. I just want some confirmation that my logic is right. To avoid the error when creating a superuser "Custom users have no profile" I have put the following in my settings.py: AUTH_PROFILE_

Re: How to render data from populated database (no user input) to html

2020-01-28 Thread Suraj
On Monday, January 20, 2020 at 11:59:01 AM UTC+5:30, nmax...@gmail.com wrote: > > I would like to render data from a populated database into a HTML > (homepage_view). I am not sure if I create a GET method from the > database (and if so how) or use (fix) the code listed below. > > The ultimat

m2m field widget to add or update data as inline formset

2020-01-28 Thread Suraj
Hello everyone, This may be quite simple, but I am unable to find a widget which will function same as m2m widget of django, but will also create new model instance if it doesn't exists. E.g. If I had models as: class Outcome(models.Model): outcome = models.CharField(max_length=255) out