I decided to go with webfraction based on your recommendation. I just
setup my account and will let you know how it goes. Thanks. :)
On Tue, Mar 13, 2012 at 11:27 AM, NENAD CIKIC wrote:
> OK, thanks.
>
> On 13 ožu, 16:11, Bill Freeman wrote:
>> I'm not sure that "django hosting" nails anything
I'm having an issue with my email template for the password_reset
view. For some reason I keep getting the following instead of my
template text:
You're receiving this e-mail because you requested a password reset
for your user account at example.com.
Please go to the following page and choose a
ption Location:
/Library/Python/2.6/site-packages/django/core/urlresolvers.py
in _get_callback, line 170
Python Executable: /usr/bin/python
Python Version: 2.6.1
On Sun, Mar 11, 2012 at 12:01 PM, Scott Macri wrote:
> Django version is 1.3.1 final.
>
> If I call /accounts/passwo
"Could not import %s.%s. View is not callable." %
> "Could not import %s. View does not exist in module %s." %
> "Could not import %s. Parent module %s does not exist." %
>
> Alan
>
>
> On Saturday, March 10, 2012 6:56:30 PM UTC-5, hack wrote:
>&g
Strange. The same issue occurs with the password_reset view as well.
On Sat, Mar 10, 2012 at 5:05 PM, Scott Macri wrote:
> That's exactly what I was thinking. So I changed
> 'django.contrib.auth.views.change_password' to
> 'django.contrib.auth.views.bullfrog
2 PM, Bill Freeman wrote:
> I would expect ViewDoesNotExist to not be sensitive to the template. It
> sounds like the urlconf is specifying a view function that does not exist
> (at least in the way and in the place that it is specified).
>
> On Sat, Mar 10, 2012 at 3:07 PM, Scott
Even explicitly setting the template name causes a ViewDoesNotExist
error to occur.
url(r'^accounts/password/change/$',
'django.contrib.auth.views.password_change',{'template_name':'registration/password_change_form.html',}),
Anyone have any ideas? Thanks
Being new to django I am having trouble getting the built in views to
work. After several hours I finally got the login/logout views to
work, now I am not able to get the profile, or any other built in
views working. I am attempting to configure the change_password view.
I have a custom urls.py
Finally got it working. The issue was due to the url for the form
method within the example template on the django site. I removed that
and everything works great now. Thanks.
On Fri, Mar 9, 2012 at 9:29 AM, Tom Evans wrote:
> On Fri, Mar 9, 2012 at 2:11 PM, Scott Macri wrote:
>>
thon Executable: /usr/bin/python
Python Version: 2.6.1
On Fri, Mar 9, 2012 at 9:02 AM, Scott Macri wrote:
> Unfortunately changing that breaks my entire app so none of my views
> work anymore.
>
> On Thu, Mar 8, 2012 at 11:34 PM, vikalp sahni wrote:
>> Hi,
>>
>> Here
part of
> that pattern.
>
> https://docs.djangoproject.com/en/dev/topics/http/urls/#the-view-prefix
>
> Hope this helped.
>
>
> Regards,
> //Vikalp
>
> On Fri, Mar 9, 2012 at 7:23 AM, Scott Macri wrote:
>>
>> How am I supposed to configure access to the buil
I switched to make sure it wasn't the database.
On Thu, Mar 8, 2012 at 5:49 PM, Dennis Lee Bieber wrote:
> On Thu, 8 Mar 2012 13:59:02 -0500, Scott Macri
> declaimed the following in gmane.comp.python.django.user:
>
>
>> The strange thing is if I manually update the
How am I supposed to configure access to the built in django login and
password forms after changing my urls.py settings?
I've setup the main project urls.py file like so:
url(r'^myapp/',include('myapp.urls')),
I now have a urls.py file under myapp/urls.py setup similar to the following:
urlpatter
something like, 'I love my veggies', everything
seems to work fine.
On Thu, Mar 8, 2012 at 1:59 PM, Scott Macri wrote:
> OK, I ran the debugger and here is what I came up with:
>
> -> print "CHECK MESSAGE :"
> (Pdb) repr(email_message)
> "u'test1'
mmand prompt the email then works. This
is a very strange issue.
On Thu, Mar 8, 2012 at 1:25 PM, Scott Macri wrote:
> Nope, I guess that only fixed it for a minute.
>
> On Thu, Mar 8, 2012 at 1:21 PM, Scott Macri wrote:
>> I'm very new to python and django. Thanks for the tip.
Nope, I guess that only fixed it for a minute.
On Thu, Mar 8, 2012 at 1:21 PM, Scott Macri wrote:
> I'm very new to python and django. Thanks for the tip. I was trying
> to figure out how to set break points.
>
> I figured out what the problem was.
>
> In views.py I wa
n Thu, Mar 8, 2012 at 12:47 PM, Tom Evans wrote:
> On Thu, Mar 8, 2012 at 4:58 PM, Scott Macri wrote:
>> I've come to the conclusion that send_mail and send_mass_mail cannot
>> be used with sqlite due to a but with the message text.
>>
>> Attempting to pull a string
012 at 10:49 PM, Scott Macri wrote:
> UGH, I guess that wasn't the issue. Its back again. I don't know
> what the deal is.
>
> On Wed, Mar 7, 2012 at 9:29 PM, Scott Macri wrote:
>> I just figured this one out:
>>
>> Basically in the view I had the following
UGH, I guess that wasn't the issue. Its back again. I don't know
what the deal is.
On Wed, Mar 7, 2012 at 9:29 PM, Scott Macri wrote:
> I just figured this one out:
>
> Basically in the view I had the following just before calling the save
> method on the database:
&
is that the data was actually being stored in the
correct field in the database, and was coming out correctly, but
something went haywire when I tried to wrap it in a message.
On Wed, Mar 7, 2012 at 9:13 PM, Scott Macri wrote:
> This one never sends the message:
>
> print object.e
data from the database it
> works fine.
>
> On Wed, Mar 7, 2012 at 8:51 PM, Scott Macri wrote:
>> I'm having a strange issue with send_mail. I created a py script with
>> a function to call send_mail. If I call the method via IDLE it works
>> great. If I call the
.CharField(max_length = 750,blank=True)
I then do the following call message = object.email_message and pass
it to the send_mail function. For some reason the message never gets
sent. If I do the call without getting the data from the database it
works fine.
On Wed, Mar 7, 2012 at 8:51 PM, Scott Ma
I'm having a strange issue with send_mail. I created a py script with
a function to call send_mail. If I call the method via IDLE it works
great. If I call the method with the exact same way with the exact
same data via another script the message never gets sent. The strange
thing is that an er
Got this resolved. The issue was that I needed to close my idle
session and reopen it after changing my settings.
On Tue, Mar 6, 2012 at 4:05 PM, Scott Macri wrote:
> Here is my telnet response:
>
> Trying 74.125.45.109...
> Connected to gmail-smtp-msa.l.google.com.
> Esca
the django app. Thus,
I know it's not a port conflict.
On Tue, Mar 6, 2012 at 1:09 PM, Tom Evans wrote:
> On Tue, Mar 6, 2012 at 5:28 PM, Scott Macri wrote:
>> I'm attempting to send a message from my django app via gmail and keep
>> getting a connection refused error
I'm attempting to send a message from my django app via gmail and keep
getting a connection refused error even though I know the parameters
are correct.
settings.py
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = '587'
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'myu...@gmail.com'
EMAIL_HOST_PASSWORD = 'pas
er one form up to the attribute of the form .
>
> 2012/3/3 Scott Macri
>>
>> OK, I'm experimenting with time. To be specific datetime.time. My
>> goal is to generate a list of times in a pull down menu so when the
>> user saves the form it populates the db with
OK, I'm experimenting with time. To be specific datetime.time. My
goal is to generate a list of times in a pull down menu so when the
user saves the form it populates the db with the proper type.
In order to use a model with choices, which is what I've done, I have
to do something like this:
TI
Awsome, cron it is! Thanks. :)
On Fri, Mar 2, 2012 at 11:48 PM, Russell Keith-Magee
wrote:
>
> On 03/03/2012, at 4:10 AM, Scott Macri wrote:
>
>> I'm trying to figure out the best way to create an automated in a
>> python/django web application. My intention is to s
Sorry, that should read "create an automated process".
On Fri, Mar 2, 2012 at 3:10 PM, Scott Macri wrote:
> I'm trying to figure out the best way to create an automated in a
> python/django web application. My intention is to send an email
> message in the future based
I'm trying to figure out the best way to create an automated in a
python/django web application. My intention is to send an email
message in the future based on the given future date/time. What is
the best approach to do this?
I was thinking of creating a cron job and a python script, but I woul
Disregard this post. The issue was garbage urls I forgot to delete
from the url.py file.
On Sun, Feb 26, 2012 at 12:30 AM, scott macri wrote:
> I'm having an issue getting my admin module to work. I am getting the
> following error. Any thoughts? Thanks.
>
> TemplateSyntaxEr
I'm having an issue getting my admin module to work. I am getting the
following error. Any thoughts? Thanks.
TemplateSyntaxError at /hcp/admin/
Caught ViewDoesNotExist while rendering: Tried get_notes_health in
module hcp.views. Error was: 'module' object has no attribute
'get_notes_health'
R
that later tonight.
>
> Furbee
>
>
> On Thu, Feb 16, 2012 at 2:04 PM, Dennis Lee Bieber
> wrote:
>>
>> On Thu, 16 Feb 2012 13:41:32 -0500, Scott Macri
>> wrote:
>>
>> >I don't believe I have any circular imports in my code. I have a
>> &
_date =
datetime.date(int(some_date[0:4]),int(some_date[5:7]),int(some_date[8:10]))
As soon as the code gets to the line containing start_date it fails.
On Thu, Feb 16, 2012 at 11:38 AM, DrBloodmoney wrote:
> On Thu, Feb 16, 2012 at 9:20 AM, Scott Macri wrote:
>> DrBloodmoney I not sure what you me
DrBloodmoney I not sure what you mean by circular imports. datetime
is the only import I have in this file.
Yes Furbeenator it is a 'datetime' is not defined error.
I'll post the entire error message tonight when I get home.
My website directory is mn and my app directory is hcp. I'm trying to
Oh, the other thing is that if I run the exact same code in my idle
shell within the hcp app all the imports work fine.
On Thu, Feb 16, 2012 at 9:20 AM, Scott Macri wrote:
> DrBloodmoney I not sure what you mean by circular imports. datetime
> is the only import I have in this file.
&
DrBloodmoney I not sure what you mean by circular imports. datetime
is the only import I have in this file.
Yes Furbeenator it is a 'datetime' is not defined error.
I'll post the entire error message tonight when I get home.
My website directory is mn and my app directory is hcp. I'm trying to
38 matches
Mail list logo