Re: PasswordResetDoneView not using custom template in Django

2019-08-30 Thread Sim
could you please show the content of "PasswordResetDoneView" ? On Thu, Aug 29, 2019 at 3:31 AM siva reddy wrote: > PasswordResetDoneView.as_view is not loading custom template I'm using > Django 2.2 version > > I have created a custom template and add the path to the accounts app URL > > >

Re: Network device automation with Django web framework

2019-08-30 Thread Sim
according to https://pubhub.devnetcloud.com/media/pyats/docs/getting_started/index.html, " In pyATS, test scripts are written and executed through AEtest Package". How about parsing the results of the tests by ur own functions in the backend ? (just sharing an idea ) On Thu, Aug 29, 2019 at 8:51

Re: Django Multiple File Upload for latest versions

2019-08-27 Thread Sim
here is my newbie opinion : https://github.com/Revel109/django-multiupload-lts/issues/1 good luck On Tue, Aug 27, 2019 at 9:30 AM Abu Yusuf wrote: > Hey there, I have checked a lot of git projects for django latest versions > 'multiple file upload' but couldn't find a great one. > > Here i

Re: How can I switch AUTH_USER_MODEL for each application?

2019-08-26 Thread Sim
https://docs.djangoproject.com/en/2.2/ref/settings/#databases DATABASES in settings.py is a dict() and use database_routers. Good luck On Mon, Aug 26, 2019 at 12:47 PM Ayu Nakata wrote: > I want to use each database in each application. > I tried using different settings.py for each

Re: How to fix: Django forms: {{ form }} is not working in a dynamic html page

2019-06-10 Thread Sim
Form should be provided in context render of index view . Try this please and let me know if it worked On Sunday, June 9, 2019, Marvelous Ikechi wrote: > I couldn't find a description field in the creation of your ContactForm. > Maybe it's an oversight from me. However, if it isn't, I'm not

Re: Import project from Linux to Windows

2013-05-06 Thread Nathaniel Sim
for development. On Monday, May 6, 2013 10:37:18 AM UTC+8, Mike Dewhirst wrote: > > On 6/05/2013 11:40am, Nathaniel Sim wrote: > > Hi all > > > > An existing web is developed on Linux and i want to create a test > > environment on my Windows 7. I already copied the entir

Import project from Linux to Windows

2013-05-05 Thread Nathaniel Sim
Hi all An existing web is developed on Linux and i want to create a test environment on my Windows 7. I already copied the entire folder onto my web root, please advise me on how to create a test environment. Thanks. -- You received this message because you are subscribed to the Google

Re: Update Query

2010-05-13 Thread sim
Scott, Thank you very much for your reply and giving me very nice and simpler idea but I have one question: What if field_name and value coming from loop? I have around 50 field and values in loop. Can I do this? I know this is silly way to do but please guide how can I do this? for key, value

Update Query

2010-05-13 Thread sim
Hello All, I am little confused about it. I am not sure django allow this or not. Please correct me. string = last_name = 'Riaz edit', first_name = 'Asim edit', nationality = 'se' User.objects.filter(id=11).update(string) I am using this and its giving me this error: update() takes exactly 1

Re: invalid literal for int with base 10

2010-04-01 Thread sim
<bruno.desthuilli...@gmail.com> wrote: > On 1 avr, 16:12, sim <imasim...@gmail.com> wrote: > > > Hello, > > I am new to Python/Django and working on web services. > > I have two files client and server both running on different ports > > I assume you mean "

invalid literal for int with base 10

2010-04-01 Thread sim
Hello, I am new to Python/Django and working on web services. I have two files client and server both running on different ports and working as client server. Problem is this: When I send a string say '121ABC' from client as parameter to server file, it catch perfectly but when I assign to any