On 01/08/15 22:56, Uri Even-Chen wrote:
> I'm interested in creating a new webmail platform based on Python and
> Django (with jQuery and JavaScript), which will be free software & open
> source - Speedy Mail Software. I created a project called Speedy Mail
> Software <https://sourceforge.net/projects/speedy-mail-software/> on
> sourceforge, and I'm looking for people who will participate in writing
> code for this project. I renamed the project to Speedy Mail Software
> because Speedy Mail will be the webmail itself, based on Speedy Mail
> Software but with a domain and a mail server(s), so people will able to
> create an account there and use the mail services of the website. I'm
> also trying to convince computer science students from the college I
> graduated (The academic college of Tel Aviv - Yaffo) to participate in
> this project.
Well, there are lots of webmail systems out there today, from classical
ones like SqurrelMail and Horde to more modern ones like RoundCube.
One possibility that might be interesting to explore, and could perhaps
make a JavaScript front-end easier to develop would be to expose the
email via a WebDAV-based interface, much as we have CalDAV and CardDAV
for calendaring and contacts, you'd have "MailDAV" which would
facilitate IMAP-like functionality over WebDAV.
I think a similar scheme is used with Outlook Web Access, although you
probably want to avoid the insanity that is MAPI, the email should be
stored in the form it was received. I've seen what happens when mail
systems try to be "clever": Zarafa is one such system and it's a hideous
mess.
> I also have another idea - I want to create a Python Web Toolkit, which
> will be similar to Google Web Toolkit - people will write code in
> Python, and it will run on the server side, and on the client side with
> JavaScript (it will compile Python code to JavaScript, like Google Web
> Toolkit from Java to JavaScript).
That sounds an awful lot like the Pyjamas (now called PyJS) framework.
http://pyjs.org/
--
Stuart Longland (aka Redhatter, VK4MSL)
I haven't lost my mind...
...it's backed up on a tape somewhere.
--
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+unsubscribe@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/55BDD4E3.7060801%40longlandclan.yi.org.
For more options, visit https://groups.google.com/d/optout.
Sunday, August 2, 2015
Newbie
Hi, matthew here.
-- I just started reading about django. hope to learn from this group as well.
Thanks
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+unsubscribe@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/04d882f2-3b5b-4275-8f1a-4eacd375a435%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Re: Newbie: Saving User and UserProfle from same template
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 <findsarfaraz@gmail.com> wrote:
Changed the edit_user to following. it works fine except... newly added field date_of_birth does not load data.Please take a look at link below------------------------------------------------------------------------------------------------------------Regards,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 hellp this is code for edit_user view, model for user profile and model forms code-----------------------------------------------------------------------------------------------class UserProfile(models.Model):user = models.OneToOneField(User)activation_key = models.CharField(max_length=40,blank=True)sex = models.CharField(max_length=6, choices=(('male', 'Male'),('female', 'Female'),))key_expires = models.DateTimeField(default=datetime.date.today())def __str__(self):return self.user.usernameclass Meta:verbose_name_plural=u'User profiles'-----------------------------------------------------------------------------------------------class UserProfileForm(forms.ModelForm):class Meta:model=Userfields =('first_name','last_name')class UserProfileForm1(forms.ModelForm):class Meta:model=UserProfilefields=('sex',)----------------------------------------------------------------------------------------------def edit_user(request):args={}if request.method=="POST":form=UserProfileForm(request.POST, instance=request.user)if form.is_valid():form.save()form1=UserProfileForm1(request.POST, instance=request.user)if form1.is_valid():form1.save()UserProfile.save()return HttpResponseRedirect('/useraccount/edit_user')else:form=UserProfileForm()form1=UserProfileForm1()args['form']=formargs['form1']=form1return render(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 helpRegards,Sarfaraz AhmedTo view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ded7528b-5ca4-46bb-b222-7039892c23b5%40googlegroups.com.--
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+unsubscribe@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.
Thanks with regards,
Sarfaraz Ahmed
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+unsubscribe@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/CAEPJdiwOFX1aZfuhEiEs4yBrKurkG2k4%2BkT7OTg3Z0b4wzEQGA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Saturday, August 1, 2015
Re: Newbie: Saving User and UserProfle from same template
Changed the edit_user to following. it works fine except... newly added field date_of_birth does not load data.
-- Please take a look at link below
http://pastebin.com/nXpiLMJp
------------------------------------------------------------------------------------------------------------
Regards,
Sarfaraz Ahmed
On Sunday, 2 August 2015 01:28:37 UTC+5:30, sarfaraz ahmed wrote:
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 hellp this is code for edit_user view, model for user profile and model forms code------------------------------------------------------------ ------------------------------ ----- class UserProfile(models.Model):user = models.OneToOneField(User)activation_key = models.CharField(max_length=40,blank=True) sex = models.CharField(max_length=6, choices=(('male', 'Male'),('female', 'Female'),))key_expires = models.DateTimeField(default=datetime.date.today()) def __str__(self):return self.user.usernameclass Meta:verbose_name_plural=u'User profiles'------------------------------------------------------------ ------------------------------ ----- class UserProfileForm(forms.ModelForm): class Meta:model=Userfields =('first_name','last_name')class UserProfileForm1(forms.ModelForm): class Meta:model=UserProfilefields=('sex',)------------------------------------------------------------ ------------------------------ ---- def edit_user(request):args={}if request.method=="POST":form=UserProfileForm(request.POST, instance=request.user) if form.is_valid():form.save()form1=UserProfileForm1(request.POST, instance=request.user) if form1.is_valid():form1.save()UserProfile.save()return HttpResponseRedirect('/useraccount/edit_user') else:form=UserProfileForm()form1=UserProfileForm1()args['form']=formargs['form1']=form1return render(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 helpRegards,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+unsubscribe@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/ded7528b-5ca4-46bb-b222-7039892c23b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Question about squashing django migrations
Hi everyone,
Can someone please explain the implications of this note about squashing migrations in the documentation?
From: https://docs.djangoproject.com/en/1.7/topics/migrations/
Is there a transition command to convert a squashed migration into a normal migration, or how should I go about this?
Here is my current migration situation:
Migrations:
What are your recommendations in a case like this?
Thanks!
Richard Brockie
-- Can someone please explain the implications of this note about squashing migrations in the documentation?
From: https://docs.djangoproject.com/en/1.7/topics/migrations/
"Once you've squashed a migration, you should not then re-squash that squashed migration until you have fully transitioned it to a normal migration."
Is there a transition command to convert a squashed migration into a normal migration, or how should I go about this?
Here is my current migration situation:
Migrations:
- 0001_initial.py
- ...
- 0052_auto_20150711_1407.py
- 0001_squashed_0052_auto_20150711_1407.py
- 0002_auto_20150731_0651.py
- 0003_auto_20150731_0659.py
What are your recommendations in a case like this?
Thanks!
Richard Brockie
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+unsubscribe@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/36250ba9-e077-48c9-b92c-6ca45f983400%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Re: Speedy Mail Software
my first contribution is: don't use sourceforge, use anything else
On Sat, Aug 1, 2015 at 4:20 PM, Abdulhakim Haliru <hakimkal@gmail.com> wrote:
Interesting. I have once contemplated building a webmail software that reads emails so customers don't lose emails upon switching webhosts. Hence, your Speedy Mail Software interests me. I'd love to be a part of the team.
Great idea it's.
Regards.
Abdulhakim
--
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+unsubscribe@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/1eb6823e-387d-4731-9e98-9550dc55300c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@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/CAFWa6tLmVap2amAep5wdwXDOh%2BF6vV%2Bck_9NGX%3Dj%2BBH4TedQoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Newbie: Saving User and UserProfle from same template
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 hellp this is code for edit_user view, model for user profile and model forms code
-----------------------------------------------------------------------------------------------
class UserProfile(models.Model):
user = models.OneToOneField(User)
activation_key = models.CharField(max_length=40,blank=True)
sex = models.CharField(max_length=6, choices=(
('male', 'Male'),
('female', 'Female'),))
key_expires = models.DateTimeField(default=datetime.date.today())
def __str__(self):
return self.user.username
class Meta:
verbose_name_plural=u'User profiles'
-----------------------------------------------------------------------------------------------
class UserProfileForm(forms.ModelForm):
class Meta:
model=User
fields =('first_name','last_name')
class UserProfileForm1(forms.ModelForm):
class Meta:
model=UserProfile
fields=('sex',)
----------------------------------------------------------------------------------------------
def edit_user(request):
args={}
if request.method=="POST":
form=UserProfileForm(request.POST, instance=request.user)
if form.is_valid():
form.save()
form1=UserProfileForm1(request.POST, instance=request.user)
if form1.is_valid():
form1.save()
UserProfile.save()
return HttpResponseRedirect('/useraccount/edit_user')
else:
form=UserProfileForm()
form1=UserProfileForm1()
args['form']=form
args['form1']=form1
return render(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 this group and stop receiving emails from it, send an email to django-users+unsubscribe@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/74aaaff7-eec5-4564-a6e3-36c325b8e859%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Posts (Atom)