After making some changes debugging in the shell revealed, I have gotten it
to work, thanks!!!
On Sunday, June 24, 2012 9:13:32 PM UTC-4, Russell Keith-Magee wrote:
>
> On Mon, Jun 25, 2012 at 8:40 AM, Matthew Meyer
>
I didn't think to check the shell! It is definitely issue 2.
I was able to output:
>>> for tag in post.posttag_set.all(): tag.get_absolute_url()
...
'/blog/footag/'
which is exactly what I expect. (I have one post with the tag "footag")
post = get_object_or_404(Post, tag='footag') returns
I didn't think to check the shell! It is definitely issue 2.
I was able to output:
>>> for tag in post.posttag_set.all(): tag.get_absolute_url()
...
'/blog/footag/'
which is exactly what I expect. (I have one post with the tag "footag")
post = get_object_or_404(Post, tag='footag') returns
On Mon, Jun 25, 2012 at 8:40 AM, Matthew Meyer
wrote:
> Hi all, Django newbie here,
>
> I have a simple blog app I am working on and am trying to figure out the
> best way to create a permalink for tags that I have added for blog posts.
> Basically, my models.py
Actually, I was PHP developer, I use codeigniter as framework. In
codeigniter, we can call helper url functions base_url() and it will return
absolute domain url such:
http://example.com
or
https://example.com
It is automatically, we even don't need to create custom function, because
+1 virtualenv, and virtualenvwrapper
On Jun 25, 2012 2:06 AM, "Lachlan Musicman" wrote:
> Thomas, If you've ever wanted to know why vitualenv is a good idea -
> here's a great reason. Since it compartmentalises everything -
> packages the whole deal, you can just create a new
Thomas, If you've ever wanted to know why vitualenv is a good idea -
here's a great reason. Since it compartmentalises everything -
packages the whole deal, you can just create a new virtualenv and
start developing.
http://www.arthurkoziel.com/2008/10/22/working-virtualenv/
Cheers
L.
On Sun,
On Tue, Jun 5, 2012 at 9:18 AM, Bill Freeman wrote:
> I have been noticing in recent Django versions (I don't remember it in
> 1.2, probably) that having run the development server, the tty's echo
> flag is set afterwards, no matter its value before. (I frequently run
> from
To answer my own question, if you did it through the package manager try
sudo apt-get purge python-django on the command line
if from tar.gz package, on the command line change directory to
/usr/local/lib/python(your version)/dist-packages/ and delete django files
there using sudo rm django -rf
How did you install it? Did you do it through apt-get or did you install it
through a downloaded tar.gz package from the Django website?
On Jun 25, 2012 12:31 AM, "thomasgrzybow...@gmail.com" <
thomasgrzybow...@gmail.com> wrote:
> I need to uninstall django (on ubuntu) so as to do a clean
Thanks, Kurtis. More googling brought me the answer, found here:
http://level09.com/54/tip-how-to-fix-django-locale-problem-on-mac-osx-10-7
The solution is to explicitly export LANG and a bunch of LC_* local
variables in ~/.bashrc. This may be a workaround, but it's good enough for
me.
On Friday, June 22, 2012 3:46:42 PM UTC-4, Bill Torcaso wrote:
>
>
> Hi,
> I'm working through the tutorail. Part 1 was fine, and part 2 shows me
> the site with the light blue background. I proceed to make my first app,
> 'djangotest'.
>
>1. I run django-admin.py and get a project
>
I need to uninstall django (on ubuntu) so as to do a clean installation.
Anybody have a procedure for removing django cleanly?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
Hey Bastian,
For the privacy portion, you'll need to create your own Form based on the
Userena's user-editing form and just exclude that field.
As for the terms of service -- I'm not sure off of the bat. I could
possibly take a look in the next few days if nobody jumps in with an
answer. You
Hi,
I just installed Userena and it works fine. I would like to use the signup
form where the button for the terms of service appear but I can't find how.
And also when editing a user profile, there is a field called privacy, it
does not really make sense in my case so I set it up to default
well, it may be hard to find if you require their presence otherwise
you will find many great developers who are looking for remote full/
part time work.
On Jun 24, 11:35 pm, "Bob Carlson" wrote:
> I have been planning to implement my backend server in Django/Python but I am
Hey Mike,
Make sure that you include this within your block: {% csrf_token %}
Then, check the source code of that page to make sure the CSRF token tag was included.
Finally, using a Javascript debugger (such as Firebug) check to make sure
that your request sent, when clicking the "submit"
Hello Bob,
I think its easier to find a RR developer than a django developer
(definitely in my region / and I think this is international)
In terms of costs both should be quite similar - Experience will set the
rate.
Regards,
--
Raphael
http://develissimo.com
On Sun, 2012-06-24 at 13:35
I have been planning to implement my backend server in Django/Python but I am
still in the early phases. I thought I ought to look into Ruby on Rails as well.
The technical articles comparing them come out pretty even. It appears that
there is perhaps three times as much RR activity out there as
On Thu, Jun 21, 2012 at 9:37 PM, LJ wrote:
> I started out learning Django using the "Writing your first Django app"
> article:
> https://docs.djangoproject.com/en/dev/intro/tutorial01/
> This is a very well-written tutorial that goes through each part in detail.
> Please
DISTINCT ON fields is not supported by this database backend
What more is there to say? Either stop using the distinct method, or
switch to another database backend.
On Sun, Jun 24, 2012 at 11:24 AM, upmauro wrote:
> Please help,
>
> http://dpaste.com/762942/
>
> Thanks
Please help,
http://dpaste.com/762942/
Thanks alot !
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/v5qIbmtR5ZwJ.
To post to this group, send email to
Are there any forum packages not listed at
>
> http://www.djangopackages.com/grids/g/forums/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
Have a look at a Bulk SMS Gatway from txtNation - SMS Gateway.
See the SMPP API on-line at:
http://wiki.txtnation.com/wiki/SMPP_Bulk
and their info on http://gateway.txtnation.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this
Hi all,
The generic comment moderation worked as expected in my application while
using the default comment model. Moderation stopped setting ``is_public``
to ``0`` when I customized the build-in comment app by adding a title field
as the dev doc said.
Here is the code.
models.py
class
Hi,
username field in django.contrib.auth.User model is unique.
Probably, the username you are trying to save already exists.
In your view, you might want to check,
try:
username = User.objects.get(username=form.cleaned_data['username'])
except ObjectDoesNotExist:
#create user new
Django 1.2.3
For a restaurant i want to make a form, were the user can add their
address, and their order. The order part is dynamic (users can add
extra fields). I used jquery.formset for this.
To accomplish this i have an address form and a dishes formset:
class Address(models.Model):
Hi Mike,
Please provide some code examples, a traceback snippet and a bit more info.
Here are some great tips on how to do this:
https://code.djangoproject.com/wiki/UsingTheMailingList
Without this information, others on the list may find it much more
difficult to help you.
Cal
On Sun, Jun
Hi,
I am using this application, I am able to render the widget but when I
am clicking save (tinymce button or html button) the POST form is sent
but without the content of the textarea. Any one have some experience
about it?
My config js is attached and the html rendered code is as
I saw that lots will change in formwizard in future releases of
Django, and i could not get this working. Therefore i switched to
Jquery formwizard http://thecodemine.org/ This plugin makes it
possible to show parts of forms on different pages (and do some server
side validation when switching
Thank you Nikolas. Works perfect :)
On Wednesday, June 20, 2012 11:21:28 PM UTC+1, Nikolas Stevenson-Molnar
wrote:
>
> First, order by date in your query:
>
> events = Event.objects.order_by('date')
>
> Then in your template, use the ifchanged tag (
>
I realized that I was heading down the wrong track with my previous message
to this mailing list so I studied the problem some more. Now I am trying
to send a POST request to a view and it gets rejected with a 403 error.
when I disable the csrf requirement using the @csrf_exempt decorator,
we do work with DjangoBB http://djangobb.org/ and it performce well.
You can see the forum at: http://develissimo.com/forum/
Bug talk: http://support.djangobb.org/
It is quite bug-free.
Regards,
--
Raphael
http://develissimo.com
On Sat, 2012-06-23 at 22:05 -0700, brycenesbitt wrote:
>
33 matches
Mail list logo