Re: Contributing to Django

2018-09-06 Thread Andréas Kühne
That's good if you think you have that experience. Contributing back is always good :-) However - if you want to discuss this, I think you should change to the developers mailing list instead. They can probably help you. Or just go and check the issues on the django project and see if you can

Re: Creating a single page app

2018-09-06 Thread Andréas Kühne
Sorry - that's a preference - more than a definitive answer. Personally I like Angular, but people will say Vue or React just as much. That's up to what you prefer yourself. Regards, Andréas Den fre 7 sep. 2018 kl 07:20 skrev Md.iftequar iqbal : > Which is the best best frontend js for

Re: Contributing to Django

2018-09-06 Thread Sanjeev Singh
Hello Sir, I've already done some projects in django but now I want to contribute. I want to start this by solving some easy bugs, If you suggest some. Thank you. On Fri, Sep 7, 2018 at 10:37 AM Andréas Kühne wrote: > Hi, > > I think you really should get some experience with writing

Re: Creating a single page app

2018-09-06 Thread Md.iftequar iqbal
Which is the best best frontend js for django On Fri, 7 Sep 2018, 10:34 am Andréas Kühne, wrote: > Short answer - yes it's possible, but not optimal. > > Long answer: > A single page app isn't really dependent that much on the view that you > use but rather some sort of javascript frontend.

Re: Contributing to Django

2018-09-06 Thread Andréas Kühne
Hi, I think you really should get some experience with writing applications in django before you start contributing to the project itself. The django project is rather complex and it takes a while to understand the concepts behind it. I have been working with django for 5 years now and haven't

Re: Creating a single page app

2018-09-06 Thread Andréas Kühne
Short answer - yes it's possible, but not optimal. Long answer: A single page app isn't really dependent that much on the view that you use but rather some sort of javascript frontend. You will need to use a js frontend like Vue, React or Angular. The backend should probably then be based on a

Re: about createsuperuser

2018-09-06 Thread Ronaldo Mata
Check your urls.py, is it admin registered? El jue., sept. 6, 2018 10:05 PM, escribió: > Check url path in setting.py and restart the server then follow the > 127.0.0.1/admin/ > > On Thursday, September 6, 2018 at 4:51:16 AM UTC-7, VIPIN VIPIN wrote: >> >> I had already used admin/ >> >> On

Re: about createsuperuser

2018-09-06 Thread mm34019
Check url path in setting.py and restart the server then follow the 127.0.0.1/admin/ On Thursday, September 6, 2018 at 4:51:16 AM UTC-7, VIPIN VIPIN wrote: > > I had already used admin/ > > On Thu, 6 Sep 2018, 5:13 pm ireoluwa fakeye, > wrote: > >> Put /admin after 127.0.0.1 >> >> On Thu, 6

Creating a single page app

2018-09-06 Thread Md.iftequar iqbal
Can we create a single page app that performs CRUD(Create, Read, Update, Delete) operations by using class-based views -- 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

Contributing to Django

2018-09-06 Thread Sanjeev Singh
Hello, I’m a beginner want to contribute please help me in solving some easy bugs so that I can get started. Thank you. Sent from Mail for Windows 10 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: How do I display the human readable name of a choice?

2018-09-06 Thread Joel
This is clearly described in the polls application tutorial. https://docs.djangoproject.com/en/2.1/intro/tutorial01/ On Thu 6 Sep, 2018, 9:38 PM Ousseynou Diop, wrote: > Hi friend , > > use this function to display the choices field. > > models.py > > > class Article(models.Model): > >

Re: Subgroups Implementation (from LDAP)

2018-09-06 Thread Mike Dewhirst
On 7/09/2018 12:49 AM, Benjamin SOULAS wrote: Hi Mike ! The problem is our app have to be able to retrieve a Customer LDAP server. So we won't be able to know groups will be into the LDAP server. To be concise, when we'll set up the app, we'll have to retrieve the LDAP groups, insert them

Getting no such table: django_session error after enabling social_django in a project

2018-09-06 Thread Ajat Prabha
Hi, After adding social_django to this project, in some of the pages, the server is throwing OperationalError no such table: django_session, which is kind of weird because it is there. Most of the functionality is working fine but some things

Re: How to get datetime from server

2018-09-06 Thread ireoluwa fakeye
It's better you import from django.util On Thu, 6 Sep 2018, 17:08 Thiago Luiz Parolin, wrote: > Hi, > I am building a django system that prevent user from upload a file after a > date. > This date is setting using: > today = datetime.date.today() > > but if the user alters his computer date, he

How to get datetime from server

2018-09-06 Thread Thiago Luiz Parolin
Hi, I am building a django system that prevent user from upload a file after a date. This date is setting using: today = datetime.date.today() but if the user alters his computer date, he can upload file normally after the end date. how can i assing to 'today', the date from server and not client

Re: How do I display the human readable name of a choice?

2018-09-06 Thread Ousseynou Diop
Hi friend , use this function to display the choices field. models.py class Article(models.Model): ARTICLE_CHOICES = ( ) status = models.CharField(max_length=120, choices=ARTICLE_CHOICES, ) in your templates {% article in articles %} {{artcile.get_status_display}} {%

Re: How to get datetime from server

2018-09-06 Thread Thiago Luiz Parolin
Sorry, my mistake! In manage.py runserver, the server is my computer and the time displayed is my computer time. Putting the code in production server all work as expected! Em qui, 6 de set de 2018 às 10:29, Thiago Luiz Parolin < thiago.paro...@unesp.br> escreveu: > Hi, > I am building a django

Re: Subgroups Implementation (from LDAP)

2018-09-06 Thread Benjamin SOULAS
Hi Mike ! The problem is our app have to be able to retrieve a Customer LDAP server. So we won't be able to know groups will be into the LDAP server. To be concise, when we'll set up the app, we'll have to retrieve the LDAP groups, insert them in django ORM, then make the link (with a table,

Re: Django Nested Query with Aggregate.Sum()

2018-09-06 Thread Simon Charette
Hello there, You should be able to achieve what you're after by using annotations[0]. In your case you'll want to declare your Event and Reservation relationship explicitly by using a ForeignKey class Event(models.Model): ... seating = models.PositiveIntegerField(default=0) class

Re: Not able to install mysql for pyhton.

2018-09-06 Thread Sunil Kothiyal
Thanks my dear you save my JOB.. pip install --only-binary :all: mysqlclient Work for me On Thu, Sep 6, 2018 at 5:38 PM Rodrigo Zayit wrote: > Try: > > pip install mysqlclient==1.3.4 > > and if this command does not work, try it: > > pip install --only-binary :all: mysqlclient > > Att., >

Re: Not able to install mysql for pyhton.

2018-09-06 Thread Rodrigo Zayit
Try: pip install mysqlclient==1.3.4 and if this command does not work, try it: pip install --only-binary :all: mysqlclient Att., Rodrigo de Oliveira On Thu, 6 Sep 2018 at 09:04, Rodrigo Zayit wrote: > Have you installed MySQL? > > Att., > Rodrigo de Oliveira > > > On Thu, 6 Sep 2018 at

Re: Not able to install mysql for pyhton.

2018-09-06 Thread Rodrigo Zayit
Have you installed MySQL? Att., Rodrigo de Oliveira On Thu, 6 Sep 2018 at 09:01, Django Lover wrote: > *I am getting following error when i am running pip install > mysql-python Comand . Please help??* > > > > [image: asd.png] > > -- > You received this message because you are subscribed

Not able to install mysql for pyhton.

2018-09-06 Thread Django Lover
*I am getting following error when i am running pip install mysql-python Comand . Please help??* [image: asd.png] -- 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

I am not able to install mysql for python.

2018-09-06 Thread Django Lover
*I am getting following error when i am running pip install mysql-python Comand . Please help??* [image: asd.png] -- 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: about createsuperuser

2018-09-06 Thread VIPIN VIPIN
I had already used admin/ On Thu, 6 Sep 2018, 5:13 pm ireoluwa fakeye, wrote: > Put /admin after 127.0.0.1 > > On Thu, 6 Sep 2018, 12:42 VIPIN VIPIN, wrote: > >> I had created a superuser successfully, but login webpage doesnot appear >> on chrome. >> >> -- >> You received this message

Re: about createsuperuser

2018-09-06 Thread ireoluwa fakeye
Put /admin after 127.0.0.1 On Thu, 6 Sep 2018, 12:42 VIPIN VIPIN, wrote: > I had created a superuser successfully, but login webpage doesnot appear > on chrome. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this

Django Nested Query with Aggregate.Sum()

2018-09-06 Thread mab . mobile . 01
QUESTION I have an application that will make on-line reservations for a series of weekly events. I would like to display the list of upcoming events in an html template with the number of remaining seats available in a single html page. I was able to create views to display the list of

Re: Online Judge.

2018-09-06 Thread satheesh
You can use third_party api's for compiling the code, instead of spending time on this. https://www.hackerearth.com/docs/wiki/developers/v3/ On Thursday, September 6, 2018 at 12:19:07 PM UTC+5:30, Md. Razibul Hasan Mithu wrote: > > I want to make an *Online Judge System*. That system runs*

Issue after WAR deployment in Apache Tomcat server

2018-09-06 Thread hari . krishnan
I am using Django 1.8 on Jython in Windows 10. Have created a simple Django project following the tutorial https://docs.djangoproject.com/en/1.8/intro/tutorial01. After packaging using buildwar(including jars), when I deploy the mysite.war archive in tomcat, I get an error. My project name

about createsuperuser

2018-09-06 Thread VIPIN VIPIN
I had created a superuser successfully, but login webpage doesnot appear on chrome. -- 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

Re: using extends more than once

2018-09-06 Thread Andréas Kühne
Short answer: You can't - at least not with extends. Extends is for one base template to be used for all default things you need on a HTML template. Long answer: You can include templates in another template. If you have one template and you need to include other templates in that template then

Re: From old-school Post/Redirect/Get to modern web (2018)

2018-09-06 Thread guettli
Up to now your customers keep us busy with new ideas. We even hardly advertise our products :-) I was talking to a JS expert. He likes the react framework. Now there are four frameworks to evaluate ... Regards, Thomas Am Mittwoch, 5. September 2018 12:59:54 UTC+2 schrieb Jason: > > Yeah, I

Online Judge.

2018-09-06 Thread Md. Razibul Hasan Mithu
I want to make an *Online Judge System*. That system runs* C/C++* code and Take output using some inputs. But Problem is how can I run a code *Using Python* Language and take all output especially runtime and memory for making all verdict like *Wrong answer, TLE, MLE. * -- You received this