LiveFyre vs disqus Commenting system

2014-03-03 Thread vijay shanker
Hi 
I was pondering over using livefyre's comment on my site (to have something 
similar to disqus). I am inquisitive about how it fared for people who had 
already used it, i.e can i get total comments count, can i collect user 
information of people who use it to comment upon, what are the pros and 
cons of using it,as compared to disqus and other similar APIs.Hope to hear 
from people who had taste of both these pies.
Regards
Vijay

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2bb17aeb-8ed2-4758-bba3-0ee7230a75bb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


can anyone suggest me some host which is Australia based and also django friendly?

2014-03-03 Thread lu zou
As above, can anyone suggest me some host which is Australia based and also 
django friendly?:)

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/687076fd-22f7-4b0e-bcfc-ebeb7fd83214%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: can anyone suggest me some host which is Australia based and also django friendly?

2014-03-03 Thread Mario Gudelj
Amazon now has a dc in Sydney. I believe that Gondor is au based as well.
On 03/03/2014 10:44 pm, "lu zou"  wrote:

> As above, can anyone suggest me some host which is Australia based and
> also django friendly?:)
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/687076fd-22f7-4b0e-bcfc-ebeb7fd83214%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHqTbjm206WDOm5XQGVNkV0s-%2BnE49y%2BGJc2QT%3DTPWueDGu9EQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


create user define groups via interface

2014-03-03 Thread django-newb
I have build a simple site which is similar to a regular forum. I want to 
create a functionality where any user of the system can create a group via 
user interface. The functionality that I am thinking as follows: Interface 
allow a user to enter group name and three email address. Then when group 
get created system will email the invitation to those email address that 
creator of the group entered to join the site and the group. I am not an 
expert in django and it would be great if someone can point me towards 
right direction on this. Also I would like to give group creator to remove 
users from group.

Thank You,

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cf0fd566-c918-49cd-9187-dd84b0b7a502%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Testing Multiple Sequential Forms in one Test Function

2014-03-03 Thread James P
Hello,

I am having trouble trying to figure out how to test a set of multiple 
forms being submitted sequentially. I tried using FormWizard which works 
fine when I test manually in the browser, my session variables pass intact 
and I can move through multiple forms and do my transaction processing (ie. 
the FormWizard 'done' method launches and performs this work)

But when I try to run it via the testing functions, I can POST multiple 
forms sequentially but they never seem to be on the same session or kick 
off the 'done' method. Is there something I am missing to testing multiple 
sequential form POST requests?

test code:
def test_admin_create_user(self):
resp = self.c.get(reverse('admin_create_user'))
resp = self.c.post(reverse('admin_create_user'),{
'admin_reg_user_wizard-current_step': '0',
'0-CommentLog':'No Comment'
})
resp = self.c.post(reverse('admin_create_user'),{
'admin_reg_user_wizard-current_step': '2',
'2-ContactTitle':'2',
'2-ContactType':'1',
})

I also noticed that the methods in condition_dict in URLS.py do not get 
called when I run the test POST, but they call fine when manually testing 
in the browser.

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eb3f079d-f985-4353-a1dd-808759c0ba16%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Terrible performance when dropping into raw SQL Oracle

2014-03-03 Thread junctionapps
Hey Shawn, would you do me a favour and try something a query with a 
implicit distinct like the following substituting YOURRECORDTABLE for 
whatever table holds your recordnumb as a unique value (I'm making a large 
assumption you have a table where each recordnum occurs once). Could you 
let me know if you see improvements in speed from the SQLPlus, and 
subsequently Django?

SELECT count(1) from (

SELECT RECORDNUMB FROM YOURRECORDTABLE
where RECORDNUMB IN 
(
SELECT RECORDNUM
FROM NOTICED_PARCELS 
WHERE CASE_NUMBER = %s AND RECORDNUMB > 0
 UNION 
SELECT RECORDNUMB 
FROM CONDONOTICE 
WHERE CASE_NUMBER = %s AND RECORDNUMB > 0
)', [case_number, case_number]

On Thursday, 27 February 2014 11:48:40 UTC-4, Shawn H wrote:
>
> The cursor.execute specifically.  I'm printing a timestamp immediately 
> before and immediately after that line.  I'm positive it is ONLY the query 
> that takes 16 seconds, whether using django.cursor or a cx_Oracle cursor.
>
> On Thursday, February 27, 2014 9:27:48 AM UTC-6, Scott Anderson wrote:
>>
>> Are you timing the query in the view specifically, or the entire view? 
>> That is, do you know for sure that it is *only* the query that is taking 16 
>> seconds and not the rest of the view?
>>
>> -scott
>>
>> On Wednesday, February 26, 2014 5:53:15 PM UTC-5, Shawn H wrote:
>>>
>>> I said that before testing it.  The exact same code using cx_Oracle 
>>> takes ~4 seconds outside of the django environment, but still takes ~16 
>>> seconds when running in the django view.  What the heck is going on? 
>>>  Updated portion of code below
>>>
>>> cnxn = cx_Oracle.connect('notification/notifydev@landmgm')
>>> cursor = cx_Oracle.Cursor(cnxn) #connections['landtest_11'].cursor()
>>> print datetime.datetime.now()
>>> cursor.execute('SELECT count(1) from (SELECT DISTINCT RECORDNUMB FROM 
>>> DEVGIS.NOTICED_PARCELS WHERE CASE_NUMBER = &s AND RECORDNUMB > 0 UNION \
>>> SELECT DISTINCT RECORDNUMB FROM DEVGIS.CONDONOTICE WHERE CASE_NUMBER = 
>>> &s AND RECORDNUMB > 0)', [case_number, case_number])
>>>  print datetime.datetime.now()
>>> number_count = cursor.fetchone()
>>>
>>>
>>> On Wednesday, February 26, 2014 4:41:06 PM UTC-6, Shawn H wrote:

 Because this worked so well, I've gone directly to cx_Oracle in my 
 django view and used that to get the result in the 4 seconds.  There is 
 definitely a problem with the Django implementation - I wonder if perhaps 
 the indexes on the tables aren't being used properly.

 On Wednesday, February 26, 2014 3:49:47 PM UTC-6, Shawn H wrote:
>
> 3.8 seconds.  It seems to be django, not cx_Oracle.
>
> On Wednesday, February 26, 2014 2:50:58 PM UTC-6, Shawn H wrote:
>>
>> Good idea.  I'll try that and report back
>>
>> On Wednesday, February 26, 2014 1:22:52 PM UTC-6, Tom Evans wrote:
>>>
>>> On Wed, Feb 26, 2014 at 6:16 PM, Shawn H  
>>> wrote: 
>>> > Yes.  I've tested with several case numbers, and I'm using a 
>>> similar 
>>> > parameterized approach in my gui Oracle client as well, with the 
>>> same 
>>> > results.  It's always about 3 to 4 times slower running via 
>>> django.  I've 
>>> > tried it both on my local development web server as well as my 
>>> production 
>>> > apache linux box, and it always takes much longer running via 
>>> django. 
>>> > 
>>> > 
>>>
>>> If you write a standard python program, ie not using django, but 
>>> still 
>>> using whatever oracle DB adapter Django uses, that connects to your 
>>> oracle server and executes the query, is it still slow? 
>>>
>>> IE is the problem something django does, or how the adapter works. 
>>>
>>> Cheers 
>>>
>>> Tom 
>>>
>>

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b3a44d11-6d45-4700-8a23-424956535ae0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: can anyone suggest me some host which is Australia based and also django friendly?

2014-03-03 Thread Russell Keith-Magee
On Mon, Mar 3, 2014 at 7:55 PM, Mario Gudelj  wrote:

> Amazon now has a dc in Sydney.
>
As does Rackspace.

However, both of those options are just normal cloud server options. You'll
still need to do the devops part to turn a bare Ubuntu box into a working
web server. This isn't too hard, but I'm not sure it's what the OP was
asking.

If you're looking for "Here's my repository, run my site" levels of
simplicity, I can't say I know of any options based in AU.

> I believe that Gondor is au based as well.
>
No, they're not. The founder is an Australian, but they're a US based
company. I believe they have a data centre presence in the UK as well. Last
time I spoke to James, they didn't have any presence in Australia.

Yours,
Russ Magee %-)

 On 03/03/2014 10:44 pm, "lu zou"  wrote:
>
>> As above, can anyone suggest me some host which is Australia based and
>> also django friendly?:)
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/687076fd-22f7-4b0e-bcfc-ebeb7fd83214%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>  --
> 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 django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHqTbjm206WDOm5XQGVNkV0s-%2BnE49y%2BGJc2QT%3DTPWueDGu9EQ%40mail.gmail.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJxq84-B1vmZ%3DvvVhtECAr28LwM1x-gdvjJgMByXdX6-cMztNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Trouble with Django in production server.

2014-03-03 Thread Camilo Torres
On Sunday, March 2, 2014 10:36:51 PM UTC-4:30, Omar Acevedo wrote:
>
> I have inside a file called .bashrc, 
> source /home/userName/.env/env/bin/active, 
> which makes me be in in a virtual environment already, no?
> It has a (env) to the left all the time.
> I presume that that is "activating virtualenv to run the server", right?
> On Sun, Mar 2, 2014 at 7:19 PM, Camilo Torres 
> 
> > wrote:
>
>> You also should be activating your virtualenv to run the server.
>>
>
No. You are running your commands in a virtualenv, but I don't know if you 
are running your server in a virtualenv. For server I mean the software 
that is serving your web application. You wrote in a previous message that 
you are using a  shared hosting service, that it means that the same web 
server is serving for every domain or account? You don't mention what 
server you are using, for example: apache, lighttpd, nginx. Does the server 
instance runs in the virtualenv? May be not.

Try to install your application and dependencies out of a virtualenv, 
server wide.

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/97e6134f-1ea7-4f44-8c68-4f6151e7dd6b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: create user define groups via interface

2014-03-03 Thread Camilo Torres
On Monday, March 3, 2014 11:52:13 AM UTC-4:30, django-newb wrote:
>
> I have build a simple site which is similar to a regular forum. I want to 
> create a functionality where any user of the system can create a group via 
> user interface. The functionality that I am thinking as follows: Interface 
> allow a user to enter group name and three email address. Then when group 
> get created system will email the invitation to those email address that 
> creator of the group entered to join the site and the group. I am not an 
> expert in django and it would be great if someone can point me towards 
> right direction on this. Also I would like to give group creator to remove 
> users from group.
>
Hello,

You must start from the beginning, with the overview of the framework, the 
tutorial, and the basic documentation. Please, start here:
https://docs.djangoproject.com/en/1.6/

Regards,
Camilo

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ebe3e4b0-dbec-4798-822d-1b09189687c0%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Trouble with Django in production server.

2014-03-03 Thread Omar Acevedo
No, the server itself it's not running in a virtualenv.
Yes, it is a shared hosting service which it's both domain and account.
And about the server, ... well, (idk), I'm using FastCGI, also, I followed
this tutorial first ->
https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/140 ,
then days later they posted this link (
https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/305/0/installing-django-using-virtualenv)
about using the virtualenv, so, it's like that.

Anyways, I noticed that inside the settings.py file, when I put a absolute
path in the NAME of the DATABASE, then it kinda worked.
"Kinda worked" in a sense that it actually let me go to the admin with no
problem, ... BUT, ... when I create an application with the startapp
command, and then create a model and then add it to the admin so I can see
the model inside the admin, THEN it shows this error message -> "Unhandled
Exception An unhandled exception was thrown by the application."

And yes, I do run the syncbd so the tables get created, but still nothing.
:(

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAH_X0gPOjAuJMDhKj12o-xUhKMBYcTVNhkxZ%3DHaayPrNfeFQ5g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Trouble with Django in production server.

2014-03-03 Thread Omar Acevedo
Also there's a file called .bashrc which activates the virtualenv.
This is the line that does that:
source /home/userName/.env/env/bin/activate
So it runs (the virtualenv) always.

Probably I'm still having problem because of the database file, ... but I
don't know that else to do! Where to put it!
Because I tried to do the SAME as I do Django but locally, which is, to
just name the name of the database file in the NAME option of the DATABASE
dictionary inside the settings file and it gets created when syncdb is run,
it gets created inside the django project I create with startproject.
So inside of /myDjangoProject/ (parent) which contains manage.py and the
folder myDjangoProject (child), where the settings.py is, then inside the
parent folder /myDjangoProject/ (parent) the database file named inside the
NAME of DATABASES dictionary it DOES gets created, and it works perfectly,
but when LOCAL.

Here on this Shared Hosting Server it doesn't work just like that.
I'm just struggling with that.

I did everything the tutorial on
https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/140 tells
me to do, and yes I do get the Welcome Page from Django, ... but besides
that, when I try to create even an app, it gives me an error.  The
Unhandled one even in Debug = True.

I can give more information so this issue can be better resolved.


On Mon, Mar 3, 2014 at 8:45 PM, Omar Acevedo  wrote:

> No, the server itself it's not running in a virtualenv.
> Yes, it is a shared hosting service which it's both domain and account.
> And about the server, ... well, (idk), I'm using FastCGI, also, I followed
> this tutorial first ->
> https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/140 ,
> then days later they posted this link (
> https://help.asmallorange.com/index.php?/Knowledgebase/Article/View/305/0/installing-django-using-virtualenv)
>  about using the virtualenv, so, it's like that.
>
> Anyways, I noticed that inside the settings.py file, when I put a absolute
> path in the NAME of the DATABASE, then it kinda worked.
> "Kinda worked" in a sense that it actually let me go to the admin with no
> problem, ... BUT, ... when I create an application with the startapp
> command, and then create a model and then add it to the admin so I can see
> the model inside the admin, THEN it shows this error message -> "Unhandled
> Exception An unhandled exception was thrown by the application."
>
> And yes, I do run the syncbd so the tables get created, but still nothing.
> :(
>

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAH_X0gNCwZp8GJCvX3ip6PpegS1bvduD4e-%3DkfwHSq9rQCDNmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


modification time in Python - Django

2014-03-03 Thread Jaap van Wingerde
views.py:
...
pwd = os.path.dirname(os.path.realpath(__file__ ))
home_lastmod =  
strftime('%Y-%m-%dT%H:%m:%SZ',gmtime(os.path.getmtime(pwd+'/templates/art_index.html')))
...

The template says: "2014-03-02T19:03:55Z".

...
jaap@liakoster:~$ python
Python 2.7.3 (default, Jan  2 2013, 13:56:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os, time
>>> from time import
>>> gmtime
>>> time.strftime('%Y-%m-%dT%H:%m:%SZ',gmtime(os.path.getmtime('/var/django/test2/art/templates/art_index.html')))
'2014-03-02T19:03:55Z'
>>> quit()
jaap@liakoster:~$ ls --full-time /var/django/test2/art/templates/art_index.html
-rwxrwx--- 1 lia www-data 2456 2014-03-02 19:16:55.568139590
+ /var/django/test2/art/templates/art_index.html
jaap@liakoster:~$
...

Bash gives the right modification time. What is wrong?

-- 

Jaap van Wingerde
e-mail: 1234567...@vanwingerde.nl

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20140302194930.6c75a15b%40jaap.custard.shrl.nl.
For more options, visit https://groups.google.com/groups/opt_out.


[ELI5] how to deploy django

2014-03-03 Thread Walter Wang
 I tried my best to follow the various guides out there, but the official 
documentation here 
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/modwsgi/ has 
different instructions than the instructions here, 
https://www.digitalocean.com/community/articles/using-mod_wsgi-to-serve-applications-on-ubuntu-12-04
 


I have been at this for over a week now, and I can't figure out how to 
deploy django with mod_wsgi and apache on a linux web server. 

Can someone give or point to me a step to step instruction on how to deploy 
django?

Specifically,
1. what do I do with the httpd.conf file? 
2. wsgi file? what's the difference between "making a wsgi file" and a 
wsgi.py file? For example


"wsgi file"

import os
import sys  
sys.path.append('~/public_html/domain1.com/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'MyTestProject.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()



"wsgi.py"

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mywebsite.settings")

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

Thank you for any help. 

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/54c378a2-4212-4e7f-b5bb-2c816ed7655a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [ELI5] how to deploy django

2014-03-03 Thread Sam Lai
On 4 March 2014 14:36, Walter Wang  wrote:
>  I tried my best to follow the various guides out there, but the official
> documentation here
> https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/modwsgi/ has
> different instructions than the instructions here,
> https://www.digitalocean.com/community/articles/using-mod_wsgi-to-serve-applications-on-ubuntu-12-04

Follow the digitalocean instructions. The official Django
documentation assumes you are across Apache and how mod_wsgi works in
general, and therefore doesn't give step-by-step instructions.

> I have been at this for over a week now, and I can't figure out how to
> deploy django with mod_wsgi and apache on a linux web server.
>
> Can someone give or point to me a step to step instruction on how to deploy
> django?
>
> Specifically,
> 1. what do I do with the httpd.conf file?

Follow the digitalocean instructions and don't touch this file (for
reference, it is referring to /etc/apache2/httpd.conf).

> 2. wsgi file? what's the difference between "making a wsgi file" and a
> wsgi.py file?

They're the same thing. mod_wsgi doesn't care what the extension is.
The content in your two examples is slightly different as one was
written for an older version of Django.

If you're still stuck, you'll need to provide more details like -
Linux distribution and version, Django version, Apache version, path
to project, virtual host file contents, the output when you use the
'wget' command to visit the website, and also anything in the Apache
log files.

-- 
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 django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABxbXqWpyg2NcEMa76b8OGjrVXu8wSY3%3DU0gsK9KOJhJ3rfBQw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.