Hi everybody, I'm new to django and mezzanine.
I'm doing a project base on this website: http://itrc.hanu.vn and my
teacher required that the website must allow user to post new aticle from a
front-end site. i try to use form of quick blog which include in tempalte
but it didn't work.
can
Thank you so much!
Can I ask you some other questions?
in the code below, what form id quick-blog-form come from?
When I include form in admin\includes\quick_blog.html, it didn't appear in
the web site as the picture in the first post. Did i miss something?
div class=module
h2{% trans Quick
Now I'm having this issue and I can't find an answer that points me
somewhere:
AttributeError at /
'int' object has no attribute 'set_helpers'
Request Method: GET
Request URL:http://localhost:8000/
Django Version: 1.6.10
Exception Type:
Thank Josh, I will try.
On Tuesday, March 31, 2015 at 8:55:37 PM UTC+7, Josh Cartmell wrote:
I would make a ModelForm
https://docs.djangoproject.com/en/1.7/topics/forms/modelforms/#modelform
of the BlogPost model and then render it somewhere on the front end
On Tue, Mar 31, 2015 at 5:00
Hello,
I'm tryin to integrate Mezzanine to GeoNode. I added all I needed in
settings.py but this error appears:
CommandError: One or more models did not validate:
agon_ratings.rating: Accessor for field 'content_type' clashes with related
field 'ContentType.rating_set'. Add a related_name
Perhaps the top answer here can help?
http://stackoverflow.com/questions/2606194/django-error-message-add-a-related-name-argument-to-the-definition
On 1 April 2015 at 12:27, Melvin Ramos melvin.ramos1...@gmail.com wrote:
Hello,
I'm tryin to integrate Mezzanine to GeoNode. I added all I needed
Yea, it did! Thanks I'm so burned right now I missed that answer
El martes, 31 de marzo de 2015, 19:00:29 (UTC-4:30), Graham Oliver escribió:
Perhaps the top answer here can help?
http://stackoverflow.com/questions/2606194/django-error-message-add-a-related-name-argument-to-the-definition
Hi Bhn,
All you have to do is to create a form which uses the blog model like this:
class PostForm(forms.ModelForm):
class Meta:
model = BlogPost
Make sure you use either fields or exclude to only render the fields
you need.
Then you need a view which will process the form. A