django-webpack-loader problem

2019-03-04 Thread Tom Zhang
Hi, all, Hi, did anyone used this library before? https://github.com/owais/django-webpack-loader In my html, I put {% load render_bundle from webpack_loader %} in the html, then I have {% render_bundle 'main' 'js' %}. However, django says SyntaxError('invalid syntax', ('', 1, 2, "{%

Re: Problems with first program

2019-03-04 Thread sachin thakur
that is just a indentation error look just back space look into the indentation of python you need to understand the coding flow in python and respective framework of python *Thanks and Kind Regards*

Re: Problems with first program

2019-03-04 Thread sachin thakur
that is just a indentation error look just back space look into the indentation of python you need to understand the coding flow in python and respective framework of python *Thanks and Kind Regards*

migrating from 2.7 to 3.x on Ubuntu

2019-03-04 Thread Mike Dewhirst
On the same host, is it viable to switch my Django projects away from vhosts under Apache2/mod_wsgi/py2.7 to Gunicorn and Nginx running with Python 3.x ... AND SIMULTANEOUSLY ... leave Trac running on Apache2 mod_wsgi/py2.7? Trac is not yet released for Python 3.x. There is also a Subversion

Re: Missing manage.py & settings.py

2019-03-04 Thread lujate
I created a scratch project for R I did a runserver and confirmed the default landing page. I added the apps to the settings file per the docs. I ran a migrate per the docs and got an error on one of the apps. I tried a runserver and got the same error. I dug into site-packages and confirmed the

Re: DJANGO QUORA LIKE APPLICATION

2019-03-04 Thread Makori Breens
Becareful.this guy stole my idea, conned me then dissappeared into thin air On Fri, Feb 8, 2019, 2:59 AM Ben Indangasy wrote: > yes > > On Thu, Feb 7, 2019 at 10:03 AM Peter Mudoko wrote: > >> I want a Django quora like application anybody who can do it hungout me >> >> >> >> Systems developer

Multi-level inheritance for the model and migrations?

2019-03-04 Thread bob
Can you have multiple levels if inheritance in your models? Not "multiple inheritance" multiple level inheritance. Something like class ArchBase(models.Model): obj = models.CharField(max_length=128, blank=False, null=False) class Meta: abstract = True class Armour(ArchBase): name_pl =

Re: Missing manage.py & settings.py

2019-03-04 Thread Mario Martinez
Did you run the django-admin startproject your_project_name command? On Fri, Mar 1, 2019, 6:13 PM lujate wrote: > I pip installed a Django project, but it doesn’t have a manage.py or > settings.py. I checked the repo on GitHub, and those files don’t exist > there either. Is this an alternate

Re: Missing manage.py & settings.py

2019-03-04 Thread lujate
I'm still pretty new with Django. I've used a few 3rd party utilities but no apps. I have it installed, and I'm working on am error in my INSTALLED_APPS now. Thanks On Mon, Mar 4, 2019, 1:13 AM Derek Pretty much *all* the apps you use in your Django project will be > installed via pip ... > >

Re: django vue javascript integration

2019-03-04 Thread Tomas Garijo
Hi, the .js file path i think is correct, if I put the file url on browser I can see the code of .js file on browser On Friday, 1 March 2019 23:01:22 UTC+1, Lloyd Dube wrote: > > The issue here appears to be that OP's browser cannot load the .js file as > specified in the resource path. I

RE: Is there any inline editing the data and delete data in table in Django?

2019-03-04 Thread Matthew Pava
See https://datatables.net. They have a nice editor that you do have to pay for. From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Derek Sent: Monday, March 4, 2019 1:10 AM To: Django users Subject: Re: Is there any inline editing the data and delete data in

Re: My developers have run amok

2019-03-04 Thread Dan Davis
Derek, it all depends on where you are. I'm \at a government agency. The wait time to get an NFS directory (yup, really) where I can write my data between multiple redundant web servers is weeks. After that, there are size and synchronization issues. So, there are other reasons than table

Re: What's the difference between using mariadb as database and using mysql?

2019-03-04 Thread Petr B.
just use postgresql четверг, 28 февраля 2019 г., 19:35:03 UTC+7 пользователь x w написал: > > I'm using a Linux distribution called manjaro and mysql has been replaced > with mariabd in the official repository. When I use maridb as database, > what is the difference with mysql? Is there

Resolve model has nullable field

2019-03-04 Thread Chukwunonso Nwankpa
Hi I am currently new to django and working on a directory project. I recently setup a review model to another model in my app But when I post the review it returns an integrity error saying a column contains null values Please how do I resolve this. Your help would much appreciated.

Django Learning project - Higher / Lower game --> Looking for paid tutoring

2019-03-04 Thread Doug Arnold
Hi, I've looked into Django for working with front end systems that I will be specifying and implementing in the next few years. I'm looking to create a simple app which could also be used for public outreach which uses a Higher/Lower (toptrumps) style game with cards. Are there any websites

Django Memcached Session Management

2019-03-04 Thread NEERAJ KUMAR
wo Django applications(DRF) are running on two separate ports 8001 and 8000 with same host localhost. I am using memcached to store the sessions. Both the application share the sessions from the memcache. when i try to access pages using second application after logining in using first I am

Re: Providing help on a website (basic CMS for on-site site documentation)

2019-03-04 Thread Bernd Wechner
Derek, Empirically by evidence of the lack of material on-line or obvious solutions, you may be right. But I respectfully disagree. Almost every website has an About Us page for example and a pile of other simple flat pages. And Django supports flatpages natively, just not with a well

Re: Why are foreign keys rewritten when adding related_name?

2019-03-04 Thread Hanne Moa
No, 1.11. This project is still on Python 2.7 but I do think we'll have it on Python 3(.5) before the year is over. On Fri, 1 Mar 2019 at 21:16, Simon Charette wrote: > > Hello HM, > > I know that some changes have been made to avoid unnecessary foreign key > rebuilds on some option changes. > >