Re: best option for Front End Design in Django

2019-09-26 Thread tribhuvan kishor
One is not enough. You need to learn at least HTML Any of js relevant technology. Like js, jquery, angular, And for designing or making you html pages much impressive you need CSS By the way all are very easy. On Thu, 26 Sep, 2019, 1:53 PM Balaji Shetty, wrote: > Hi > > Can anybody please tell

Django Foreign Object

2019-09-26 Thread Davin Pore
What is the meaning of the this error because the value of these attributes are in string. [image: cap1.JPG] -- 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: best option for Front End Design in Django

2019-09-26 Thread Suraj Thapa FC
React On Thu, 26 Sep, 2019, 1:53 PM Balaji Shetty, wrote: > Hi > > Can anybody please tell me what are the different options to create GUI > (User Interface ) for Front End in Django. > > I got answer like Angularjs, Nodejs, HTML5 or CSS. > > Which one is easier as well as mobile compatible if

best option for Front End Design in Django

2019-09-26 Thread Balaji Shetty
Hi Can anybody please tell me what are the different options to create GUI (User Interface ) for Front End in Django. I got answer like Angularjs, Nodejs, HTML5 or CSS. Which one is easier as well as mobile compatible if we need to develop mobile App also. -- *Mr. Shetty Balaji S.Asst.

Re: ModuleNotFoundError: No module named :

2019-09-26 Thread Rahul Roshan
You have created a model named as "user" in models.py while you are importing model "User" in views.py. Importing model "user" will fix the issue. Thanks, Rahul On Thu, Sep 26, 2019 at 9:09 AM MEGA NATHAN wrote: > > hi. > > populate script error in line 12 > > > > > *Regards* > Meganathan G >

Re: Django Foreign Object

2019-09-26 Thread Simon Charette
This error comes from ForeignObject.resolve_related_fields[0]. If you are using ForeignObject directly you have an incompatible from_fields and to_fields definition. It's hard to debug further without the full traceback. Cheer, Simon [0]

Re: Looking for online shop project

2019-09-26 Thread Ram mohan
Hi, if any one do this shopapp please let me know or otherwise any source code regarding this shopapp please send to me Thanks, Ramamohan On Wed, Sep 25, 2019 at 6:46 PM Tosin Ayoola wrote: > Halo I do > > On Sep 25, 2019 11:52, "Ram mohan" wrote: > >> Hi everyone, >> >> >> I am looking for

Re: regarding adding data into database using faker library

2019-09-26 Thread Cornelis Poppema
It seems you have an unfortunate typo in your environment variable name. Change DJANGO_SETTING_MODULE -> DJANGO_SETTINGS_MODULE and try again. On Thursday, 26 September 2019 16:26:18 UTC+2, Sahil Sharma wrote: > > [image: 2019-09-26-1569507899_screenshot_1920x1080.jpg] > I did the changes but it

django calendar app

2019-09-26 Thread Perceval Maturure
Dear all i am looking for a django calendar app/package compatible with python 3.7 , django 2.1 and django cms 3.6.0. Any ideas, please let me know -- *Perceval Maturure* *083 303 9423* -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: django calendar app

2019-09-26 Thread Sachin Puri
In the case of selecting a date, you can use the SelectDateWidget or the other I have used more often is the django-bootstrap-datepicker-plus. Otherwise if you want it in the calender format for filling in details for each day you can use the django-scheduler app. On Thu, 26 Sep 2019, 20:18

Re: Kafka Integration with Django Application

2019-09-26 Thread David Andrade
Hey Sampath, Once I thought about it and I found this framework Faust: ttps://github.com/robinhood/faust/tree/master/examples/django . I think it has django integration, but I haven't tried it yet. Updated me with any news! Best,

Django translate_url not working with optional parameters

2019-09-26 Thread NKSM
I am using django 1.11. My url is: url(r'^apply(?:/(?P[\d-]+)/(?P[\w-]+))?.html$', applyview, name= 'applyview'), Line to tranlate url: translate_url('/nl/job/apply.html', "fr") Django internal function: def translate_url(url, lang_code): """ Given a URL (absolute or relative), try

Django translate_url not working with optional parameters

2019-09-26 Thread NKSM
I am using django 1.11. My url is: url(r'^apply(?:/(?P[\d-]+)/(?P[\w-]+))?.html$', applyview, name= 'applyview'), Line to tranlate url: translate_url('/nl/job/apply.html', "fr") Django internal function: def translate_url(url, lang_code): """ Given a URL (absolute or relative), try

Re: Kafka Integration with Django Application

2019-09-26 Thread ktrkumarbablu kumar
I have faced same problem with Kafka.do you have example for the same On Thu, 26 Sep, 2019, 9:11 PM David Andrade, wrote: > Hey Sampath, > Once I thought about it and I found this framework Faust: > ttps://github.com/robinhood/faust/tree/master/examples/django >

Using Django Admin as definitive admin interface

2019-09-26 Thread Edson Kan Ishigami
Hi all, I'm a newbie in the Django world. And I have a question to ask for you: Is it a good practice to use the Django Admin as a definitive admin interface for a project in production? Or it is just used on the development stage? If it isn't a good practice, there are some tips to create an

Re: Error while trying to connect latest Dango with MSSQL

2019-09-26 Thread challa.Harikrishna chowdary
go with ur \AppData\Local\Programs\Python\Python37-32\Lib\site-packages\django\db\backends\mysql change the base and introspeciton to MysqlDB to pymysql On Tuesday, September 24, 2019 at 9:06:01 AM UTC+5:30, Praveen Kumar wrote: > > Please find blow the error I'm receiving > > Traceback

Filtering ModelChoiceField for InlineFormset

2019-09-26 Thread IWilliams
Hi, I would like to use ModelChoiceField in the following ways: models.py class Project(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, null=True, blank=True) ... class Profile(models.Model): project = models.ForeignKey(Project,

Re: best option for Front End Design in Django

2019-09-26 Thread Pengyu Cao
Hey, how about check this, https://www.similartech.com/compare/angular-js-vs-react-js On Thursday, September 26, 2019 at 4:48:30 PM UTC+8, Suraj Thapa FC wrote: > > React > > On Thu, 26 Sep, 2019, 1:53 PM Balaji Shetty, > wrote: > >> Hi >> >> Can anybody please tell me what are the different

Re: best option for Front End Design in Django

2019-09-26 Thread dheeraj technoevanglist
Postman is a tool on which we can request with the parameters, for example we have a web application contains backed code and front end code you can create backed alone and instead of html web page you can use postman to execute the backed and get HTML output on postman On Thu, Sep 26, 2019,

Re: best option for Front End Design in Django

2019-09-26 Thread Ankita Gupta
What is post-man? Can you explain it little more? On Thu, 26 Sep 2019, 7:13 pm dheeraj technoevanglist, wrote: > Totally agreed Django applies separation of concern so start with html > basics or make back end first and test it through the post man. > > On Thu, Sep 26, 2019, 16:28 Nick Sarbicki

Django Register form

2019-09-26 Thread ODII DANIEL
Please I'm having issues integrating Django into my website -- 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

Re: Multiple user roles with permissions

2019-09-26 Thread George Tantiras
Repositories using django-rules: https://github.com/dfunckt/django-rules/network/dependents?dependent_type=REPOSITORY Packages using django-rules: https://github.com/dfunckt/django-rules/network/dependents?dependent_type=PACKAGE Search engine for python code examples: 

Re: regarding adding data into database using faker library

2019-09-26 Thread Cornelis Poppema
The location of your first django.setup() on line 4 was actually what you need. Right now it does show the same error but from a different line: the line where you import your model. - you need to do django.setup() before importing any of your project code - you need to set

Re: best option for Front End Design in Django

2019-09-26 Thread Balaji Shetty
Thank You all for Your Reply I know HTML,CSS, javaScript as well as Django. I want to create professional user friendly GUI and using REST framework, i will create Mobile App. On Thu, Sep 26, 2019 at 4:28 PM Nick Sarbicki wrote: > Honestly whilst everyone is recommending react/angular etc.

Re: best option for Front End Design in Django

2019-09-26 Thread dheeraj technoevanglist
Totally agreed Django applies separation of concern so start with html basics or make back end first and test it through the post man. On Thu, Sep 26, 2019, 16:28 Nick Sarbicki wrote: > Honestly whilst everyone is recommending react/angular etc. I'd argue > these are probably the worst places

Re: best option for Front End Design in Django

2019-09-26 Thread Nick Sarbicki
Honestly whilst everyone is recommending react/angular etc. I'd argue these are probably the worst places to start. It assumed a lot of up front knowledge and ability in web design. Balaji has strongly suggested that they don't have a good grasp of the basics yet, HTML, CSS and vanilla

Re: how to copy one table content in to another table in database

2019-09-26 Thread Derek
http://www.mysqltutorial.org/mysql-insert-into-select/ On Monday, 16 September 2019 17:05:57 UTC+2, Mahendhar Reddy wrote: > > how to copy one table content in to another table in database > -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Kafka Integration with Django Application

2019-09-26 Thread Sampath Reddy
Hey All, We have developed REST back end API services using Django Rest Framework & mongodb as back end database and these end points have been working fine so far. Now we want to consume data, by subscribing to a Kafka Topic through Kafka consumer. Now I tried consuming data using

Django + Djang-Model-Utils UnicodeEncodeError with Cyrillic symbols

2019-09-26 Thread Akira Furude
I have StackOverflow question where i described and kind of "solved" this interesting bug. At the moment, I need help at UPD 3 section. -- You received this message because you are subscribed to the Google

Django Rest Framework mutilple update in ModelViewSet

2019-09-26 Thread Johan Rujano
Django Rest Framework mutilple update in ModelViewSet It is required to receive a json to update several objects (N number of objects) by using a ModelViewSet that uses different serializers viewsets.py class ContractsViewSet(viewsets.ModelViewSet): serializer_class = ContractsSerializer

Django Rest Framework mutilple update en ModelViewSet

2019-09-26 Thread Johan Rujano
Se requiere recibir un json para actualizar varios objectos (N cantidad de objectos) mediante para un ModelViewSet que usa diferente serializadores https://pastebin.com/jx0vGzYJ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Django Rest Framework mutilple update in ModelViewSet

2019-09-26 Thread Johan Rujano
Django Rest Framework mutilple update in ModelViewSet It is required to receive a json to update several objects (N number of objects) by using a ModelViewSet that uses different serializers viewsets.py class ContractsViewSet(viewsets.ModelViewSet): serializer_class = ContractsSerializer

Re: redirect authenticated user in create view in django

2019-09-26 Thread Deep Sukhwani
Hey, you could use if request.user.is_autenticated to identify if a user has authenticated, see documentation on Django . -- Regards Deep L Sukhwani ᐧ On Wed, 25 Sep 2019 at 22:39, saeed albooyeh

Re: Using Django Admin as definitive admin interface

2019-09-26 Thread Deep Sukhwani
I have read about places where Django Admin interface is used as primary admin interface by tech and non-tech departments to manage a project. On the other hand, I have also seen workplaces where admin is as much hidden from non-tech / routine project management as much possible and instead

Re: Multiple user roles with permissions

2019-09-26 Thread Shazia Nusrat
So kind of you George. It worked for me in examples and thanks for adding Python code example search engine. You really made my life easier. :-) Regards, Shazia On Thu, Sep 26, 2019 at 4:39 AM George Tantiras wrote: > Repositories using django-rules: > > >

Re: forms name could't import are some error

2019-09-26 Thread Budi Hermansyah
it seems, your form in basi2.png, is not correct, it should from .forms import FormName, instead of from , import form. please try to replace it. On Fri, Sep 27, 2019 at 11:08 AM MEGA NATHAN wrote: > Hi. > > i was creating simple django forms . some error in views and urls please > solve

Re: Django Foreign Object

2019-09-26 Thread Davin Pore
I'm using the characters for both from_fields and to_fields. On Thursday, 26 September 2019 16:48:08 UTC+8, Davin Pore wrote: > > What is the meaning of the this error because the value of these > attributes are in string. > > > [image: cap1.JPG] > -- You received this message because you are

Re: forms name could't import are some error

2019-09-26 Thread Gabriel Araya Garcia
I can't see the error El vie., 27 sept. 2019 a las 1:07, MEGA NATHAN () escribió: > Hi. > > i was creating simple django forms . some error in views and urls please > solve > > > > > > > *Regards* > Meganathan, > > -- > You received this message because you are subscribed to the Google