Re: Django Deployment showing list of directory

2017-10-19 Thread sarfaraz ahmed
This is been fixed On Monday, 8 May 2017 15:39:25 UTC+5:30, sarfaraz ahmed wrote: > > Hello Guys, > > After lot of struggle I understood there is no MOD_WSGI file available for > latest version of XAMP which is compiled in VC14. I am not sure how to > compile MOD_WSGI with

Re: Django deployement Apache

2017-10-19 Thread sarfaraz ahmed
/www/static_root'. >- You don't need to specify both "Alias /static/admin" and "Alias >/static". Just the second one will do. "Alias /static > /var/www/static_root" >and that's it. > > Regards, > > Antonis > > Antonis Christo

Re: Need help with deployment

2017-10-19 Thread sarfaraz ahmed
Yes, I moved to linux all working fine now. On Saturday, 13 May 2017 00:06:44 UTC+5:30, mohammed ferozkhan wrote: > > Hi > Problem will solved?? > If no ping me on what'sapp +91 8686962047 -- You received this message because you are subscribed to the Google Groups "Django users" group. To

“Manager isn't available; User has been swapped”

2017-10-19 Thread sarfaraz ahmed
in was invalid. Please try again.") return self.cleaned_data def login(self, request): username = self.cleaned_data.get('username') password = self.cleaned_data.get('password') user = authenticate(username=username, password=password) return user

Re: AttributeError When Overwritting AUTH_USER_MODEL in Test Cases

2017-10-19 Thread sarfaraz ahmed
I am getting similar issue. No reply on your question. Please share the solution if you found On Monday, 8 February 2016 19:50:07 UTC+5:30, Aubrey Stark-Toller wrote: > > Hello, > > When I override the AUTH_USER_MODEL setting to "auth.User", when > AUTH_USER_MODEL in settings is not set to

Re: Django deployement Apache

2017-08-30 Thread sarfaraz ahmed
en I run collect static if I understand correctly from documentation. Web server should point to static root folder to access css files in production. Regards, Sarfaraz Ahmed On Wednesday, 30 August 2017 13:44:35 UTC+5:30, Antonis Christofides wrote: > > Hello Sarfaraz, > > Y

Doubts about static files

2017-08-30 Thread sarfaraz ahmed
MyProject --static CSS JS imgs --MyProject --MyApp When I run collectstatic files moves files from static files from static folder to static root. Now, my question is when deploy it on apache which folder should I point to in my conf files. static_root or static. Regards, Sarf

Re: Django deployement Apache

2017-08-27 Thread sarfaraz ahmed
ecause nobody knows exactly what you've got running, but if > you stick with it, you'll get it working. > > Regards, > Vernon > > On Saturday, 26 August 2017 21:31:34 UTC+1, sarfaraz ahmed wrote: >> >> Hey Team, >> >> Please someone help. >> I am sti

Re: Django deployement Apache

2017-08-26 Thread sarfaraz ahmed
Require all granted CustomLog /var/log/apache2/firstweb-access.log combined ErrorLog /var/log/apache2/firstweb-error.log Earlier I missed WSGIScriptAlias argument. Regards, Sarfaraz Ahmed

Re: Django deployement Apache

2017-08-26 Thread sarfaraz ahmed
error. Please help On Saturday, 26 August 2017 20:02:47 UTC+5:30, sarfaraz ahmed wrote: > > Hello Friends, > > Please help me with this. > > I am new to linux and I am attempting to deploy my trial app on AWS ubuntu > server. > > my vhost file looks like this &

Django deployement Apache

2017-08-26 Thread sarfaraz ahmed
. everyone suggested me to deploy on linux. I M NOT USING virualenv. Thanks in advance. Regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
Require all granted Also, you appreciate if you come on Google Hangout. Regards, Sarf On 8 May 2017 at 23:22, 'Tom Evans' via Django users < django-users@googlegroups.com> wrote: > On Mon, May 8, 2017 at 11:08 AM, sarfaraz ahmed <findsarfa...@gmail.com> &g

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
executable. It is to the > site-packages where your dependencies are installed. > > > > *From:* django-users@googlegroups.com [mailto:django-users@ > googlegroups.com] *On Behalf Of *sarfaraz ahmed > *Sent:* Monday, May 8, 2017 9:28 AM > > *To:* django-users@googlegroups.com >

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
n 3.6 to see if you actually need to make any changes. They aren’t > *that > *different from each other. The biggest habit I had to change was to use > print as a function, basically surrounding the print string in parentheses. > > > > *From:* django-users@googlegroups.com [mailto

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
t; > WSGIPythonPath ${project_path};${project_virtualenv}; > > > > > > *From:* django-users@googlegroups.com [mailto:django-users@ > googlegroups.com] *On Behalf Of *sarfaraz ahmed > *Sent:* Monday, May 8, 2017 8:21 AM > *To:* django-users@googlegroups.com > *Subject:

Re: Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
forgot to mention I m using python 2.7. If you look at link, there is not mod_wsgi for python 2.7 with VC14 Regards, Sarfaraz Ahmed On 8 May 2017 at 18:44, Matthew Pava <matthew.p...@iss.com> wrote: > Hi Sarfaraz, > > Here is a compiled version of mod_wsgi for VC14: > > h

Django Deployment showing list of directory

2017-05-08 Thread sarfaraz ahmed
he24/htdocs/testarhamcollections/static/media/" Require all granted --- I checked the error log of website it shows nothing. -- Thanks with regards, Sarfaraz Ahmed -- You r

Re: Need help with deployment

2017-05-08 Thread sarfaraz ahmed
This is first time I am trying to deploy my django project. Doing online research I found Django+Apache makes good combination. Regards, Sarfaraz Ahmed On 6 May 2017 at 01:41, Luiz Guilherme Silva <luizguilhermep...@gmail.com> wrote: > Hello Ahmed. > > Why are you using apache in

Need help with deployment

2017-05-04 Thread sarfaraz ahmed
Hello Friends, I have an Windows 2016 Server edition on EC2. I install Apache 2.4 VC10 on my server and installed 2.7.13 I am not able to find MOD_WSGI.SO for this combination. Can someone provide me steps to compile or link to download -- Thanks with regards, Sarfaraz Ahmed -- You received

Re: password_reset error

2017-04-10 Thread sarfaraz ahmed
ull > urls.py the first time. > > I hope I'm clear and that will help you :) > All you need to remember is that sometimes, you need to specify the full > name of an url. > > [1] https://github.com/django/django/blob/1.10.5/django/ > template/defaulttags.py#L428-L434 > [2]

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
https://groups.google.com/forum/#!topic/django-users/6mYFE2pgt0w This is full info about new error On 10 April 2017 at 10:41, sarfaraz ahmed <findsarfa...@gmail.com> wrote: > I fixed that i am facing new error. Posted as new problem > > regards, > Sarfaraz Ahmed > > O

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
I fixed that i am facing new error. Posted as new problem regards, Sarfaraz Ahmed On 10 April 2017 at 01:49, Matthew Pava <matthew.p...@iss.com> wrote: > As another user mentioned, you did not specify the name keyword argument > for password_reset_done. You also have the line c

password_reset error

2017-04-09 Thread sarfaraz ahmed
and keyword arguments '{u'uidb64': 'Mg', u'token': u'4l3-29face0d2514fc5a70e4'}' not found. 0 pattern(s) tried: [] - I hope this information is enough -- Thanks with regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Goo

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
Here is full error message NoReverseMatch at /password_reset/ Reverse for 'password_reset_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] Request Method: GET Request URL:

Re: Password reset custom view

2017-04-09 Thread sarfaraz ahmed
is missing an argument name="password_reset_done". > > 2017-04-09 7:26 GMT+02:00 sarfaraz ahmed <findsarfa...@gmail.com>: > > > > urlpatterns = [ > > url(r'^login/',login,name='login'), > > url(r'^auth_view/',au

Password reset custom view

2017-04-08 Thread sarfaraz ahmed
in _reverse_with_prefix, line 392 Python Executable: C:\Python27\python.exe Python Version: 2.7.9 Please help -- Thanks with regards, Sarfaraz Ahmed -- Thanks with regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Re: Hello I am new to django

2017-03-05 Thread sarfaraz ahmed
last_ > name) > return full_name.strip() > > Don't forget to write some test and to take into account what happens if > you user have no UserProfile associated > > On 5 Mar 2017 1:09 a.m., "sarfaraz ahmed" <findsarfa...@gmail.com> wrote: > > I am trying to cr

Hello I am new to django

2017-03-04 Thread sarfaraz ahmed
lease help me to join both models using onetoone relationship -- Thanks with regards, Sarfaraz Ahmed -- 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 d

Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread sarfaraz ahmed
il.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Thanks with regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread sarfaraz ahmed
I missed the pastebin link in my last post. Sorry... Here is the model code http://pastebin.com/5EF1hV8U On Tuesday, 4 August 2015 00:48:18 UTC+5:30, sarfaraz ahmed wrote: > > Hello Team, > > I have a model and I have added two fields to User_Address model > creation_date and u

Need help with auto_now_add and auto_now fields

2015-08-03 Thread sarfaraz ahmed
... Regards, Sarfaraz Ahmed -- 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 post to this group, send email to dj

Re: Introduction to Pulpo-Forms

2015-08-02 Thread sarfaraz ahmed
Demos looks great. Can you post some videos showing actual implementationsin some project. I am planning to work on project which need to capture geo-location .. I think this will be awesome.. Great work...!! Regards, Sarfaraz Ahmed On Sat, Aug 1, 2015 at 2:55 AM, Luciano Ferrari <lf

Re: Newbie: Saving User and UserProfle from same template

2015-08-02 Thread sarfaraz ahmed
It worked for me!! Please review my code... and let me know if I have done everything correct...!! On Sun, Aug 2, 2015 at 12:25 PM, sarfaraz ahmed <findsarfa...@gmail.com> wrote: > Changed the edit_user to following. it works fine except... newly added > field date_of_birth d

Re: Newbie: Saving User and UserProfle from same template

2015-08-02 Thread sarfaraz ahmed
, Sarfaraz Ahmed On Sunday, 2 August 2015 01:28:37 UTC+5:30, sarfaraz ahmed wrote: > > Hello Team, > > I have extending the user with userprofile. I want to change first_name, > last_name and sex from userprofile using one template. I have defined form > and models. Please

Newbie: Saving User and UserProfle from same template

2015-08-01 Thread sarfaraz ahmed
er(request,'useraccount/edit_user.html',args) Now the i go to edit user view it load blank and do nothing when I click on save. Please help Regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Re. My Django Book.

2015-07-31 Thread sarfaraz ahmed
multiple models and show them under one view. Rgards, Sarfaraz Ahmed On Fri, Jul 31, 2015 at 9:01 PM, monoBOT <monobot.s...@gmail.com> wrote: > two scoops is more like ways of doing things right than really explaining > or tutoring. > > 2015-07-31 15:33 GMT+01:0

Re: Want to change template based on full_name(request.user.username)

2015-07-30 Thread sarfaraz ahmed
user.first_name }} > {% else %} > Welcome, {{ user.username }} > {% endif %} > > > Sign Out > >

Want to change template based on full_name(request.user.username)

2015-07-29 Thread sarfaraz ahmed
) -- Please help. Regards, Sarfaraz Ahmed -- 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 post to this g

Re: Interaction of Python Code with Django.

2015-05-13 Thread sarfaraz ahmed
werkzeug is another debug tool which let you write and test code via browser itself. Regards, Sarfaraz Ahmed On Wed, May 13, 2015 at 3:43 PM, SUBHABRATA BANERJEE < subhabrata.bane...@gmail.com> wrote: > Hi Palansh, > > Thank you for your prompt answer, is it, > r

using celery with django.

2015-01-30 Thread sarfaraz ahmed
on27\lib\site-packages\django-1.7.2-py2.7.egg\django\db\models\op ons.py", line 445, in init_name_map for f, model in self.get_all_related_m2m_objects_with_model(): File "C:\Python27\lib\site-packages\django-1.7.2-py2.7.egg\django\db\models\op ons.py", line 563, in get_all_relat

Re: Windows path for django_crontab

2015-01-18 Thread sarfaraz ahmed
<https://www.djangopackages.com/packages/p/django-cronjobs/> ,DJANGO-CRON <https://www.djangopackages.com/packages/p/django-cron/>. Surprisingly, DJANGO cron says that it is meant for Windows hosting where user does not have access to setup the cron jobs. I tried that to... nothing runs

Windows path for django_crontab

2015-01-18 Thread sarfaraz ahmed
annot find the path specified." I am using Windows. Please help.. Regards, Sarfaraz Ahmed -- 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 d

Re: Exception occurred processing WSGI script

2015-01-07 Thread sarfaraz ahmed
Issue resolved. Please close this On Wednesday, 7 January 2015 23:02:33 UTC+5:30, sarfaraz ahmed wrote: > > This is what I am trying to do. > > I am using amazon ec2 windows free tier and i am trying to setup django on > XAMPP. > > I am using apache 2.4 Windows 32 bit v

Re: Recommendations for hosting service?

2015-01-07 Thread sarfaraz ahmed
I have trying to setup django on aws windows instance that not easy. Regards, Sarfaraz Ahmed On Wednesday, 7 January 2015 22:57:39 UTC+5:30, Stefano Probst wrote: > > OK, i just see you need 100GB. At Uberspace you have only 10GB for Data > (excl. OS, etc). > > Am Mittwoch, 7. Ja

Re: Django 1.7 problem

2015-01-07 Thread sarfaraz ahmed
pluggins. The project is attempt to make Django work on Apache... and it not working. Regards, Sarfaraz Ahmed On Thursday, 8 January 2015 00:59:50 UTC+5:30, Andréas Kühne wrote: > > Hi Sarfaraz, > > Are you also having problems with the dbgettext plugin? Or is it with >

Re: Django 1.7 problem

2015-01-07 Thread sarfaraz ahmed
I believe i am too facing the same issue. But from above conversation I am not able to get solution of this issue. Could please help me. Regards, Sarfaraz Ahmed On Thursday, 4 December 2014 15:21:59 UTC+5:30, Andréas Kühne wrote: > > 2014-12-04 1:39 GMT+01:00 Carl Meyer <ca...@od

Exception occurred processing WSGI script

2015-01-07 Thread sarfaraz ahmed
CODE) [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client ::1:50033] File "C:\\Python27\\lib\\site-packages\\django\\utils\\translation\\trans_real.py", line 209, in translation [Wed Jan 07 17:10:04.626684 2015] [:error] [pid 1980:tid 1736] [client ::1:50033] default_

Re: Form error messages not displayed

2014-07-16 Thread sarfaraz ahmed
> > I tried {{form.errors}} in template.. but it still does not show up. When > I used the Werkeuq and print form it see the precise error in form. Not > sure what i am doing wrong. Regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the G

Form error messages not displayed

2014-07-16 Thread sarfaraz ahmed
I am trying to display form.erros. I am using bootstrap modal and using ajax form submit to send data async. Everything works fine... I can see the error messages returned in code. But it automatically goes to default error pages of django when form.is_valid returns false. When I print form in

Re: django user authenication form in modal form twitter bootstrap

2014-06-29 Thread sarfaraz ahmed
)) Now the code in red is issue. when I include the the modal does not stay. Regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Re: django user authenication form in modal form twitter bootstrap

2014-06-27 Thread sarfaraz ahmed
i am using attribute to call modal popup. Should I use JS and try. I would give a try and let you know. Thanks in advance, Sarfaraz Ahmed On Sat, Jun 28, 2014 at 6:09 AM, Mario Gudelj <mario.gud...@gmail.com> wrote: > Sounds like you have a js issue now. Have a look inside chrom

Re: django user authenication form in modal form twitter bootstrap

2014-06-27 Thread sarfaraz ahmed
to link : accounts/login i can see the form with any formatting and also can see csrf token. Desperately looking for help Regards, Sarfaraz Ahmed On Fri, Jun 27, 2014 at 12:34 PM, sarfaraz ahmed <findsarfa...@gmail.com> wrote: > Hello Roman, > > Thanks for response. Tried what y

Re: django user authenication form in modal form twitter bootstrap

2014-06-27 Thread sarfaraz ahmed
Hello Roman, Thanks for response. Tried what you suggested me. The modal does not even pop up if I used the code mentioned in your reply. Regards, Sarfaraz Ahmed On Fri, Jun 27, 2014 at 12:09 PM, Roman Klesel <roman.kle...@gmail.com> wrote: > I think the view function

django user authenication form in modal form twitter bootstrap

2014-06-26 Thread sarfaraz ahmed
Hello I am new to django I am trying to use modal (bootstrap) for embed by login form. I am using the following error. I have mentioned my code below and tried lot of googling... still no use. Help Reason given for failure: CSRF token missing or incorrect. Here is code in view.py

Re: trying to configure MSSQL 2012 as backend with Django.

2014-06-17 Thread sarfaraz ahmed
ber...@gmail.com> wrote: > What was the solution? > > > On Sun, Jun 15, 2014 at 5:03 PM, sarfaraz ahmed <findsarfa...@gmail.com> > wrote: > >> Thanks for your help. The issue is resolved ... thanks :) >> >> >> >> On Mon, Jun 16, 2014 at 1:10 AM, sarfara

Re: trying to configure MSSQL 2012 as backend with Django.

2014-06-15 Thread sarfaraz ahmed
Thanks for your help. The issue is resolved ... thanks :) On Mon, Jun 16, 2014 at 1:10 AM, sarfaraz ahmed <findsarfa...@gmail.com> wrote: > Yes, I saw and tried the steps mentioned in that link. I get following > error > > "No module named sqlserver_ado.base". >

Re: trying to configure MSSQL 2012 as backend with Django.

2014-06-15 Thread sarfaraz ahmed
'HOST': ' ', 'USER': 'sa', 'PASSWORD': '*', } } I am new to DJANGO... Regards, Sarfaraz Ahmed On Mon, Jun 16, 2014 at 12:57 AM, Mark Phillips <m...@phillipsmarketing.biz> wrote: > Did you look here?? > > http://django-mssql.readthedocs.org/en/latest/ > >

trying to configure MSSQL 2012 as backend with Django.

2014-06-15 Thread sarfaraz ahmed
example will be appreciated. I check lot of post however but i am unable find any solution. With proper example. Thanks in advance. Regards, Sarfaraz Ahmed -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from